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

Inconsistencies when processing Multiple IDocs.

Former Member
0 Likes
494

Hi

When a customized IDoc comes from an external system

to my R/3 System,GRN(mb1c) and Delivery note(vl01n)

documents are created through call transaction.

If one IDoc comes the GRN and Delivery created

correctly. If Multiple IDocs comes arises

inconsinstency. The inconsistency is, GRNs are created

correctly but the Delivery created have items data

wrong ( actuallly it should match with the GRN ).

As per my understanding when multiple IDocs comes

parallel processing of Inbound Function module takes

place, so the inconsistency. If this is right, how

to ensure that only one IDoc processing take place

at a single point of time.

hope i made my problem clear.

Thanks & Regards,

Abhimanyu.L

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
422

Hi Abhimanyu,

u have to make one idoc to be processed at a time.Check the radio button trigger immediately in we20(partner profiles).

Regards,

Nagaraj

3 REPLIES 3
Read only

former_member404244
Active Contributor
0 Likes
423

Hi Abhimanyu,

u have to make one idoc to be processed at a time.Check the radio button trigger immediately in we20(partner profiles).

Regards,

Nagaraj

Read only

0 Likes
422

Hi Nagaraj

I have checked the partner profile,it is triggering

immediately.

Regards,

Abhimanyu.L

Read only

former_member404244
Active Contributor
0 Likes
422

Hi Abhimanyu,

It's an inbound idoc ,so when we write the custom function module , we will loop the idoc_data ryt?

Try like this

read table idoc_contrl into wa_idoc_contrl

where mestyp = 'zmessagetype'.

if sy-subrc eq 0.

loop at idoc_data into wa_idoc_data

where docnum = wa_idoc_data-docnum.

case wa_idoc_data-segnam.

when 'ABC'.

,...

WHEN 'XYZ'.

.....

ENDCASE.

endloop.

endif.

Regards,

Nagaraj