Skip to Content

BAPI_GOODSMVT_CREATE issue in created document for 551

I have created material doucment for 551 GI scrap with bapi,but when i go to MIGO or MB51 there is no such entry exist...please help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 17, 2016 at 10:35 AM

    Hello Harshal

    Please have a look at the CodeSample by Rich Heiliman in this older Community-Post as an example : link

    This provides a good starting point to make the Scrapping work via the BAPI or can be a means of comparison to your code ...

    Let us know how it goes ...

    Nic T.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 16, 2016 at 08:48 PM
    • When using the BAPI, can you give us the ErrorMsg?
    • You have followed up the execution of the BAPI with a Commit or Rollback, right?


    Please provide more info on your issue ...

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2016 at 04:43 AM

    Hi Harshal,

    it seems that when you run the bapi. the document is created but you cant see that document.

    if this is the case than you need to run BAPI_TRANSACTION_COMMIT immediately after BAPI_GOODSMVT_CREATE.

    for that in se37 go to function module> execute> test sequence enter both bapi and run one by one.

    regards,

    Solomon

    Add comment
    10|10000 characters needed characters exceeded