Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

EDI: Syntax error in IDoc (segment cannot be identified)

Former Member
0 Kudos


i m working with ORDERS01. i have syntax error 26 as put in subject line. Reason is

" The segment E1EDP02 does not occur at the current level of the basic type ORDERS01 (extension )"

in IDoc E1EDP02 does not appear as child to E1EDP01.

what is the reason for it ?

can u also tell me in which routine/function module the syntax is checked, so i can have a breakpoint and debug it.


Former Member
0 Kudos


This happens because you are trying to fill a child segment first before filling the parent segment. Populate the segments in the same hierarchy as in the Idoc.



0 Kudos

i dont think E1EDP02 is filled before E1EDP01. anyway i will check.

another thing. as per syntax in IDOCSYN table HLEVEL of E1EDP02 must be '03'. but for an example IDoc, if i see in table EDID4 field HLEVEL is '00'. that means not OK.