Skip to Content

How Can 1 include have two different enhancement implementation

Scenario :

I have two different function group

They contain a same include

When i forward navigated to the include , it has two different implicit enhancement implementation .

How it is possible .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 22, 2017 at 05:34 AM

    I'm not sure to understand your exact case:

    Either you say there's one include with 2 "enhancement implementations" on the same "enhancement option", then yes it's possible

    Or you say that on the same "enhancement option" in the include, there's one "enhancement implementation" for function group 1, and a different one for function group 2. This is also absolutely normal: when you create the enhancement implementation, it's usually only linked to one function group ("compilation unit" as per the ABAP documentation). Only when the "enhancement option" is defined with the keyword "INCLUDE BOUND" (cf ENHANCEMENT-POINT and ENHANCEMENT-SECTION), then the implementations of the option are "bound" to the include and so are shared by all function groups. Implementations ("source code plugins") of Implicit enhancement options are also usually linked to only one compilation unit (to be chosen when the "plugin" is being created), except if the include contains an explicit enhancement option with "INCLUDE BOUND" .

    Add comment
    10|10000 characters needed characters exceeded