Generally Enhancements Framework enhancements are referred as New Enhancements. They provide more flexibility compared all of its predecessors (user exit, customer exit, BADI).
We would learn more about the course of various articles.
Various Types of Enhancements
There are 2 enhancement concepts:
- Explicit Enhancements – Explicit enhancements are similarly provided by SAP at various point of the code. They are provided with ENHANCEMENT-POINT and ENHANCEMENT-SECTION. The basic is ENHANCEMENT-POINT is the empty placeholder for the code whereas ENHANCEMENT-SECTION is the placeholder with default code.
- Implicit Enhancements – Implicit enhancements are not delivered by SAP in the code, but SAP has given flexibility to implement them at various locations
- Beginning of the Subroutine/Method/FM/Include
- End of the subroutine/Method/FM/Include
- Class Enhancements – Pre/Post/Overwrite method
- FM Enhancements – Additional Parameters
Enhancement Implementation
In order to put your code into any of the enhancement, you would need to create an implementation for that. If you found an explicit point, you can create the implementation for that point. You implement the logic in your implementation. At run time, system determines how many active implementation exist in the system for that point and executes them.
You can navigate from your implementation or open an implementation in the Enhancement Builder. Enhancement Builder is an integrated tool in SE80 to help you with Enhancement implementations.
No comments:
Post a Comment