Implicit Enhancement Options

download Implicit Enhancement Options

of 1

Transcript of Implicit Enhancement Options

  • 7/23/2019 Implicit Enhancement Options

    1/1

    Implicit Enhancement Options

    In addition to enhancement optionsthat can be created explicitly using ENHANCEMENT-POINTand

    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 ENDstatement)

    Before the first and after the last line of a source code plugin(after ENHANCEMENTand before

    ENDENHANCEMENT)

    At the end of a !isibility 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 OFand END OFbefore the statement with the END OFaddition

    "he enhancement implementations for implicit enhancement options can only e!er be appended to a singleframewor# program, which means that the implicit enhancement options are not a!ailable in include programswhen the following applies:

    "he include program is not included in a framewor# program.

    "he include program is included more than once in a framewor# program.

    "he include program is included in multiple programs, and none of these programs is selected as a

    rele!ant framewor# program in ABAP $or#bench.

    "he include program is included in multiple programs and at least one of these programs contains an

    includebound explicit enhancement option (that is, an option defined using the addition INCLUDE

    BOUND).

    "o ma#e implicit enhancement options !isible in the ABAP %ditor, choose Edit Enhancement Operations Show Implicit Enhancement Operations. "hey can be enhanced in using source code enhancementsin thesame way as explicit enhancement options.

    Note

    "he !isibility sections of global classes and the parameter interfaces of function modules and global methods

    also contain implicit enhancement options. "hese can be displayed and enhanced in &lass Builder or 'unctionBuilder.