ā2013 Apr 29 9:04 AM
Hi Experts,
We are facing a problem with custom Inbound Idoc . We are trying to post a goods receipt using a inbound function module .The Idoc is getting failed with a reason of
Message no. ZZ
Goods receipt into Intransit Storage Location failed for the above STO Reference and Supply Purchase Order and Item
This occurs frequently . While trying to reprocess it in foreground using BD87 it's getting self locked by the user itself who is trying to process it.
If you use BD87 to process the Idoc it will just loop for the number of lines on it. If you back out using keys Shift+F3 every line the Idoc will process. We are trying to analyze the reason behind this weird behavior. Please let me know if you have any suggestions or work around for this.
Best Regards,
Lakshman.
ā2013 Apr 29 10:15 AM
Hi
First of all whatever message you are getting check in your inbound FM where this messsage is raised . If it is a custom message you can very easily found why it is raised may be in some enhancement.
Secondly prior to reprocessing just put a break point in posting FM and then start debugging.
Thanks
Nabheet
ā2013 Apr 29 10:16 AM
ā2013 Apr 29 10:28 AM
Hi Lakshmanan,
Could you please check the below thread to process locked Idocs.
ā2013 Apr 29 10:44 AM
Hi Lakshman,
This is caused by programme errror .The error only occurs If you post using function module MB_CREATE _GOODS _MOVEMENT via idoc and if item of different purchase order are transfererd i:e If one delivery is created for several sto .You can check with oss note 191294.
During processing the idoc it is observed that numerous lock are there .The lock are occuuring during to update the the table .Kindly refer the oss note 1052206.
Please do mark it helpful if it would really help you .
Thanks,
Nalini
ā2013 Apr 29 11:42 AM
@Lakshmanan
I already tried the possible ways suggested by you but still it's not getting resolved
@ Nalini
We are not using FM MB_CREATE _GOODS _MOVEMENT , BDC program was being used for transaction MB01 .The OSS Notes suggested by you are not relevant to our current SAP Version.
The error messages getting populated while doing MB01 using BDC is "
ā2013 Apr 29 1:46 PM
Hi Lakshman ,
As you mentioned above you were trying to post goods receipt by using inbound function module .So that I was suggested above path .You did not mention anywhere you wanted it to post through bdc .So as per your requirement instead of use BDC you can use BAPI_GOODSMOVEMENT _CREATE .
Thanks,
Nalini