Previous Topic: SAP StepsNext Topic: SAP IDoc Sender


SAP RFC Execution

The SAP RFC Execution step lets you connect to an SAP system to execute an RFC (Remote Function Call).

Prerequisites: Using DevTest with this application requires that you make one or more files available to DevTest. For more information, see Third-Party File Requirements in Administering.

To create an SAP RFC Execution step:

  1. Select a Destination asset that includes the connection information for either an application server or a message server.
  2. If you are using a message server:

    In Windows, add the following line to the end of the C:\Windows\System32\drivers\etc\services file: sapmsCR2 3600/tcp.

    In Linux, add the following line to the end of /etc/services: sapmsCR2 3600/tcp.

    SAP RFC Execution step connection screen

  3. Enter the following parameters in the SAP RFC Execution step editor. You can use properties for RFC input parameters.
    RFC name filter

    To filter the RFC function names, enter a filter value, which can include a wildcard character of *. When you click the RFC name field drop-down arrow, DevTest requests the SAP system to retrieve the RFC names that the filter qualified, then populates the field.

    After you select or enter an RFC function name, DevTest sends a request to the SAP system to retrieve the RFC function input parameters. Both Key and Description of each parameter are returned from the SAP system. Although the description is available for most parameters, not all of them have it. You can enter the parameter values before executing the RFC function.

    RFC name

    Field Description

    Import Parameters
    Name

    The name of a parameter

    Description

    The description of a parameter

    Value

    The value of a parameter

    Each table cell in the value column is a drop-down list of the available properties.

    Table Parameters
    Name

    The name of a parameter

    Description

    The description of a parameter

    Value

    The value of a parameter

    Each table cell in the value column is a drop-down with the available properties to select from.

    If Environment Error

    Specifies the action to take or the step to go to if the test fails because of an environment error.

    Default: Abort the test.

  4. Click Test to populate the Response tab, which contains subtabs for the output for XML and DOM Tree.