Testing the SAP Event Adapter

How to:

In the SAP Server, the SE37 transaction enables you to send RFCs (Remote Function Calls) or BAPIs (Business Application Programming Interfaces) to any RFC destination. For more information on RFC destinations, see Registering Your Program ID in SAPGUI.

Note: Depending on the release or service pack installed, certain RFCs may not exist in your particular SAP system. Therefore, the examples included in this documentation may not be relevant to your system. If this is the case, you should use the examples as a general reference for adapter functionality and choose an RFC that exists within your SAP application environment.


Top of page

x
Procedure: How to Test the SAP Event Adapter by Sending RFCs or BAPIs Manually

To test the SAP event adapter:

  1. In the Function Builder: Initial Screen, select a function module, for example, RFC_CUSTOMER_GET.

    The following image shows the Function Builder: Initial Screen where you can select to display, change, or create a function module. RFC_CUSTOMER_GET is selected.

    1. To choose single test, press F8 and click the Single Test icon or select Function module, Test, and then Single Test.
    2. Enter an RFC target system, for example, IWAYDEST.
    3. Enter input data for the particular RFC module, for example, AB*.
  2. To execute, press F8.

    The Test Function Module: Initial Screen opens as shown in the following image. It includes information about the test, the function module, and the target system. You can select the check box for Upper/lower case. The upper left pane lists the import parameters, and the upper right pane contains fields for the values. The lower left pane lists tables, and the lower right pane lists the number of entries.

  3. Enter data into the SAP GUI and click the Execute button.

    The function name and input data are transferred by RFC to create an XML document on the application server with the parameters input in SAPGUI.


iWay Software