cancel
Showing results for 
Search instead for 
Did you mean: 

IDOCs poted by PI are failed bcoz data is locked by PI under previous IDOC

Former Member
0 Kudos

Hi,

We have a sceanrio Where we are posting IDOC from PI to ECC. We are facing an issue that When we are posting IDOCs by PI into ECC, sometimes the data that Current IDOC is trying to process, its alreday locked by the previous IDOC that PI submitted.

Like at the same time, PI submits two same idocs.and one is in process, so second fails bcoz data is locked by the first one.

Can anybody suggest a soultion, how to queue them so that seocnd one should wait till first is procssed and data is released.

Thanks

-Kulwant

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

u can make cotrol using the bpm..

regards

krishna

former_member200962
Active Contributor
0 Kudos

You need to implement EOIO for your receiver IDOC CC:

/people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter

In the Receiver IDOC CC select the Queue Processing check-box..

Also check: http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm

From the above link:
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.

Regards,

Abhishek.

Edited by: abhishek salvi on Jul 3, 2009 3:48 PM

Former Member
0 Kudos

Hi Kulwant,

You can prioritize the messages in PI .

Or change the Quality of Service to EOIO at adapter level

Regards,