Skip to Content

This is in continuation to my previous blog , in this edition we will be exploring more on enhancing a class. Class enhancements are very crucial to the customer as recent product developments are happening through ABAP classes. ABAP class enhancement framework is very flexible enough to include customer requirements. In class enhancements , customer could add new interfaces , attributes , post exit , pre exit etc which in turn helps the customer  to extend the functionality according to their requirements.


For enhancing the class go to Class->Enhance option



Provide an enhancement implementation , this will be associated with the package switch. So the class enhancement will work only when the package switch is turned on.



Once you provide the enhancement implementation , you will be able to enhance the class by adding attributes, interfaces and post / pre exits. The enhancement implementation name will be mentioned against your enhancements.



You could also provide PRE/POST exits for the existing methods by which customer can control the existing functionality. For this , go to the Edi->Enhancement Operations menu add choose the operation that you want to perform.



Pre/Post exit option will be enabled only for the specific enhancement implementations for which the enhancements were created.



With these class enhancements , customer can add complex functionalities to the existing standard code.

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. You have just shown an explicite way of using enhancement spot in classes which is quite trivial. It would have been a gr8 blog if there was a supporting example to pinpoint the usage.


    1. Mohammed Anzy S Post author
      Hi Shrita,
        The purpose of that blog was to just show what needs to be done to enhance a class , its true that i didnt cover it with an example.It will be done in the coming blogs.It will be confusing if i cover everything in one blog .
      1. Former Member
        Hi Mohammed
        The blog was really useful. As you mentioned have published your blogs with examples, I was not able to find. If you have done it, please provide us the link.

Leave a Reply