|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoAttributes
Encapsulates a number of attributes of a connection, such as codepage information, system information of the communication partner, and other useful data.
Method Summary | |
---|---|
java.lang.String |
getClient()
Retrieves the SAP client from the connection attributes. |
java.lang.String |
getCPICConversationID()
Retrieves the low-level CPIC conversation ID from the connection attributes. |
java.lang.String |
getDestination()
Retrieves the destination name from the connection attributes. |
java.lang.String |
getHost()
Retrieves the host from the connection attributes. |
java.lang.String |
getISOLanguage()
Retrieves the logon language from the connection attributes and returns it as a two-character string. |
java.lang.String |
getKernelRelease()
Retrieves the release of the remote SAP system's kernel. |
java.lang.String |
getLanguage()
Retrieves the logon language from the connection attributes and returns it as a one-character string. |
int |
getOwnBytesPerChar()
Returns the number of bytes per character for the currently used local codepage. |
java.lang.String |
getOwnCharset()
Retrieves the Java charset equivalent of the local SAP codepage. |
java.lang.String |
getOwnCodepage()
Retrieves the local codepage in SAP notation. |
java.lang.String |
getOwnEncoding()
Retrieves the MIME encoding equivalent of the local SAP codepage. |
int |
getPartnerBytesPerChar()
Returns the number of bytes per character for the currently used remote codepage. |
java.lang.String |
getPartnerCharset()
Retrieves the Java charset equivalent of the codepage used by the remote system. |
java.lang.String |
getPartnerCodepage()
Retrieves the codepage used by the remote system in SAP notation. |
java.lang.String |
getPartnerEncoding()
Retrieves the MIME encoding equivalent of the remote SAP codepage. |
java.lang.String |
getPartnerHost()
Retrieves the partner host from the connection attributes. |
java.lang.String |
getPartnerRelease()
Retrieves the release of the remote SAP system. |
int |
getPartnerReleaseNumber()
Returns the release number of the partner system as an integer. |
char |
getPartnerType()
Retrieves the type which specifies the partner of the communication. |
java.lang.String |
getRelease()
Retrieves the release of the local SAP system. |
char |
getRfcRole()
Retrieves the RFC role from the connection attributes. |
java.lang.String |
getSSOTicket()
Retrieves the SSO ticket from the connection attributes. |
java.lang.String |
getSystemID()
Retrieves the SAP system ID from the connection attributes. |
java.lang.String |
getSystemNumber()
Retrieves the SAP system number from the connection attributes. |
boolean |
getTrace()
Retrieves the RFC trace flag from the connection attributes. |
char |
getType()
Retrieves the type which specifies the local system. |
java.lang.String |
getUser()
Retrieves the user ID from the connection attributes. |
Method Detail |
---|
java.lang.String getDestination()
java.lang.String getHost()
java.lang.String getPartnerHost()
Note: For load balanced destinations the partner host will only be available, if the corresponding destination is currently in a stateful context and a connection has been established.
java.lang.String getSystemID()
java.lang.String getSystemNumber()
Note: For load balanced destinations the system number will only be available, if the corresponding destination is currently in a stateful context and a connection has been established.
java.lang.String getClient()
java.lang.String getUser()
java.lang.String getLanguage()
java.lang.String getISOLanguage()
java.lang.String getOwnCodepage()
java.lang.String getOwnCharset()
java.lang.String getOwnEncoding()
int getOwnBytesPerChar()
java.lang.String getPartnerCodepage()
java.lang.String getPartnerCharset()
java.lang.String getPartnerEncoding()
int getPartnerBytesPerChar()
java.lang.String getRelease()
java.lang.String getPartnerRelease()
java.lang.String getKernelRelease()
char getPartnerType()
Valid partner types are:
Value | Description |
---|---|
'3' | ABAP system |
'E' | External program |
'R' | Registered external program |
boolean getTrace()
true
if the RFC trace is enabled;
false
otherwisechar getRfcRole()
Valid role values are:
Value | Description |
---|---|
'C' | RFC Client |
'S' | RFC Server |
'C'
if in client mode or 'S'
if in server modechar getType()
Valid local system types are:
Value | Description |
---|---|
'3' | ABAP system |
'E' | External program |
'R' | Registered external program |
java.lang.String getCPICConversationID()
Note: The CPIC conversation ID will only be available, if the corresponding destination is currently in a stateful context and a connection has been established.
java.lang.String getSSOTicket()
null
if not setint getPartnerReleaseNumber()
For example:
Number | Description |
---|---|
0 | unknown |
317 | R/3 3.1H |
400 | R/3 4.0A |
401 | R/3 4.0B |
450 | R/3 4.5A |
451 | R/3 4.5B |
461 | R/3 4.6B |
462 | R/3 4.6C |
610 | R/3 6.10 |
620 | AS ABAP 6.20 |
640 | AS ABAP 6.40 |
700 | AS ABAP 7.00 |
702 | AS ABAP 7.02 |
711 | AS ABAP 7.11 |
720 | AS ABAP 7.20 |
740 | AS ABAP 7.40 |
750 | AS ABAP 7.50 |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |