Enhancements_Doc
Enhancements_Doc
Allows to add own functionality to SAP's standard business applications without having to
modify the original applications
Types of Enhancements:
1. User Exit:
Initially SAP implemented enhancements in the form of User Exits
User exits are implemented in the form of subroutines and hence are also called as
FORM EXITS
User exits are empty subroutines that SAP developers have provided for you, you can
add your own source code in the empty subroutines
All user exits start with the word USEREXIT.
Only available in SD module
FORM USEREXIT_XXX_YYY
ENDFORM
2. Customer Exit:
Available in all SAP modules
Customer Exit are Function Modules with a custom empty include program, you can add
your own functionality in these include programs.
Also called as FUNCTION EXIT
Starts with CALL CUSTOMER word
Real-Time projects:
Country & Destination validation for customer creation ( XD01 / XD02 )
Difference:
Steps:
ENHANCEMENT 1 ZXXXX_YYYY.
*****Custom Code********
ENDENHANCEMENT.
6. Save & activate the function module and will find the implicit enhancements.
Explicit Enhancement:
Types:
1. Customer Exit
2. User Exit
3. BADI
User Exit:
Syntax:
FORM USEREXIT_XXX….
INCLUDE ZZUSEREXIT…
ENDFORM.
Steps: