SAP Knowledge Base Article - Preview

2975906 - EDI: Syntax error in IDoc (mandatory segment missing)

Symptom

Running InfoPackage fails with error "There are IDocs with incorrect status." when extracting from a DataSource. Checking the logs, the IDoc status is 26.

In the Source System of the DataSource, for the issued IDoc number, in WE09 transaction you can see Status 26 with message "Error during syntax check of IDoc (outbound)".

Long text of the message:

Message: 
EDI: Syntax error in IDoc (mandatory segment missing)

Message no. E0072
Diagnosis

The segment <segment name> has the attribute 'Mandatory' in the syntax description of the basic type <basic type name> (customer enhancement ). However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.

This error may have been triggered by an unidentifiable segment before the expected mandatory segment.
Procedure

Please check the IDoc or the syntax description of the basic type <basic type name> (customer enhancement ).


Read more...

Environment

SAP NetWeaver.

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

E0072, WE30, WE09, status 26, IDoc, syntax error, "There are IDocs with incorrect status.", "IDocs with incorrect status" , KBA , BW-WHM-DST , Data Staging , BC-MID-ALE , Integration Technology ALE , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.