Skip to main content
Skip table of contents

IDoc Handling

IDocs (Interface Documents) are the most common way of interchanging data asynchronously with SAP systems. In order to parse and compose IDocs, the modeler must first import the corresponding IDoc classes from SAP parse grammars. This process is described on Importing SAP IDoc Meta Data in the Builder User Guide. The rules describing the mapping from SAP Metadata to UML classes can be found on IDoc Import Rules.

Example File (Builder project Add-ons/SAP):

<your example path>\Add-ons\SAP\uml\sapIdoc.xml

The following pages describe IDoc handling, such as

Example Overview: IDoc Use Cases

Use Case

Operation

Example File (Builder project Add-ons/SAP):

<your example path>\Add-ons\SAP\uml\sapTRFCClient.xml

Receive an IDoc file and send it to SAP (unchanged)

SendAnyIDocFromFile

Receive and IDoc from SAP and send it to SAP

SendAnyIDoc

Example File (Builder project Add-ons/SAP):

<your example path>\Add-ons\SAP\uml\sapTRFCServer.xml

Receive and IDoc from SAP and write it to a file

IDOC_INBOUND_ASYNCHRONOUS

Example File (Builder project Add-ons/SAP):

<your example path>\Add-ons\SAP\uml\sapIdoc.xml

Read an IDoc from file and parse it to an IDoc structure

SingleIDocInString

Receive an IDoc from SAP and parse it to an IDoc structure

SingleIDocSAPTables

Read multiple IDocs (same structure) from file and parse them to an IDoc structure

ArrayOfDocsInString

Receive multiple IDocs (same structure) from SAP and parse them to an IDoc structure

ArrayOfDocsInSAPTables

Read an TXTRAW01 IDoc from file, parse it, make some changes and write it to a new file.

parseTXTRAWIDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.