⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jcoattributes.html

📁 jco book to connect java with SAP
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DD>Retrieves the user ID field from the connection attributes, the name of the user the connection is associated with.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>SAP user ID</DL>
</DD>
</DL>
<HR>

<A NAME="getLanguage()"><!-- --></A><H3>
getLanguage</H3>
<PRE>
java.lang.String <B>getLanguage</B>()</PRE>
<DL>
<DD>Retrieves the logon language field of the connection attributes and returns it as a one-byte character string.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Single character logon language, e.g. "E","D".</DL>
</DD>
</DL>
<HR>

<A NAME="getISOLanguage()"><!-- --></A><H3>
getISOLanguage</H3>
<PRE>
java.lang.String <B>getISOLanguage</B>()</PRE>
<DL>
<DD>Retrieves the logon language field of the connection attributes and returns it as a two-byte character string.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>2-byte ISO language, e.g. "EN", "DE".</DL>
</DD>
</DL>
<HR>

<A NAME="getOwnCodepage()"><!-- --></A><H3>
getOwnCodepage</H3>
<PRE>
java.lang.String <B>getOwnCodepage</B>()</PRE>
<DL>
<DD>Retrieves the local codepage in SAP notation.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the local SAP code page (e.g. 1100, 8400, etc.)</DL>
</DD>
</DL>
<HR>

<A NAME="getOwnCharset()"><!-- --></A><H3>
getOwnCharset</H3>
<PRE>
java.lang.String <B>getOwnCharset</B>()</PRE>
<DL>
<DD>Retrieves the Java charset equivalent of the local SAP codepage.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the charset used by the local machine (e.g. ISO8859_1, KSC5601, etc.)</DL>
</DD>
</DL>
<HR>

<A NAME="getOwnEncoding()"><!-- --></A><H3>
getOwnEncoding</H3>
<PRE>
java.lang.String <B>getOwnEncoding</B>()</PRE>
<DL>
<DD>Retrieves the MIME encoding equivalent of the local SAP codepage.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the MIME encoding used by the local machine (e.g. ISO-8856-1)</DL>
</DD>
</DL>
<HR>

<A NAME="getOwnBytesPerChar()"><!-- --></A><H3>
getOwnBytesPerChar</H3>
<PRE>
int <B>getOwnBytesPerChar</B>()</PRE>
<DL>
<DD>Returns the number of bytes per character for the currently used local codepage.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the no. of bytes per character of the current codepage<DT><B>Since:</B></DT>
  <DD>JCo 3.0.2, 7.20</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getPartnerCodepage()"><!-- --></A><H3>
getPartnerCodepage</H3>
<PRE>
java.lang.String <B>getPartnerCodepage</B>()</PRE>
<DL>
<DD>Retrieves the codepage used by the remote system in SAP notation.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the remote SAP code page (e.g. 1100, 8400, etc.)</DL>
</DD>
</DL>
<HR>

<A NAME="getPartnerCharset()"><!-- --></A><H3>
getPartnerCharset</H3>
<PRE>
java.lang.String <B>getPartnerCharset</B>()</PRE>
<DL>
<DD>Retrieves the Java charset equivalent of the codepage used by the remote system.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the charset used by the remote host (e.g. ISO8859_1, KSC5601, etc.)</DL>
</DD>
</DL>
<HR>

<A NAME="getPartnerEncoding()"><!-- --></A><H3>
getPartnerEncoding</H3>
<PRE>
java.lang.String <B>getPartnerEncoding</B>()</PRE>
<DL>
<DD>Retrieves the MIME encoding equivalent of the remote SAP codepage.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the MIME encoding used by the remote host (e.g. ISO-8856-1)</DL>
</DD>
</DL>
<HR>

<A NAME="getPartnerBytesPerChar()"><!-- --></A><H3>
getPartnerBytesPerChar</H3>
<PRE>
int <B>getPartnerBytesPerChar</B>()</PRE>
<DL>
<DD>Returns the number of bytes per character for the currently used remote codepage.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the no. of bytes per character of the remote codepage<DT><B>Since:</B></DT>
  <DD>JCo 3.0.2, 7.20</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRelease()"><!-- --></A><H3>
getRelease</H3>
<PRE>
java.lang.String <B>getRelease</B>()</PRE>
<DL>
<DD>Retrieves the release of the local SAP system or transport library
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Local SAP system release</DL>
</DD>
</DL>
<HR>

<A NAME="getPartnerRelease()"><!-- --></A><H3>
getPartnerRelease</H3>
<PRE>
java.lang.String <B>getPartnerRelease</B>()</PRE>
<DL>
<DD>Retrieves the release of the remote SAP system
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Remote SAP system release</DL>
</DD>
</DL>
<HR>

<A NAME="getKernelRelease()"><!-- --></A><H3>
getKernelRelease</H3>
<PRE>
java.lang.String <B>getKernelRelease</B>()</PRE>
<DL>
<DD>Retrieves the release of the remote SAP system's kernel
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Remote system kernel release</DL>
</DD>
</DL>
<HR>

<A NAME="getPartnerType()"><!-- --></A><H3>
getPartnerType</H3>
<PRE>
char <B>getPartnerType</B>()</PRE>
<DL>
<DD>Retrieves the type which specifies the partner of the communication. <p>Valid partner types are: <table border=1> <tr><th>Value</th><th>Description </th></tr> <tr><td>'2'  </td><td>R/2         </td></tr> <tr><td>'3'  </td><td>R/3         </td></tr> <tr><td>'E'  </td><td>External Program </td></tr> <tr><td>'R'  </td><td>Registered external program</td></tr> <tr><td>'F'  </td><td>Shared memory pipe</td></tr> </table>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Remote partner type</DL>
</DD>
</DL>
<HR>

<A NAME="getTrace()"><!-- --></A><H3>
getTrace</H3>
<PRE>
boolean <B>getTrace</B>()</PRE>
<DL>
<DD>Retrieves the <tt>trace</tt> field of the attributes
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><tt>true</tt> if trace is enabled, <tt>false</tt> otherwise</DL>
</DD>
</DL>
<HR>

<A NAME="getRfcRole()"><!-- --></A><H3>
getRfcRole</H3>
<PRE>
char <B>getRfcRole</B>()</PRE>
<DL>
<DD>Retrieves the <tt>rfc_role</tt> field which describes the role of the connection. Valid role values are:<p> <table border=1> <tr><th>Value</th><th>Description</th></tr> <tr><td><tt>'C'</tt></td><td>RFC Client</td></tr> <tr><td><tt>'S'</tt></td><td>RFC Server</td></tr> </table>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><tt>"C"</tt> if in client mode or <tt>"S"</tt> if in server mode</DL>
</DD>
</DL>
<HR>

<A NAME="getType()"><!-- --></A><H3>
getType</H3>
<PRE>
char <B>getType</B>()</PRE>
<DL>
<DD>Retrieves the type which specifies the local program. <p>Valid local system types are: <table border=1> <tr><th>Value</th><th>Description </th></tr> <tr><td>'2'  </td><td>R/2         </td></tr> <tr><td>'3'  </td><td>R/3         </td></tr> <tr><td>'E'  </td><td>External Program </td></tr> <tr><td>'R'  </td><td>Registered external program</td></tr> <tr><td>'F'  </td><td>Shared memory pipe</td></tr> </table>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>Local system type</DL>
</DD>
</DL>
<HR>

<A NAME="getCPICConversationID()"><!-- --></A><H3>
getCPICConversationID</H3>
<PRE>
java.lang.String <B>getCPICConversationID</B>()</PRE>
<DL>
<DD>Retrieves the low-level CPIC conversion ID for a connection
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>CPIC Conversion ID</DL>
</DD>
</DL>
<HR>

<A NAME="getSSOTicket()"><!-- --></A><H3>
getSSOTicket</H3>
<PRE>
java.lang.String <B>getSSOTicket</B>()</PRE>
<DL>
<DD>Retrieves the <tt>sso_ticket</tt> field
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the sso_ticket or <tt>null</tt> if not set</DL>
</DD>
</DL>
<HR>

<A NAME="getPartnerReleaseNumber()"><!-- --></A><H3>
getPartnerReleaseNumber</H3>
<PRE>
int <B>getPartnerReleaseNumber</B>()</PRE>
<DL>
<DD>Returns the release number of the partner as an integer, e.g. <table border=1> <tr><th>Number</th><th>Description </th></tr> <tr><td>0  </td><td>unknown</td></tr> <tr><td>200</td><td>R/2     </td></tr> <tr><td>317</td><td>R/3 3.1H</td></tr> <tr><td>400</td><td>R/3 4.0A </td></tr> <tr><td>401</td><td>R/3 4.0B </td></tr> <tr><td>450</td><td>R/3 4.5A </td></tr> <tr><td>451</td><td>R/3 4.5B </td></tr> <tr><td>461</td><td>R/3 4.6B </td></tr> <tr><td>462</td><td>R/3 4.6C </td></tr> <tr><td>610</td><td>R/3 6.10 </td></tr> <tr><td>620</td><td>R/3 6.20 </td></tr> </table>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the release number as an integer</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JCoAttributes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/sap/conn/jco/JCo.html" title="class in com.sap.conn.jco"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/sap/conn/jco/JCoContext.html" title="class in com.sap.conn.jco"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/sap/conn/jco/JCoAttributes.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JCoAttributes.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2008 SAP AG. All Rights Reserved.</i>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -