Skip to Content
0

BAPI_GOODSMVT_CREATE For MB1B

Dec 10, 2016 at 09:50 AM

265

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jürgen L Dec 10, 2016 at 10:58 AM
1

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.

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L Dec 10, 2016 at 10:04 AM
0

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?

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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 ????

0
Jürgen L Dec 10, 2016 at 10:58 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded