明天花30分 再研究下这个:
如果你知道一个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.