‎2007 Sep 24 7:24 AM
What is difference between ALV function module and ALV object oriented.
which one is more advantages.
‎2007 Sep 24 7:32 AM
ALV via FM lets you make an ALV grid using a function module as it used to be the case till ECC 4.6
However since then SAP has introducted OOP hence have brought out a new method to create ALV via Classes.
The latter (via OOPs) is better because of the sheer flexibility it gives you to perform operations on the ALV by using the classe's methods.
Hence if you are planning to learn ALV I recommend using OOP instead of FM.
PS: If this answers your question please reward points and close the post.
Regards.
‎2007 Sep 24 7:32 AM
ALV via FM lets you make an ALV grid using a function module as it used to be the case till ECC 4.6
However since then SAP has introducted OOP hence have brought out a new method to create ALV via Classes.
The latter (via OOPs) is better because of the sheer flexibility it gives you to perform operations on the ALV by using the classe's methods.
Hence if you are planning to learn ALV I recommend using OOP instead of FM.
PS: If this answers your question please reward points and close the post.
Regards.
‎2007 Sep 24 7:44 AM
Before R/3 Release 4.0, the nearest equivalent of objects in ABAP were function modules and function groups.
In the past, information systems used to be defined primarily by their functionality: data and functions were kept separate and linked together by means of input and output relations.
The object-oriented approach, however, focuses on objects that represent abstract or concrete things of the real world. These objects are first defined by their character and their properties which are represented by their internal structure and their attributes (data). The behaviour of these objects is described by methods (functionality).
‎2007 Sep 24 7:57 AM
Hello,
Previously ALV Creation is done by using function modules. OO Methods are came with newer releases.
When we comparing our tasks to Real world situations, This would be better to understand and proceed . OO Methods comes here. Object Oriented Methods makes sure about Generalization and Speciallization Concept. Object Oriented Methos is better than Fn. Modules.
OO Methods improves the performance and OOPs is adjustable with modifications and new inclusion.
Reward if helpful,
Regards,
LIJO