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

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

Former Member
0 Likes
1,038

Hi All,

have created a new reduced message type for our new vendor A/C group through BD53. Also done reqd config for sending the vendor master through this message type. .

I have created couple of vendors for testing with X01 with withholding tax functionality and when try to send these vendors , Idocs are getting failed .

When I create vendor without withholding tax functionality , idoc is getting posted succesfully . If create vendor with entries in the feild whih are related to withholding tax . Idocs are getting failed .

If I see the status in WE05 ,Idocs which are posted succefully are showing the basic type as CREMAS03 . For idocs which are getting failed have the basic type as CREMAS04 and also the extension as Z1CREMAS . I don`t understand why the system is defaulting CREMA04 & Z1CREMAS when I send the vendor master with withholding tax feild entries.

I am not much familiar with ALE /Idoc set up. Please can any body help me to resolve the issue.

The error message in we05 as below

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

Message no. E0078

Diagnosis

The segment Z1LFA1M does not occur at the current level of the basic type CREMAS04 (extension Z1CREMAS).

This error can have several reasons:

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

The segment Z1LFA1M does not exist in the syntax description of the basic type CREMAS04 (extension Z1CREMAS).

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 CREMAS04 (extension Z1CREMAS).

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
460

after adding those segments you need to release it.

check it menu you can see the release option, you need to release it.

then only it will work.

Read only

0 Likes
460

Hi,

I don`t understand what do you mean release after adding segment.

Message type works i.e. Idoc get posted if I send with the vendor w/o withholding tax field entries. Idoc fails when send vendor with withholding tax field entry.

Regards