Configure the SAP® ERP connector and call custom RFC-enabled function modules directly
from your integrations.
About this task
This example explains how to use SAP® ERP for RFC invocation.
Assume that you have a Flow service SAP_ERP_Test_FS inside Test_SAP_ERP project. The Flow service
SAP_ERP_Test_FS used in the example is a simple Flow service that uses the RFC invocation action
from SAP® ERP You want to start this Flow service.
To start and run SAP_ERP_Test_FS (Flow service), you must create an account to connect to SAP®
ERP.
Procedure
- Create the Flow service. Select SAP® ERP from the drop-down
menu.
- Select Add Custom Operation in the drop-down list next to
SAP® ERP.
This redirects you to the Action
configuration screen.
- Provide the following details:
- In the Name field, specify a name for the action.
- In the Description field, provide a short description for the
action.
- In the Connect to account SAP® ERP field, select an existing account (if
any) from the Select Account drop-down menu or click
Add to add a SAP® ERP account.
- Click Next and select the RFC Invocation
action.
- Search and select the RFC function to start.
You can do a search with different combinations such as
- In the Function pattern field, type the exact function name. For example,
Z_RFC_ADD.
- In the Group pattern field, type the exact group name to which the
function belongs. For example, the Z000.
- In the Function pattern field, type the function pattern. For example,
Z_RFC*.
- In the Group pattern field, type the group pattern to which the function
belongs. For example, *.
- Click Apply. In the example, search for
Z_RFC*.
What to do next
- Click Next.
- In the Request Field Selection screen, select the input fields to add. In
the example, select IP_VALUE1 and IP_VALUE2 input
fields.
- Click Next.
- Verify the details
- Click Add and click Done. You are redirected to
the Flow service's screen.
- Run the flow service.
- Click the mapping icon and add the values for the input parameters.
- Click the Run icon. The resulting value appears.