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.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos
170

hi,

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.

2 REPLIES 2

Former Member
0 Kudos
45

Hi

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.

Regards

Shounak

0 Kudos
45

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.