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
2,032

Hi guys,

help needed!!!

I get following error message:

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

Message no. E0078

Diagnosis

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

This error can have several reasons:

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

The segment Z1EDPDO does not exist in the syntax description of the basic type ORDERS02 (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.

Procedure

Please check the IDoc or the syntax description of the basic type ORDERS02 (extension ).

I tried to add a new segment to IDOC ORDERS02.

This segment should be Z1EDPDO and it should be a child segment to E1EDP01.

I created everything acording to the guide and releas both the segement as well as the extension, but I get this error message.

Do you know what I can do?

Kind regards,

Barbara

PS: I need it to send the Idoc of Purchase Orders via EDI (RSNAST00) to XI (SUS).

4 REPLIES 4
Read only

Former Member
0 Likes
879

You created extension and released it. up to that fine. Have you changed configuration settings accoring to that. I mean in partner profiles(we20) have you maintained extension and distributed the Distribution model again (BD64)..

Here is a Check List for IDoc extensions..

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/content.htm

Read only

0 Likes
879

Hello,

sorry - I have extended the basis type according to this check list.

I have checked WE20 the partner profiles, which already existed and insert the new extension. In BD64 I generated the partner profile again - do I have to distribute here anything? what do I have to do?

To give you further input:

We used User Exit EXIT_SAPLEINM_002

Include ZXM06U02

CHECK int_edidd-segnam = 'E1EDP01'.

  • ... the data is filled from MARA...

CLEAR int_edidd. "Arbeitsbereich leeren

int_edidd-segnam = 'Z1EDPDO'.

z1edpdo-doknr = mara-yyzeinr.

z1edpdo-dokvr = mara-yyzeichnindx.

int_edidd-sdata = z1edpdo.

APPEND int_edidd.

Did we forget something?

Kind regards,

Barbara

Read only

ferry_lianto
Active Contributor
0 Likes
879

Hi,

Please add the following inside the user exits.

1. Add a check for CONTROL_RECORD_OUT-RCVPRN = <logical system>.

2. If found, set CONTROL_RECORD_OUT-CIMTYP with IDoc extension name.


CHECK CONTROL_RECORD_OUT-RCVPRN = 'SAPXI'.
 
MOVE 'ZORDER01' TO CONTROL_RECORD_OUT-CIMTYP.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
879

Thanks for help!

Kind regards,

Barbara