Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

    • 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.