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