Skip to Content
author's profile photo Former Member
Former Member

Calling BAPI_INCOMINGINVOICE_CREATE in MIGO t-code

Hi Gurus,

Is there any possibility to call the bapi BAPI_INCOMINGINVOICE_CREATE while creating GR(using MIGO t-code)? If yes then at which place can i call that BAPI? Is there any other function available to do this task?

The requirement is to create invoice automatically when a GR is created.

Let me know in case of any clarifications.

Thanks in advance,

Varadharajan.S

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2010 at 03:06 PM

    Hi,

    Use the badi MB_MIGO_BADI method IF_EX_MB_MIGO_BADI~POST_DOCUMENT ...in this method call the program using the statement.....SUBMIT <prg name > WITH <field values> AND RETURN.

    and write the logic inside the program

    Thanks,

    Shailaja Ainala.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Directly you can create but the thing is that if at all you are using the document number just create from migo .....then you cant use that directly because the commit for migo does not happen still..then go for submit..else if its just another data which is been send to the bapi you can use...in the method ...directly

      Thanks,

      Shailaja Ainala.

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.