Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Adapter Services | Creating an Adapter Service that Executes an RFC | Creating an RFC Adapter Service
 
Creating an RFC Adapter Service
Use the following procedure to create an RFC adapter service that makes a remote function call to a function module on the SAP system. This example shows how to create an RFC adapter service for RFC_FUNCTION_SEARCH.
Note:Adapter for SAP outbound call is an inbound call from the SAP system's point of view.
*To create an adapter service for an RFC
1. Start Software AG Designer.
2. Select New >Adapter Service. and do one of the following:
*If you are using Designer, be sure the parent namespace is selected and type a name for the adapter service. Click Next.
3. Select Adapter for SAP from the list of available adapter types. Click Next.
4. Select a previously created RFC connection that points to the SAP system that hosts the function module for which you want to create the adapter service. Click Next.
5. From the list of available templates, select RFC Adapter Service (synchronous) and do one of the following:
*If you are using Designer, click Finish.
6. On the Function Search tab, in the Function Pattern field, type all or part of the name of the function module for which you want to create an adapter service. Use pattern-matching characters if you are unsure of the complete name and want Adapter for SAP to search for several RFCs with similar names. For this example, enter RFC_FUNCTION_* in the Function Pattern field.
Under Function Name, a list of RFCs that match the criteria you specified in the previous step is displayed.
Select the name of the RFC for which you want to create an adapter service. For this example, RFC_FUNCTION_SEARCH. Leave all other fields at their default values.
7. Click Save to save your RFC adapter service.