Skip to Content
-1

How Can 1 include have two different enhancement implementation

Mar 21, 2017 at 09:00 PM

86

avatar image

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 .

10 |10000 characters needed characters left characters exceeded
2
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi Mar 22, 2017 at 05:34 AM
2

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" .

Share
10 |10000 characters needed characters left characters exceeded