cancel
Showing results for 
Search instead for 
Did you mean: 

Sending IDOC

Former Member
0 Kudos

Hi,

I am getting Purchase order nos from legacy Using JDBC adapter and sending goods receipt IDOC to SAP using BPM.If I receive same PO to XI ,it generates error IDOC says that " PO is locked by another IDOC".I have tried using wait option in BPM ,but i cant give interaval in seconds. So I gave 1 minute,it takes long time to generate IDOC which I dont want .

Thanks,

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Ravi,

you have to use a correlation in your BPM on PO number. You send send only the next IDOC if the acknowledgement of the IDOC before is back in the BP. If a new message comes from JDBC you have to collect it. If all acknowledgements was sent back, you can end the process.

Regards,

Udo

Former Member
0 Kudos

Hi Ravi,

You have to check with the way the IDocs are getting processed in the R/3. this error is generally due to parellel processing. Check if you can do them sequentially and avoid using BPM to control this.

Regards

Vijaya