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: 

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

Former Member
0 Kudos
695

Hi,

I am getting error "EDI: Syntax error in IDoc (segment cannot be identified)" when trying to send purchase order to CIM(Outbound System).

Current Status : 26

Please find the error description below:-

The segment E1EDK14 does not occur at the current level of the basic type ORDERS04 (extension ).

This error can have several reasons:

The segment E1EDK14 is assigned to a group whose header segment does not occur.

The segment E1EDK14 does not exist in the syntax description of the basic type ORDERS04 (extension ).

The sequence of segments in the group in which the segment appears is incorrect.

Previous errors ('mandatory' segment or group missing) may be due to this error

Please do the needful help.

Regards,

Laxmi.

3 REPLIES 3

Pawan_Kesari
Active Contributor
0 Kudos
276

Hi Laxmi,

The definition of idoc type defines the structure of message in terms if segment order, number of occurance and parent segment.

You can see the structure in WE30 for idoc type ORDERS04 .

When a message is generated for a particular idoc type, system carry out syntax test against this definition in WE30.

Compare you message against idoc type in ORDERS04 in WE30, I am sure you will find difference.

Regards,

Pawan.

Edited by: pawankesari on Oct 12, 2011 7:02 PM

Edited by: pawankesari on Oct 12, 2011 7:02 PM

oleg_sukharenko
Explorer
0 Kudos
276

If standard syntax check for the IDoc message type is not relevant for your set up, just go to Partner Profile and "uncheck" the "Cancel Processing after syntax error" check box.

1. WE20

2. Click on the partner profile you use for the Message type

3. Find message type and double click on it

4. in "Outbound Options" TAB, in the right bottom corner uncheck the "Cancel Processing After Syntax Error" check box

Hope it helps

Edited by: Oleg Sukharenko on Mar 6, 2012 10:17 PM

0 Kudos
276

Thank you