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 created with errors!

Former Member
0 Likes
1,764

Hello All,

I am sure that I am not posting this in the right forum. But I did this because, I get more responses in this compared to others. Sorry if this has caused any trouble.

I had extended a standard idoc with 2 customer segments and procesed the idoc file. An idoc got created witht he following error message.

EDI: Syntax error in IDoc (mandatory segment missing)

Message no. E0072

Diagnosis

The segment E1EDK14 has the attribute 'Mandatory' in the syntax description of the basic type /IRM/CHGBACKS01 (customer enhancement ). However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.

This error may have been triggered by an unidentifiable segment before the expected mandatory segment.

Procedure

Please check the IDoc or the syntax description of the basic type /IRM/CHGBACKS01 (customer enhancement ).

When we insert new segments, where should we insert? How important is the segment number? Why is this error message even though that mandatory segment is there in the idoc?

Please help.

Thanks,

Lavanya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,523

Lavanya,

if I understood correctly, you have extended a standard idoc with 2 customer segments. Segment number does not matter as long as all mandatory segments are there in the idoc. They all will be sequential.

Have you created a new idoc type? After creating extension you should create a new idoc type. have you created that?

Thanks,

9 REPLIES 9
Read only

Former Member
0 Likes
1,524

Lavanya,

if I understood correctly, you have extended a standard idoc with 2 customer segments. Segment number does not matter as long as all mandatory segments are there in the idoc. They all will be sequential.

Have you created a new idoc type? After creating extension you should create a new idoc type. have you created that?

Thanks,

Read only

0 Likes
1,523

Yes. I had created a new idoc type. In we30, I had created a new idoc type by giving the standard idoc name and the extension.

Read only

0 Likes
1,523

Good. In we82 did you assign the idoc type and extension to the message type u are using?

Dont forget to delete the old one.

Edited by: Naren K Someneni on Jun 2, 2008 3:37 PM

Read only

0 Likes
1,523

Yes. I completed that step too.

Read only

0 Likes
1,523

Hmmm...lets check this....which idoc type are using in your mapping document? You should use the new one.

Read only

0 Likes
1,523

Oh...I had not updated the mapping document with the new idoc type. let me check and will update the thread.

Thanks,

Read only

0 Likes
1,523

As Naren said, plz check the version of the Idoc type to be used.

Try to test the IDoc without any extension and make sure that you pass all the values to the IDoc. Possible that you can find the error too.

Then you can test you extended IDoc with actual values. Hope this might help you.

Read only

0 Likes
1,523

Hi,

I got the following error message.

Basic type ZCHGBCK does not exist

Message no. EA447

Diagnosis

IDoc type ZCHGBCK could not be found.

Procedure

Please enter an IDoc type that exists.

Srinivasan,

I had tested this with the standard idoc and it was perfect. i am having these issues after extension only.

Thanks,

Edited by: Lavanya Boora on Jun 2, 2008 10:55 PM

Read only

0 Likes
1,523

I am wrong here. I think in the mapping document you have to map the standard idoc type in EDIDC-IDOCTP and extension in EDIDC-CIMTP.

I think you must be missing the extension in your maps.