User Exits,Customer Exits,BADI and BTE基本概念
生活随笔
收集整理的这篇文章主要介绍了
User Exits,Customer Exits,BADI and BTE基本概念
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
| Basic Concepts: 1. User Exits:是系统中预留的一些空的Form/Subroutine,获得Access key后可以在Form中写入自己的逻辑。 2. Customer Exits:
3. Enhancement & Enhancement Project:
4. BADI (Business Add-in),通过面向对象的方式来提供扩展点,它支持Customer Exits所有的enhancement 类型,因目前Class中不能包含subscreen所以在用BADI enhance screen时比用Customer Exits要复杂些。 这里要提下的是非Multiple Case的BADI同时只能有一个Active Implementation,即要Active新生成的需先inactive旧的。若是Multiple Case的BADI则可同时有多个Active Implementation,且所有的Implementation在没有Filter的情况下都会被遍历执行。 5. Other User Exits与Customer Exits的区别在于User Exits的使用需要Access Key但Customer Exits不要。 FM exits在关联的Function Group中的命名规则为:EXIT_program name_nnn Customer exits的调用方式为:
How to find user exits? Using t-code: SE93 and specify the transaction code. from here goto the main program and click on the FIND button. Specify USEREXIT and select find in main program radio button and click search... if any user exit is used, it will list all the places as in SAP if any user exit is used, a comment is been written above the user exit. How to find customer exits? 1. 通过一些专门的程序,如:利用t-code查找增强出口的程序工具 2. Search string “call customer” in the main program source code; 3. SE80 -> Repository Infomation System -> Enhancements -> Customer Exits -> Input search condition -> Execute 4. SE11 -> Database table: MODSAPVIEW -> Display Contents -> Input "*program name*" into Enhancement field -> Execute -> 得到的SAP extension name 即为 Customer Exits Enhancement Name How to find BADIs? 1. 通过一些专门的程序,如:一个功能非常全面的增强出口查找工具 2. Search string “type ref to” in the main program source code, then check if there is BAdi used in the program; 3. Set break-point in the method CL_EXITHANDLER=>GET_INSTANCE. 4. SE80 -> Repository Infomation System -> Enhancements -> Business Add-ins Customer Exits and BADI implementation. 1. Customer Exits: SMOD, CMOD 2. BADI: SE18, SE19. |
总结
以上是生活随笔为你收集整理的User Exits,Customer Exits,BADI and BTE基本概念的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: SAP 采购订单进项税VOFM 例程增强
- 下一篇: 定义利润中心(Profit Center