Ø Implicit enhancement option
- Throughout the ABAP system, enhancement options are automatically available at certain pre-defined places like
- v At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
- v At the beginning and end of all FORM subroutines
- v At the end of all Function Modules
- v At the end of all visibility areas (public, protected and private) of local class
- To view all the implicit options available in a source code, menu path is
- v Edit à Enhancement Operations à Show Implicit Enhancement Options
- Place the cursor on any of these implicit options and choose ‘Create Enhancement’ from the menu to implement it .
Explicit Enhancement Option
ØExplicit enhancement option
wThere are two types of Explicit Enhancement options available:
v Enhancement Point- which can be provided at a specific place
v Enhancement Section- can be used to replace a set of statements
w When the Enhancement-Section is implemented--
- v Only the implementation gets executed and the original code doesn’t get executed
- v It is a new technique indeed, which didn’t exist previously in any of the old ways of enhancing, to exclude any standard SAP code from execution
- v Because of this, there can be only one active implementation of an Enhancement-Section
- w On the other hand, there can be multiple active implementations of an Enhancement-Point,
- in which case all the implementations will be executed with no guarantee in the order of execution.
No comments:
Post a Comment