Start of Content Area

Background documentation Advantages of ABAP Objects  Locate the document in its SAP Library structure

With ABAP, you do not have to worry about the various advantages and disadvantages of object-oriented and procedural programming. ABAP allows you to use both. With regard to the syntactical possibilities of the ABAP language, you can choose between procedural and object-oriented programming. However, there a number of important reasons for using object-oriented programming – that is, ABAP Objects – wherever possible. Even if you do not want use object-oriented programming, using ABAP Objects is still a good idea since it provides some features that procedural programming does not. There are only two purposes for which procedural ABAP is essential:

·        Encapsulation of classic screens in function modules.

·        When you want to make functions available to other systems, but are not able to make class methods available externally using XI server proxies. In this case, you have to use function modules.

 

Detailed information is available under ABAP Objects.

 

End of Content Area