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 Problem

Former Member
0 Likes
775

I have created the extention IDOC for INVOIC02 with the name ZINV.

I have established the relation for the same in WE82 with the messages type INVOIC.

When I execute the IDOC i see that the INVOIC01 is also getting populated with the Extention IDOC segment and hence I am getting an error no. 26.

Can someone tell me how this can be sorted out?

Thanks,

Shashi Devi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
737

Hi,

Mostly u will get error status of 26, when there is mismatch in mapping of segments to data.

i.e when u have child segments inur idoc type, and those child segments are mismatched in ur function module while populating the data.

so can u concentrate on child segments data population.

Revert back if any issues,

Reward with points if helpful.

Regards,

Naveen

6 REPLIES 6
Read only

Former Member
0 Likes
737

Is the extension name on the control record. Have you specified the extension name on the relevant partner profile.

Also, are the new segments in the correct position on the IDoc according to WE60.

Read only

Former Member
0 Likes
737

Hi Shashi,

Check the process code. we41 or we42

Since you have extended the IDOC TYPE check the function module associated with it in transaction we57

Regards

Arun

Read only

Former Member
0 Likes
738

Hi,

Mostly u will get error status of 26, when there is mismatch in mapping of segments to data.

i.e when u have child segments inur idoc type, and those child segments are mismatched in ur function module while populating the data.

so can u concentrate on child segments data population.

Revert back if any issues,

Reward with points if helpful.

Regards,

Naveen

Read only

Former Member
0 Likes
737

Naveen , I see the segment populated under the IDOC INVOIC01 which dosent have the extended IDOC?

Extention IDOC is created only for INVOIC02

Read only

0 Likes
737

Hi Shashi,

Have u assigned the new Idoc type , Message type and Function Module through WE57?

Revert back if any issues,

Regards,

Naveen

Read only

Former Member
0 Likes
737

Hi Devi,

Can you try out with recreate the all the process after deleting the extended IDOC.

- Now while extending you have to extend the idoc with option ‘create new’ and in that you have to choose correct ‘linked base type’.

- And also you need make sure in the partner profile configuration and if it is outbound you have to give the extended idoc name along with basic idoc name.

You just try it out.

Regards,

vijay