Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Enhancements →  Source Code Enhancements 

Implicit Enhancement Points

In addition to enhancement points that can be created explicitly using ENHANCEMENT-POINT and ENHANCEMENT-SECTION, implicit enhancement points exist in the following places in ABAP programs:

  • After the last line of the source code of executable programs, function groups, module pools, subroutine pools, and include programs.
  • Before the first and after the last line of the implementation of a procedure (after the introductory statement and before the END statement)
  • Before the first and after the last line of a source code plug-in (after ENHANCEMENT and before ENDENHANCEMENT)
  • At the end of a visibility area in the declaration section of a local class
  • At the end of a list of formal parameters of the same name at the declaration of local methods
  • In structure definitions using BEGIN OF and END OF before the statement with the addition END OF.

The enhancement implementations for implicit enhancement points can only ever be appended to a single master program, which means that the implicit enhancement points are not available in include programs when the following applies:

  • The include program is not included in a master program.
  • The include program is included more than once in a master program.
  • The include program is included in multiple programs, and none of these programs is selected as a relevant master program in ABAP Workbench.
  • The include program is included in multiple programs and at least one of these programs contains an include-bound explicit enhancement point (that is, a point defined using the addition INCLUDE BOUND).

To make implicit enhancement points visible in ABAP Editor, choose Edit → Enhancement Operations → Show Implicit Enhancement Points. They can be enhanced by using source code enhancements in the same way as explicit enhancement points.

Other versions: 7.31 | 7.40 | 7.54


Notes

  • The visibility sections of global classes and the parameter interfaces of function modules and global methods also contain implicit enhancement points. These can be displayed and enhanced in Class Builder or Function Builder.

  • AMDP methods do not have any implicit enhancement options.