--- title: "IDoc" slug: "profiles--tab-3-format-idoc" updated: 2026-09-28T09:49:56Z published: 2026-09-28T09:49:56Z canonical: "docs.lobstersoftware.com/profiles--tab-3-format-idoc" --- > ## 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. # IDoc This Document type is used in connection with the Input agent "SAP ALE" and not for the "SAP" scheduled input agent. ## Settings ![images/download/attachments/201678910/IDoc-version-1-modificationdate-1747904462766-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/IDoc-version-1-modificationdate-1747904462766-api-v2.png) (1) **Check input format:** If this checkbox is set, the input fields are checked against their format templates during parsing. If a value violates the format template of the field or exceeds the field length, an error is created. If an error occurs, the profile job will not be aborted immediately in Phase 2, but at the end of Phase 2 or after 50 errors. **IMPORTANT:** The use of format checking puts a strain on performance and should only be used if absolutely necessary. (2) **Check min/max settings:** Specifies whether to check the number of repetitions (of fields and nodes) in the source structure. (3) **Remove blanks (XML will be normalized):** This checkbox controls whether trailing whitespaces are removed from the IDoc when the field values are parsed. (4) **Force single record:** Indicates whether the data should be summarized in a single record. Setting this checkbox prevents the parser from creating multiple records. (5) **Execute semantic checks:** Incoming files can be checked with semantic rules. See [Semantic check](/v1/docs/en/phase-2-semantic-check). ## Structure templates See [Working with templates](/v1/docs/en/intro-working-with-templates). You can also get IDoc templates directly from an SAP system. See [Loading SAP templates](/v1/docs/en/intro-sap-loading-templates). These templates are only for fixed-length IDocs. XML IDocs are treated like [XML](/v1/docs/en/profiles--tab-3-format-xml) (the corresponding XSD/DTD schema file must be delivered from SAP side). See also [SAP IDocs](/v1/docs/en/intro-sap-idocs). > [!NOTE] > **NOTE:** > > The structures of fixed-length IDocs and the corresponding XML IDoc differ significantly. It is not possible to use the source or target structure of one kind for the other. However, it is possible to create a mapping between an XML IDoc and the fixed-length IDoc of the identical type comparatively quickly using the mapping assistant (see [1:1 mapping](/v1/docs/en/intro-profiles-phase-3-1-1-mapping)**)**. To do this, you must first import the XML structure (from XSD) in a profile on one side and the same IDoc type as a fixed-length structure (online or as a template) on the other side. Configuration in Phase 2, which determines the format of the input data. The document type determines how the parser reads the data and transfers it to the source tree. Examples: EDIFACT, XML, JSON, CSV, X12. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data). **Application Link Enabling**. SAP technology for the asynchronous exchange of IDocs between SAP systems or with third-party systems. Available in the Lobster Data Platform as an inbound agent and response. Parsing: The input data is parsed into the source structure. The source structure represents the input format. Intermediate Document. SAP proprietary data format for the electronic exchange of business documents. IDocs transport structured data (e.g., orders, delivery notes) between SAP systems or between SAP and third-party systems, e.g., via ALE or EDI.