Skip to content

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

Implicit Enhancement Options

In addition to enhancement options that can be created explicitly using ENHANCEMENT-POINT and ENHANCEMENT-SECTION, implicit enhancement options 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 with BEGIN OF and END OF before the statement with the END OF addition

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

  • The include program is not included in a framework program.
  • The include program is included more than once in a framework program.
  • The include program is included in multiple programs, and none of these programs is selected as a relevant framework 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 option (that is, an option defined using the addition INCLUDE BOUND).

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

Other versions: 7.31 | 7.40 | 7.54


Note

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