SAP
Use the IBM® App Connect Enterprise Toolkit to configure message flow nodes that are converted from the IBM App Connect Professional SAP activities.
About this task
When you import an orchestration that contains SAP activities, the conversion utility creates a message flow with the SAPRequest, SAPInput and SAPReply nodes. See Table 1, for information on which nodes are used for each of the activities.
| IBM App Connect Professional activity | IBM App Connect Enterprise node |
|---|---|
| Invoke RFC | |
| Invoke BAPI | |
| Receive IDOC | |
| Send IDOC | |
| Receive RFC | |
| Send RFC Response |
-
The Outbound activities, which are carried out with the SAPRequest node in IBM App Connect Enterprise:
-
Invoke BAPI is carried out with the SAPRequest node, which enables sending BAPI calls to the SAP system.
-
Invoke RFC is carried out with the SAPRequest node, allowing the execution of Remote Function Calls (RFC) in IBM App Connect Enterprise.
-
Send IDOC is carried out with the SAPRequest node, facilitating the transmission of Intermediate Documents (IDoc) to SAP.
-
-
Inbound activities, which are carried out with the SAPInput and SAPReply nodes in IBM App Connect Enterprise):
-
Receive IDOC is carried out with the SAPInput node, which accepts IDoc messages from the SAP system.
-
Receive RFC is carried out with the SAPInput node, which accepts Remote Function Calls (RFC) from SAP system
-
Send RFC Response is handled by using the SAPReply node, which works alongside the SAPInput node to implement message flows, which act as Remote Function Call (RFC) destinations.
- act as
-
SAPRequest node for outbound activities: Invoke BAPI and Invoke RFC
Procedure
SAPInput node for receive IDOC activity
Procedure
SAPRequest node for send IDOC activity
Procedure
- Repeat steps 1 to 4 from SAPRequest node for outbound activities: Invoke BAPI and Invoke RFC
- Provide the SAP server connection details and Object
information. This information includes the following details: Host
name, System number, Client, Language
code, User name, and Password, SAP
interface name, referring to the generated message flow documentation for accuracy. In
SAP interface name, select the object type that you want to work with. In this
case, ALE. This option is used to send structured IDOC data to the SAP system. Verify the details
and click Next to proceed to the next configuration step.

- Filter for ALEREQ01 with the filter option. Expand Discover IDoc from
system, select ALEREQ01, and move it to the Objects to be
imported column, by clicking > .

- Configure the parameters according to the requirement and click
OK.

- With the object selected, click Next.

- When the wizard pops up, click Next

- Provide the SAP server password in the designated field. Use the details that are found
in the generated message flow documentation. Verify that all other details, such as host name,
gateway host, client, and system number, are accurate, and align with the information in the
documentation. Once you have entered and verified all the details, click Next
to proceed.

- Provide a suitable name for the Adapter component name field and
click Finish.

- Go to the Properties tab > Basic section.
Click Browse next to the Primary adapter component
field. In the wizard that appears, select the adapter component that is specified in step 8 and
click OK to confirm.


- The selected option is now populated as in the screenshot. Save the message flow to
ensure that the changes are applied and retained.

SAPInput node for receive RFC activity
Procedure
- Repeat steps 1 to 4 from SAPInput node for receive IDOC activity
- Provide the SAP server connection details and Object
information. This information includes the following details: Host
name, System number, Client, Language
code, User name, and Password, SAP
interface name, referring to the generated message flow documentation for accuracy. In
SAP interface name, select the object type that you want to work with. In this
case, BAPI. Verify the details and click Next to proceed to the next
configuration step.

- Click Filter and provide the object pattern as shown in the
screenshot. Then, click OK to apply. Expand the RFC node and select
BAPI_BANK_GETDETAIL object from the metadata tree and click
>. A pop-up appears containing configuration properties. Click
OK to proceed as shown in the screenshot.
A pop up appears containing configuration properties. Click OK to proceed as shown in the screenshot.
- BAPI_BANK_GETDETAIL has been added to the Objects to be
imported section, click Next to proceed.

- Select the option according to the requirement and click Next to
proceed.

- Provide the SAP server password and RFC program ID in the designated field. Use the
details found in the generated message flow documentation. Verify that all other details, such as
host name, gateway host, client, and system number, are accurate, and align with the information in
the documentation. Once you have entered and verified all the details, click
Next to proceed.

- Provide a suitable name for the Adapter component name field and
click Finish.

- Go to the Properties tab > Basic section.
Click Browse next to the Primary adapter component
field. In the wizard that appears, select the adapter component that is specified in step 8 and
click OK to confirm.


- The selected option is now populated as in the screenshot. Save the message flow to
ensure that the changes are applied and retained.




























