Siebel Connector for SAP R/3 > EAI Queue > EAI Queue Usage >

The Send Transaction Service


The Send Transaction service is called repeatedly from the SAPSendTrans component running as a background task to check the EAI Queue for data that needs to be sent to SAP. This topic covers configuration options for this service and describes how to start the SAPSendTrans component.

Configuring the Send Transaction Service

The business service EAI SAP Send Transaction is called by the background component SAPSendTrans repeatedly to check erred transactions in the EAI Queue. When a transaction is found, this business service calls the tRFC BAPI adapter service that created the queue entry to again try to send the data to SAP. IDOCs can be resent to SAP in this manner also. For more information on IDOCs sent through the EAI SAP BAPI adapter (tRFC) service, read IDOC Integration.

Table 38 summarizes the User Properties that may be set to control its behavior. Those variables that may be set as component parameters must be set for the SAPSendTrans component.

Table 38.  Send Transaction Service Configuration Options
Name
User Prop
Comp Param
Valid Values
Usage

SAPWaitTime

X

 

Integer value in seconds

Number of seconds to pause between sending transactions to SAP. This may be used to slow down the flow of information to SAP. Too many RFC calls to SAP or IDOCs that are set to process immediately can overwhelm SAP.

SAPWakeupCount

X

 

Integer value

Number of times to try to reconnect to SAP before erring the transaction, if SAP is unreachable.

SAPWakeupTime

X

 

Integer value in minutes

Number of minutes to wait between tries to connect to SAP, if SAP is unreachable. This is used in conjunction with SAPWakeupCount. If SAPWakeupCount is 10 and SAPWakeupTime is 5, then the Resend service tries every 5 minutes to reach SAP for up to 10 attempts before marking the transaction as erred, for a total of 50 minutes.

SAPtRFCService

X

X

 

Business service that originally created the entry in the queue. It is important to use the same service because the user properties in this service are used by the Send service.

SiebelWaitTime

X

 

Integer value in seconds

Number of seconds to wait before rechecking the Siebel EAI Queue when the queue is found empty. If an entry was last found in the queue, then no wait occurs when looking for the next entry in the queue.

SAPRfcConnectString

 

X

 

Refer to Table 21.

SAPRfcUserName

 

X

 

Refer to Table 21.

SAPRfcPassword

 

X

 

Refer to Table 21.

Starting the Send Transaction Service

The Send Transaction service can be started in the same manner as the tRFC BAPI receiver component. Read Starting the tRFC BAPI Receiver. You must set the values of the component parameters SAPRfcConnectString, SAPRfcUserName, and SAPRfcPassword the same as the original tRFC BAPI adapter. These parameters were set on the Business Integration Manager component.

Siebel Connector for SAP R/3