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)

0 Kudos

Hello SAPients!

I created the extension ZORDERS2 for Message Type ORDERS02, when I generate and process the IDoc using the RSNAST00 program everything seems to be fine the program even reports that the IDoc was generated successfully, except that, when I review the IDoc using TCode WE02, the IDoc invariably shows the status 26 EDI: Syntax error in IDoc (segment cannot be identified).

I check the syntax of the extension and of the new segments and everything is reported as correct. Do you have an idea of what the problem might be?

Thanks in advance for your help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check If the Hierrarchy of the segment is correct. This also will result in Syntax Errors.

1 REPLY 1

Former Member
0 Kudos

Hi,

Check If the Hierrarchy of the segment is correct. This also will result in Syntax Errors.