Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
mohammed_anzys
Contributor
0 Kudos

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.

4 Comments