如果你知道一個BADI名稱,可以:
1)使用SE18,輸入該BADI名稱后,選擇Interface,然后查看對應的接口實施樣例代碼(Example implementation clasee)
2)使用SE19,對該BADI接口實現(第一次實現接口要選擇創建Create Implementation)
SE18 is used for creating BADI Definition
SE 19 is used for implementing BADI
i.e BADI Implementation
The definition can be created through SE18
& Implementation will be done through SE19.
*
BADI Definition.
1).Start transaction SE18 and give the BADI name.
2)Now you will see the methods and parameters used in that BADI.
3)Now you have to choose the appropriate method in the BADI.
4)The import parameters within the methods will contain the runtime values.
BADI Implementation
1)Now start transaction SE19 and give the implementation name.
2)Now you can see implementation linked with the BADI and also the class for the implementation will be displayed.
3)When you double click on the method it will take you to the editor where you will be coding.
4)Now the BADI should be activated.
5)Also the BADI can be deactivated using deactivate button.