Enhancements Types in SAP ABAP
Enhancement is like a plug-in that can be used as enhancing function for already developed SAP applications.
Enhancements Types in SAP ABAP and Enhancements Techniques
User-Exits and Customer Exits
Since beginning, User-Exits and customer exits are used as enhancement techniques. User exits are available in the form of subroutines which we called as form routines and customer-exits are available in the form of function modules as a source for user code. These are working like hooks. This function module has a defined interface and has an include program. SAP user would add his functionality in this include program and activate it.
Problem with user exits is that only a single implementation is possible. That means if an enhancement is included in a project that cannot be reused as long as the project is active.
Badi's
Instead of old techniques, present we are using Badi’s which supports multiple implementations. Now several users could create instances of the same object as it followed the OOPS concept.
When ECC 6.0 version came into market, enhancements spots are available.
Implicit and Explicit Enhancements Spots
Enhancement options are position points in ABAP objects(applications) where enhancements can be implemented.
Enhancement spots are used to modify explicit enhancement options.
Enhancement implementations are used to implement the enhancements of the enhancement options, both explicit and implicit.
Implicit enhancements which are available at the beginning of subroutines defined in the standard reports.Edit-> Enhancement operations->show implicit enhancement options. This will highlight all the implicit enhancements in the report.
Explicit enhancements are divided into two types: Enhancement point and Enhancement section.
Enhancement point - SAP has some standard functionality defined for a report, but it may be required that you'll need to add your own code. In this case the code that you'll add will be executed along with the standard code.
Enhancement section - SAP has its standard functionality defines but it may not suit your requirement, in that case you may need to add your code and you'll need that code to be executed only. By this method the existing code is automatically commented and a copy of the same code is available to edit.
You may also read
You may also read
Comments
Post a Comment