--- title: "SAP IDocs" slug: "intro-sap-idocs" updated: 2026-07-29T09:55:38Z published: 2026-07-29T09:55:38Z canonical: "docs.lobstersoftware.com/intro-sap-idocs" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # SAP IDocs ## IDoc and SAP ALE IDoc (Intermediate Document) is a data structure used by SAP to exchange data between R/3, R/2 and external systems. The "SAP Service" allows Lobster Integration to exchange IDocs with SAP systems via the ALE protocol. From Lobster Integration's point of view, an IDoc is a fixed-record data structure with a control record and a larger number of data records of different types. The exact structure is described by the IDoc type. There are a large number of different IDoc types with a unique name for different message types. The structure templates for these IDoc types can be read directly from the connected SAP system. Lobster Integration also supplies all standard IDoc types in versions 46C, 700 and 750 as structure templates. ## IDoc and SAP Process Integration/Exchange Infrastructure The SAP Process Integration (SAP-PI) is an advancement of the SAP Exchange Infrastructure (SAP-XI) and is available in all current SAP systems. The data exchange is based on XML. Consequently, there is an XML representation for each IDoc type. From Lobster Integration's point of view, this is a normal XML file treated with the same concepts as other XML files. The provided IDoc structure templates cannot be used for XML IDocs. Instead, the XML schema file (XSD) must be generated in the SAP system (e.g. with transaction WE60), which can then be used to create the source or target structure in a Profile. ## Distinction Unfortunately, SAP users and consultants do not always exactly distinguish between ALE IDocs and XML IDocs. Since XML IDocs are treated as normal XML files in Lobster Integration, make sure to clarify if you are dealing with XML IDocs before you start implementing any profiles in your project. ## Exporting the structure description using the SAP transaction WE60 For both IDoc basic types and IDoc extensions (CIM), the XML schema definition XSD and a parser file can be exported from the SAP system in which the IDoc type is defined. In addition, the technical description of the IDoc type is also available there as HTML and can be exported as three contiguous HTML files. See also section [Creating a parser file for SAP IDoc structures](/v1/docs/en/import-structure-parser-file-sap). **NOTE:** The XSD file for XML IDocs must be requested from the SAP team. If the file name extension is ".xml", it must be changed to .xsd before importing. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required.