IDoc
This document type is used in connection with the Input Agent "SAP ALE" and not for the time-driven Input Agent " SAP" .
Settings
(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. Attention: 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 summarised 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 section Semantic check .
Structure templates
See section Templates for source and target structures. You can also get IDoc templates directly from an SAP system. See section Loading SAP templates.
These templates are only for fixed-length IDocs. XML IDocs are treated like normal XML files (the corresponding XSD/DTD schema file must be delivered from SAP side). See also section SAP IDocs. 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. 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.