2016 Dec 10 9:50 AM
Hi all,
I have checked all the post related to BBAPI_GOODSMVT_CREATE for the doing GR for the Subcontracting Purchase order.
I am passing below fields to BAPI
movement type : - 541
movement indicator : ' ' ( space as Goods movement w/o reference )
plant , storage location , po number , po item
vendor, material, quantity,UoM,batch
for this bapi when i give movement indicator as below,
Movement Ind : - ' ' : message : Qty and / or "delivery completed" ind. or final issue ind. missing
Movement Ind : - 'B' : messages : PO cannot be created using line item
once MIGO done i am calling custom code where i have called this BAPI .
Now i am not getting how to resolve this issue .
Thanks and Regards,
PRasad KRishna NAralkar
2016 Dec 10 10:58 AM
Maybe you should show the values that you have for all fields that you used, best from a debugging session.
Why do you have a PO number in your BAPI call? MB1B movements are never PO related. If you eventually use a PO reference in MB1B then this is just used as entry aid for the user to default items. This is not needed in a BAPI.
2016 Dec 10 10:04 AM
Can you brief explain the scenario, 541 after a goods receipt does not yet make any sense to me as the components have to be at the vendor before he can produce the material that you received.
Movement Indicators are depending on the GM_Code, unfortunately you have not told about that.
Had you seen the pretty detailed documentation on the function module?
2016 Dec 10 10:42 AM
Hi ,
I am using GM_CODE = '04'
and have read functional document and followed but still not able to rectify that error.
cause if i am doing manually through 'MB1B' it is working finr but in a custom report when i call BAPI and pass above parameters its not working ????
2016 Dec 10 10:58 AM
Maybe you should show the values that you have for all fields that you used, best from a debugging session.
Why do you have a PO number in your BAPI call? MB1B movements are never PO related. If you eventually use a PO reference in MB1B then this is just used as entry aid for the user to default items. This is not needed in a BAPI.
2016 Dec 10 10:58 AM
Maybe you should show the values that you have for all fields that you used, best from a debugging session.
Why do you have a PO number in your BAPI call? MB1B movements are never PO related. If you eventually use a PO reference in MB1B then this is just used as entry aid for the user to default items. This is not needed in a BAPI.