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

BADI MB_DOCUMENT_BADI

Hi Guys,

Can any body tell me how to know that a particular BADI is used in some Transactions?

In my project i am using MB_Document_BADI when i used this BADI for populating values in custom Table.i Created a program which i implemented this BADI so whenever a material number is created it should populate the values in th Custom Table,But its not populating the values in custom table when i created a Material Document number thru MB1C tr code So can any body tell me how to solve this problem?

Is ther any other BADI which populates the value in a custom Table for Material Number creation thru any transaction like MIGO ,PGI ,MB1C .....etc.

Plzz Reply.

Thanks,

Gopi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 27, 2006 at 12:15 AM

    Hi,

    First check the BAPI Implementation method code for any restrictions on transaction codes.

    Check the below BADIs

    MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF

    MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens

    MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data

    Thanks,

    Ramakrishna

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 27, 2006 at 06:12 AM

    Hi Gopi,

    There are multiple ways of searching for BADI.

    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE

    • Finding BADI Using SQL Trace (TCODE-ST05).

    • Finding BADI Using Repository Information System (TCODE- SE84).

    •Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE

    Go to the Transaction, for which we want to find the BADI,

    Get the Program Name of Corresponding Transaction.

    (Click on System->Status. Double Click on Program Name)

    Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.

    Make sure the radio button “In main program” is checked.

    A list of all the programs with call to the BADI’s will be listed.

    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it.

    The changing parameter ‘INSTANCE’ will have the interface assigned to it.

    •Finding BADI Using SQL Trace (TCODE-ST05).

    /people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it

    •Finding BADI Using Repository Information System (TCODE- SE84).

    Go to “Maintain Transaction” (TCODE- SE93).

    Enter the Transaction VD02 for which you want to find BADI.

    Click on the Display push buttons.

    Get the Package Name. (Package VS in this case)

    Go to TCode: SE84->Enhancements->Business Add-inns->Definition

    Enter the Package Name and Execute.

    So I think u can find the BADI for that Transaction by the methods mentioned above. Do Reply for any further assistance.

    Regards,

    Ranjit Thakur.

    <b>Please Mark The Helpful Answer.</b>

    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.