Warning: Deprecated documentation
You are using the old version of the online help for ERPConnect.
Make sure to use the documentation within the new HelpCenter for ERPConnect.

IDocs are electronic documents that can be sent from or to SAP systems.
You can exchange IDocs between SAP systems or between one SAP system and an external application. ERPConnect provides a set of classes to send, receive and construct IDocs.

About IDocs #

An IDoc consists of one control record and several data records. The control record contains routing data and information about the sending and the receiving system. The data records are arranged hierarchically. A single data record is also called segment. One segment itself consists of several fields. For more information, see SAP Help: Structure, Documentation, and Definition of IDoc Types.

Tip: You can use the transaction WE60 to look up the structures of IDocs in SAP.

The figure below shows the IDoc object structure of ERPConnect.
Each segment can contain child segments and every segment contains several field objects.


More information on working with the ERPConnect IDocs classes is provided in the following sections:


Sending IDocs

Receiving IDocs

Using XMLs