Application Development and Automation 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: 
Read only

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

Former Member
0 Likes
543

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.

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.

any ideas as to where the error could be. we have an exit after E1EDP01 is filled. here we fill E1EDPT1,E1EDPT2. We also modify E1EDP01.

2 REPLIES 2
Read only

Former Member
0 Likes
424

Hi,

I hope you are doing an INBOUND Process. Check whether both the IDOCs are compatible i.e, Whether the Incoming IDOC type has same version of your INBOUND IDoc.

Cheers,

Prashanth

Read only

0 Likes
424

no this is OUTBOUND