12 - Enhancements and Modifications
12 - Enhancements and Modifications
Explict Enhancement - Explicit point & Section are available at any point. We will
create the Explicit implementations using those points and sections.
Enhancement-point -- You can only add additional codes, you cannot change or
replace the existing code.
1. It will not give default implementation.
2. Along with standard code your implementation also executed
3. You can only add additional codes, you cannot replace the
existing code
Program : LEINBF0M
Ways to Find a Customer Exit - 1) Put the break-point on the statment CALL
CUSTOMER-FUNCTION.
2) Put the package name in SMOD transaction
code( Path : Utilities - Find - Package name).
3) Go to transaction code - SE84( Path :
Enhancements - Customer Exits)
Screen Exit->
User Exit.
User Exit are modifications. They are only available in SAP SD( Sales &
distribution) module.
They are available in the form of a Sub routines.
The Most Important User Exit's of SAP SD module are available in program :
MV45AFZZ.
FORM USEREXIT_MOVE_FIELD_To_VBAK.
ENDFORM.
BADI
1) BADI is an Enhancement.
2) The full form of BADI is Business ADD In's.
3) It is based upon OOPS concepts( Interfaces & Classes).
4) SE18 -> BADI Definition( Interface)
5) SE19-> BADI Implementation( Classes)
Types of BADI:
1) Classic BADI
2) New BADI( Kernel BADI)
1) We can use SAP class - CL_EXITHANDLER. In this class we have the method name -
GET_INSTANCE.
2) Pass the package name in SE18 transaction code
( Path : Click on F4 help of BADI name->New Selection->Pass the package name).
3) Pass the package name in SE84 transaction code(Enhancements-Business Addin's-
Definition).