2007 Apr 22 12:08 PM
HI,
I know the interface name 'if_ex_workorder_update' which is created for the purpose of BADI implementation, from this how to find out the corresponding name of the BADI.
Regards,
Kasi S
HI,
I know the interface name 'if_ex_workorder_update' which is created for the purpose of BADI implementation, from this how to find out the corresponding name of the BADI.
Regards,
Kasi S
2007 Apr 22 1:31 PM
Searching in SE18, you will see that there a BADI definition called WORKORDER_UPDATE.
Create an implementation for this badi, activate it and you will be ready to go.
Good Luck,
Leonardo De Araujo
2007 Oct 20 7:29 AM
You may use the table "sxs_inter".
1. SE11 (or SE16)
2. Type in table name "sxs_inter", the table has two columns , BADI name, and interface name
3. Click the content icon.
4. Fill in the interface name, and search all BADI names using the interface.
In your program, you may use "select exit_name from sxs_inter where inter_name = ....."
Hope it helps.
Rgs
-Steve
2007 Oct 20 10:30 AM
Hi Kasi,
I have an alternate solution for you.Instead of searching the BADI name from the Interface name,I would suggest you to search for the BADI anme directly from the T-code where you want to extend the BADI.
Follow the steps below to do the same:
Actually,for every T-code,SAP has provided a lot of BADIs where the customer can write their own codes depending upon the functionality required.
In order to find the BAD for a particular T-code,go to the T-code SE24 and type in cl_exithandler and click on Display.
You will get a list of methods in that class,double click on the Get_Instance method from the list.
you will get the code for that method.Scroll down and you will find one of the parameters "Exit Name" there.Put a breakpoint on that function module and press F8.
In the debugging mode,double click on the Exit Name to get the value contained in it.You will see the first BADI provided in that T-code.
Note down this and then keep on pressng the F8 and noting down the BADIs being displayed.
Now ,you will have to find out the BADI which fits your requirement.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.
2007 Oct 21 9:59 PM
Hello Kasi
There is a very simple and straightforward way to find the BAdI belonging to an interface. Your interface IF_EX_WORKORDER_UPDATE belongs to BAdI <b>WORKORDER_UPDATE</b>.
Following is the searching procedure:
1. Display interface class builder (SE24).
2. Push application toolbar button <i>Display Object List </i>(CtrlShiftF5)
Alternatively: Display interface directly in SE80.
3. Push button <i>Superordinated Object List</i> -> shows package assignment of interface
4. Browse the BAdIs of this package
I assume that in almost all cases the corresponding pair of BAdI and interface belong to the very same package.
Regards
Uwe
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |