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 segment order problem

Former Member
0 Likes
2,117

Hello,

I'm having a problem with an idoc.

It has always worked correctly, but suddenly, for one specific partner,

the order of the segments in the idoc is messed up, and it ends in an error.

I checked the structure of the idoc, and the idocs that end in an error do not start with the

normal header segment.

What could be the cause of this?

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,336

Hi,

Is this and outbount Idoc or Inbound Idoc... Generally if there is any syntax error in the IDOc all the segments will be messed up. Try to check if all the fields are passed correctly to the Idoc.

Thanks

Aparna

5 REPLIES 5
Read only

former_member404244
Active Contributor
0 Likes
1,336

Hi,

if this is a standard idoc, then please check if any exit/badi/enhacement point is used to modify the idoc data.

If it is a custom idoc then check the logic for the partner.

It seems there is issue with idoc data which is modified wrongly.

Regards,

Nagaraj

Read only

0 Likes
1,336

Thanks. It is a standard Delfor02 idoc. There is a user exit, but it has been in place since a long time and it worked well up until a few days ago. Nothing changed in the user exit, and for other partners it still works well. We are checking the partner profile now...

Read only

0 Likes
1,336

Hi,

then please check for the new partner, i believe few things might be added with respect to this partner only.. Thats why it is working for other partners not the newly added partner..

Regards,

Nagaraj

Read only

Former Member
0 Likes
1,337

Hi,

Is this and outbount Idoc or Inbound Idoc... Generally if there is any syntax error in the IDOc all the segments will be messed up. Try to check if all the fields are passed correctly to the Idoc.

Thanks

Aparna

Read only

TuncayKaraca
Active Contributor
0 Likes
1,336

Compare incorrect IDoc with a correct one, probably there are extra segments in incorrect IDoc. Then check IDoc type for these extra segments:

  1. If the segment doesn't exist in IDoc Type, that's the problem
  2. If the segment exist in IDoc Type, check process program how it's populated.