cancel
Showing results for 
Search instead for 
Did you mean: 

idocs totally processed

Former Member
0 Kudos

Hi everyone:

I have a BPM sending idocs to R/3, each execution into XI send an xml with lots of idocs, Those idocs are being executed through a workflow, the problem is that, probably if the workflow of the first idoc takes long time to finish the exectution the second idoc start the execution before the first finishes.

How can I solve this? in order to ensure that until the first idoc doesn´t finish completely the exectuion the second does not start to process.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I have already configure this setting.

This guarantees that the idocs are received in order but this does not guarantee that the second idoc does not start the workflow until the first one have completely finished the execution.

Any another idea?

thank you anyway

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

>><i>This guarantees that the idocs are received in order but this does not guarantee that the second idoc does not start the workflow until the first one have completely finished the execution.</i>

This I guess then has to be handled on the R3 system. I guess in we20, you would have selected Trigger Immediately. Have not tried / explored this option , but Trigger by Background program should help someway.

Regards,

Bhavesh

Former Member
0 Kudos

I am not using a fork because I am sending all the idocs together into the XML messages through the idoc adapter.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

In your IDOC adapter select the Option <b>Queue Processing</b>. This will make processing of IDOC's EOIO , ie., sequentially.

<i>Queue Processing

If the function module IDOC_INBOUND_IN_QUEUE is to be used, set the relevant indicator. It is used for IDocs that are serialized by queues (quality of service is EOIO). This module is only available in SAP Web AS 6.40 and higher. If it is not available, the function module IDOC_INBOUND_ASYNCHRONOUS is called. The indicator only takes effect in SAP systems Releases 4.0 and higher. Calls for the queue processing function module are placed in the qRFC queue.</i>

Regards,

Bhavesh

Shabarish_Nair
Active Contributor
0 Kudos

if you are using a fork, then try setting the necessary branch option to the total number of branches !!