Skip to Content
avatar image
Former Member

Enhancement section option is disabled. How to enable it ?


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 !

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 06, 2017 at 06:47 AM

    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.

    Add comment
    10|10000 characters needed 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.