Skip to Content
0
Former Member
Jan 02, 2008 at 01:18 PM

IDOC getting processed in reverse order

58 Views

Hello All,

In our system whenever changes are made in the customer master an IDOC is generated.

In my scenario i have created a ship to party for which an IDOC got generated as say 10.

Now i add this ship to the sold to party due to which another IDOC got generated Say 20.

Now in the partner profile settings we ahve the customization setting to process the IDOC immedialtely.

So on saving a customer master automatically a IDOC with status '03' got generated.

At night program RBMOIND is executed to process the IDOC in status 03 to send to the subsystem and change the status to 12.

In this program data is retreived from the table EDIDS for the IDOC with status '03'.

We are selecting the field TID from the table EDIDS.

And then this field is split in the fields of structure arfctid.

Now a sort is done on the retrieved data.

In our scernario the value that got updated in TID field for the IDOC 20 is smaller as compared to IDOC 10.

So due to which the IDOC 20 got processed earlier than IDOC 10.

Can anybody please let me now why this particular problem is occuring.

At the same time can anybody tell me how the entry in the field TID of table EDIDS got updated.Is there any logic in program RSEOUT00 that change the status of IDOC from 30 to 03 written based on which it gets updated.

Thanks,

Mohit