Creating and starting RFC Listeners notification
Integrate your integrations to receive calls from the SAP® ERP systems. This notification is useful when SAP® ERP needs to push data or start processes in webMethods Integration.
About this task
This example explains how to use the SAP® ERP RFC listener notification. Assume that you have a project Test_SAP_ERP and you want to create a SAP® ERP listener.
Procedure
- Click New listener, select SAP® ERP for
Type of listener and SAP® ERP_v1.0 for
Select version from the drop-down menu. The Add listener configuration screen appears.
- Provide the following details:
- In the Listener name field, specify a unique name for the listener.
- In the Program Id field, provide the program ID for the listener.
- In the Retry limit field, specify the number of times the listener tries to connect to the server.
- In the Retry backoff timeout field, specify the delay between each subsequent connection try.
- Click Next and select the Standard (Default) action.
- Click Next. The Connection mode screen appears.
- Provide the following details in the Connection mode:
- In the Gateway host field, provide the host address.
- In the Gateway service field, provide the service number.
- In the Repository server field, provide the repository server.
- Click Next and provide the following details to either enable or
disable the logging:
- The RFC trace field enables the RFC trace.
- The Log transaction status field stores the transaction status.
- The Store message body field stores the message body.
- Click Next and verify the connection details.
- Click Save, and click Next.
- Click Add listener notification. The Add Listener Notifications screen is displayed.
- Provide the following details:
- In the Name field, provide a unique name for the notification.
- In the Description field, provide a description.
- Click Next and select the RFC Listener Notification (synchronous) action.
- Click Next. Search and select the RFC function to start. You can do a search with different combinations such as
- Type the exact function name in the Function pattern field. For example, Z_RFC_ADD.
- Type the exact group name to which the function belongs in the Group pattern field. For example, Z000.
- Type the function pattern in the Function pattern field. For example, Z_RFC*.
- Type the group pattern to which the function belongs in the Group pattern field. For example, *.
- Click Apply. In the example, select the Z_RFC_ADD function.
- Click Next. The Request Field Selection screen is displayed.
- In the Request Field Selection screen, select the input fields to
add. In the example, select IP_VALUE1 and IP_VALUE2 as the input fields.
- Click Next and select the output fields to add. In the example, select the EP_RESULT output field.
- Click Next and select the service to be started from the drop-down menu.
- Click Next and verify the details.
- Click Done. You see the configured notification.
- Start the Listener notification by using the SAP GUI.
- Provide the following details in the Test Function Module screen:
- In the RFC target field, provide the target system ID. The ID is the same as Program Id in Listeners.
- In the Import parameters field, provide the input values.
- Click the Time icon to run.