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

MB31 - material document creation

Hi,

In MB31 when we do a goods receipt, a material document gets created in MKPF. My requirement is some where inside this MB31(may be in a User-Exit), I would like to trigger an event if material document was created successfully. There are some User-Exits avaialble for MB31 but not sure which one to use as I am not sure at what point the material document is being created in MB31. Any help appreciated. Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 08:39 PM

    Hi,

    Try using the BADI MB_DOCUMENT_BADI and use the method MB_DOCUMENT_UPDATE

    OR the user exit.EXIT_SAPLMBMB_001..

    Both are called in the FM MB_POST_DOCUMENT..You will have the material document number available ...

    Thanks

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

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.