Skip to Content
-1

Enhancement section option is disabled. How to enable it ?

Apr 06, 2017 at 05:03 AM

49

avatar image
Former Member

Hi,

I am trying to create custom enhancement section in a Z ABAP program. I could create the enhancement spot.

However, when I right click on the line -> enhancement operations -> create option. The pop-up screen only has "enhancement Point" radio button option active and there is no way, I can see, option for selecting radio button "enhancement Section" as it is already disabled.

Any suggestions on this ? Any settings to be changed or am I missing anything ?

Thank you !

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

1 Answer

Sandra Rossi Apr 06, 2017 at 06:47 AM
1

I think you're confused with the concept. First of all, it's unusual to create "exit points" in a custom program, but if you have several teams in your company or want to organize a complex custom program then enhancement points or sections can be useful. For creating an enhancement point or enhancement section, just type the respective ABAP statements in your source code (ENHANCEMENT-POINT or ENHANCEMENT-SECTION (your code) END-ENHANCEMENT-SECTION, save, and that's it. No need of right click (which is for creating enhancements/implementations). Later, teams can create one (or more) alternative code of your enhancement section.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

The aim is transport the custom report to another system having different namespace. So to allow users to add their own code to the existing logic there is a plan to create enhancement points and sections in the code.

1