Create XML-based Module Attributes for IDOC messages

The Tricentis Tosca API Engine enables you to create XML-based Module Attributes. You can use this function to work with Intermediate Document (IDOC) XML messages to enable data transfer with SAP.

IDOC messages use specific tags to provide information about the IDOC structure as well as to break down the message content itself. These tags can be identified by API Scan and SAP.

To steer the values of IDOC XML tags, you can create XML-based Module Attributes. To do so, follow the steps below:

  1. Select a Module and access the API Testing menu.

  2. Highlight the element you want to steer with your mouse.

  3. Click Add in the API Testing menu.

The created Module Attributes are organized in a hierarchical structure based on the tag structure of the IDOC XML message.

XML-based Module Attributes

The created Module Attributes have the same names as the elements you marked. The elements of an IDOC message have predefined specific names that identify them, e.g. the element TABNAM contains information on the name of the table.