‎2006 Sep 07 7:24 AM
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
‎2006 Sep 07 7:52 AM
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
‎2006 Sep 07 7:52 AM
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
‎2006 Sep 07 7:57 AM
Hi Nagaraj
I have checked the partner profile,it is triggering
immediately.
Regards,
Abhimanyu.L
‎2006 Sep 07 8:07 AM
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