Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV FUNCTION MODULE AND OBJECT ORIENTED ?

Former Member
0 Likes
720

What is difference between ALV function module and ALV object oriented.

which one is more advantages.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
581

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.

3 REPLIES 3
Read only

Former Member
0 Likes
582

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.

Read only

Former Member
0 Likes
581

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).

Read only

Former Member
0 Likes
581

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