Siebel Connector for SAP R/3 > BAPI Interfaces > BAPI Integration >

tRFC BAPI Adapter Configuration


The EAI SAP BAPI adapter (tRFC) business service can be invoked from a workflow. Read Customizing Integrations for more information. Table 27 and Table 28 summarize the User Properties, Method Arguments, and Component Parameters that may be set to control its behavior. The EAI SAP BAPI adapter (tRFC) is a cached business service. Variables defined as user properties in the business service are used only once for initialization purposes at the time of the first call to the business service. Variables defined to be method arguments are used on each call and may vary from call to call. Those variables that may be set as component parameters must be set for the Business Integration Manager component.

Table 27 contains User Properties, Component Parameters, and Input Method Arguments for the Execute Method.

Table 27.  tRFC BAPI Adapter Configuration Options
Name
User Prop
Comp Param
Method Arg
Valid Values
Usage
SAPRfcConnectString
 
X
X
 
Refer to Table 24
SAPRfcUserName
 
X
X
 
Refer to Table 24
SAPRfcPassword
 
X
X
 
Refer to Table 24
SAPRfcTrace
 
X
X
"true" or "false"
Refer to Table 24
SiebelMessage
 
 
X
 
Refer to Table 24
DisconnectAlways
X
 
 
"true" or "false"
Refer to Table 24
SAPRfcMaxConnectTime
X
 
 
Integer value in seconds
Refer to Table 24
tRFCMode
X
 
 
"tRFC"
If value is "tRFC", indicates that this adapter is working with tRFC.
SAPWriteXML
X
X
 
"WriteNone", "WriteAlways", "WriteBeforeErr", "WriteOnErr"
Indicates usage of EAI Queue. For more information, read EAI Queue. If value is "WriteNone", the queue is not being used.
SAPXMLQueueCleanup
X
 
 
"true" or "false"
If true, entries are deleted from the EAI Queue upon completion.
SAPXMLQueueService
X
 
 
XML queuing service name
Provides the name of the Business Service that handles the interface to the EAI Queue.
SAPXMLQueueName
X
 
 
EAI Queue name
Provides the name of the EAI queue being used to store queue entries created by this service.
SAPCodepage
X
X
X
Value from Transcode Encoding picklist
Siebel Codepage name for SAP codepage.
SAPIgnoreCharSetConvErrors
X
X
X
True or False
Default is False. If True, codepage conversion errors are handled by substitution of the question mark (?) character in place of an unrecognized character.

Table 28 contains Output Method Arguments for the Execute Method.

Table 28.  Execute Method Output Arguments
Name
Usage
RfcExceptionName
Contains the RFC exception string returned by the SAP function. If connection to SAP fails, this string contains the text: "__SIEBEL__SAP_CONNECT_FAILED__"
SiebelMessage
EAI Siebel Message containing output properties

As with the BAPI adapter, you may also use the methods MakeConnection and EndConnection. For more information, read BAPI Adapter Configuration.


 Siebel Connector for SAP R/3 
 Published: 22 August 2003