filmov
tv
34.Enhancements in SAP ABAP - Part 1

Показать описание
34. Enhancements USER_EXITS, Customer Exits, BADI, Enhancement framework in SAP ABAP - Part 1
2023/04/10 14 58 05
Adding additional features to the standard SAP applications, without changing the standard functionality.
1. USER_EXITS
Based on subroutines FORM - ENDFORM. Available in standard programs, the name starts with USEREXIT_Name. Need access key to add the code to user exit subroutine. Follows procedural programming, no multiple implementations possible.
How to find the USEREXIT? Search using Keyword 'USEREXIT_' in the program.
2. Customer Exits
Follows procedural programming approach. Use function modules to add custom code. Only a single implementation is possible. No access key is required. SMOD is to find the customer exit, and CMOD is to create the project for the customer exit.
-Program-Package name-SMOD-F4-Enter package-search
Open the Tcode-- Program-- Search 'CALL CUSTOMER'
3. BADI - Business Add-In
Follows object-oriented programming approach. It contains the interface methods.
Multiple implementations are possible. A class will be created automatically to implement the interface methods.
SE18 - BADI Definition SE19 - Create BADI Implementation
*To find, Keep the breakpoint at CL_EXITHANDLER Get_instance class method and execute the standard tcode, the method will return the available BADIs. Find Package- Enter in SE80 to find all BADIs available.
4. Enhancement Framework Implicit/Explicit
2023/04/10 14 58 05
Adding additional features to the standard SAP applications, without changing the standard functionality.
1. USER_EXITS
Based on subroutines FORM - ENDFORM. Available in standard programs, the name starts with USEREXIT_Name. Need access key to add the code to user exit subroutine. Follows procedural programming, no multiple implementations possible.
How to find the USEREXIT? Search using Keyword 'USEREXIT_' in the program.
2. Customer Exits
Follows procedural programming approach. Use function modules to add custom code. Only a single implementation is possible. No access key is required. SMOD is to find the customer exit, and CMOD is to create the project for the customer exit.
-Program-Package name-SMOD-F4-Enter package-search
Open the Tcode-- Program-- Search 'CALL CUSTOMER'
3. BADI - Business Add-In
Follows object-oriented programming approach. It contains the interface methods.
Multiple implementations are possible. A class will be created automatically to implement the interface methods.
SE18 - BADI Definition SE19 - Create BADI Implementation
*To find, Keep the breakpoint at CL_EXITHANDLER Get_instance class method and execute the standard tcode, the method will return the available BADIs. Find Package- Enter in SE80 to find all BADIs available.
4. Enhancement Framework Implicit/Explicit