Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancement section option is disabled. How to enable it ?

v24_2017
Discoverer
0 Kudos

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 !

2 REPLIES 2

Sandra_Rossi
Active Contributor

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.

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.