Skip to Content
avatar image
Former Member

BAPI_GOODSMVT_CREATE For MB1B

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 10, 2016 at 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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 10, 2016 at 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?

    Add comment
    10|10000 characters needed 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 ????

  • Dec 10, 2016 at 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.

    Add comment
    10|10000 characters needed characters exceeded