RFC BAPI Listener
Use the RFC BAPI Listener activity to listen to the SAP system and receive RFC/BAPI requests from the SAP system.
The RFC BAPI Listener supports the Request/Reply and one way invocation protocols tRFC and qRFC.
- The same RFC/BAPI and use the same SAP Connection shared resource.
- The same RFC/BAPI and use the SAP Connection shared resources with the same combination of the gateway host, the gateway service, and the program ID.
If you want to control the number of messages being processed concurrently in the activity, choose one of the following configurations:
- Configure the Max Connections field of the referenced server connection according to the number of all the IDoc Listener and RFC BAPI Listener activities.
- Configure the RFC destination accordingly by using the SAP transaction code,
SMQS
.
FlowLimit
.
For more information, see Job Tuning.
General Tab
On the General tab, establish connections to the SAP system, and download the schema of the RFC/BAPI to be retrieved.
The following table lists the configurations on the General tab of the RFC BAPI Listener activity:
Field | Visual Diff | Module Property? | Description |
---|---|---|---|
Name | Yes | No | Specify the name to be displayed as the label for the activity in the process. |
SAP Connection | Yes | Yes | Click
![]() Ensure that you have first created an SAP Connection shared resource accordingly. For more information, see Creating and Configuring an SAP Connection. Note:
|
RFC/BAPI | Yes | No | Click
Fetch Function Module to download the schema of the RFC/BAPI to be received from the SAP system.
In the Fetch Function Module dialog, you can use the RFC/BAPI tab or BOR tab to download the schema of the RFC/BAPI to be invoked in the SAP system. The RFC/BAPI tab is useful when the name of the function module, function group, or both are known. The BOR tab is useful for browsing SAP business objects based on application objects. In the RFC/BAPI tab, complete the following tasks:
In the BOR tab, complete the following tasks:
After the RFC/BAPI schema is downloaded, an XSD file is created. The XSD file is intentionally invisible in the project, but it can be picked from the activity if required. Note:
|
Invocation Protocol | Yes | No | There are three types of Invocation Protocols:
The default value is Request/Reply. |
SAP TID Manager | Yes | Yes |
This field is available only when tRFC or qRFC is selected in the Invocation Protocol field Click![]() If no matching SAP TIDManager shared resources are found, click Create Shared Resource to create one. For more information, see Creating and Configuring an SAP TIDManager Shared Resource. |
Acknowledgment Mode | Yes | No | When tRFC and qRFC are selected in the
Invocation Protocol field, the following types of Acknowledgment Modes are displayed:
The default value is Auto. When Auto is selected, the activity automatically acknowledges the transaction in SAP system when the output is successfully sent. When Client is selected, the activity does not automatically acknowledge the transaction in SAP system and waits for the confirmation from the Confirm activity.Note:
|
Description Tab
On the Description tab, you can enter a short description for the RFC BAPI Listener activity.
Advanced Tab
On the Advanced tab, you can specify the timeout value for the activity to wait for a response to be sent to the SAP system.
The following table lists the configurations on the Advanced tab of the RFC BAPI Listener activity:
Field | Visual Diff | Module Property? | Description |
---|---|---|---|
Sequence Key | Yes | No | This field contains an XPath expression that specifies the order in which the process runs. Process instances with sequencing keys that have the same value are executed sequentially in the order in which the process instances were created. |
Custom Job Id | Yes | No | This field contains an XPath expression that specifies a custom job ID for the process instance. This ID is displayed in the $_processContext process variable. The custom job ID for the process instance. |
Response Timeout(ms) | Yes | Yes | The timeout value in milliseconds for the activity to wait for a response to be sent to the SAP system.
The default value is 300000. Note:
|
Confirmation Timeout (ms) | No | Yes | This field is available only when tRFC or qRFC is selected in the
Invocation Protocol field and Client is selected in the
Acknowledgment Mode field on the
General tab.
The timeout value in milliseconds waiting to commit the transaction. The default value is 300000. Note: While configuring Confirmation Timeout(ms) for tRFC or qRFC, define the value in milliseconds, which should be large enough to allow the subsequent activities prior to the
Confirm activity to complete. If the value is not sufficient, then timeout would occur and the transaction would roll back.
|
Output Tab
The Output tab shows the request of the RFC/BAPI.
The following table lists the output elements on the Output tab of the RFC BAPI Listener activity:
Output Item | Visual Diff | Data Type | Description |
---|---|---|---|
SAPJCO_RFCDESTINATION | String | Displays the RFC destination that connects an ABAP system to an external system. | |
SAPJCO_CLIENT | String | Displays the SAP client number. | |
SAPJCO_CPICCONVID | String | Displays the low-level CPIC conversion ID for the SAP connection. | |
SAPJCO_HOST | String | Displays the SAP application server used for dispatching the call from the SAP system. | |
SAPJCO_SYSID | String | Displays the SAP system ID. | |
SAPJCO_USER | String | Displays the valid user name used to log on to the specified SAP client. |