Skip to Content
0
Former Member
Apr 30, 2009 at 09:25 AM

Issue:EDI: Syntax error in IDoc (mandatory segment missing):Idoc extention

875 Views

Hi all,

I have extended the the standard IDOC MATMAS05 classification view with structure as below-

E1MARAM Master material general data (MARA)--->Mandatory segment

Z1KLART KLART --->Extended chaild to E1MARAM

Z1CLASS segment for class --->Extended chaild to Z1KLART

Z1CHARACTERISTIC CHARACTERISTIC --->Extended chaild to Z1KLART

E1MARA1 Additional Fields for E1MARAM

E1MAKTM Master material short texts (MAKT) --->Mandatory segment(Child to

E1MARAM )

I am getting an error in IDOC fro material master as:EDI: Syntax error in IDoc (mandatory segment missing ).

Diagnosys By system is :*The segment E1MAKTM has the attribute 'Mandatory' in the syntax description of the basic type MATMAS05 (customer enhancement ZMATMAS05). 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.*

Please help to resolve the issue.

Thank you.

Edited by: sanu debu on Apr 30, 2009 11:25 AM

Edited by: sanu debu on Apr 30, 2009 11:31 AM