Configuring the Recording Studio settings of logical SAP application servers

You can record SAP application resources by configuring a logical SAP application server to record IDocs. Use the Recording Studio perspective of Test Integrations and APIs to record incoming and outgoing intermediate documents (IDocs).

Before you begin

  1. Create a physical connection in your Test Integrations and APIs project to the relevant physical SAP application server.
  2. Create the logical SAP application server.

About this task

There are two methods of configuring the recording parameters:

  • Configure the Recording Studio settings of the relevant logical SAP application server to record a specific IDoc or IDoc type.
  • Create a subscribe operation for the relevant logical SAP application server and configure it to record a specific IDoc type.
This topic explains the first method.

Procedure

  1. Open the Logical View of the Architecture School perspective.
  2. Double-click the relevant logical SAP application server.

    The SAP System window is displayed.

    Alternatively, right-click the logical SAP application server and click Open on the shortcut menu.

  3. Click the Recording Studio tab.
  4. Optional: Click the button next to Display Color to change the Recording Studio color assigned to the logical SAP application server.
  5. Click Document Number to record a specific IDoc or click Type Filter to record by IDoc type.
  6. If you click Document Number, you must enter the relevant IDoc number in the field provided.
  7. Click Inbound, Outbound, or Both to specify the direction of the specified IDoc or IDoc type.
  8. In the Poll Interval field, enter the required number of seconds between queries.
  9. Select the Start now check box if you want polling to start when you start a recording session in your project.
  10. If the Start now check box is cleared, complete the following tasks:
    1. Use the From lists to specify the query's start date and time.
      Note: Query start and end date and time values are passed to the relevant SAP application server as literals, not as UTC values. Therefore, unexpected results can occur if Test Integrations and APIs and the SAP application server are in different time zones.
    2. Use the Duration field to specify the duration of a query.
      Note: If you are using a version of Test Integrations and APIs earlier than 8.6.0, the duration can be specified only in seconds. If you are using Test Integrations and APIs 8.6.0 or later, a duration units list is provided, which enables you to specify seconds, minutes, hours, or days.
      SAP System window, Recording Studio tab (example)
  11. In the Patterns field, select the IDoc patterns to query.
    Note: The asterisk (*) and question mark (?) wildcards can be used in the Patterns field. Only IDocs that have been selected on the IDocs tab on the Config tab of the SAP System window are displayed in an auto-complete list under the edit line.
  12. Click OK.

Results

The selected logical SAP application server is now configured for recording incoming IDocs and it can be selected as a recordable resource in the Recording Studio perspective.
Note: If you want to record IDocs or subscribe to them in watch mode, you need to install Advanced Business Application Programming (ABAP). Installation instructions are available in installation_directory\tools\SAP.
Note: Watch mode subscription is not available for SAP PI 7.3.1 or later.