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

Diffrence between alv and OOALV

Former Member
0 Kudos


I want to know the difference between ALV and OOALV.When do we go for OOALV.


Former Member
0 Kudos


Clasical ALV are specifically meant to create simple ALV with pre defined event handling options. In case of advanced options we go for OO-ALV.

In OOps ALV we mainly use classes.

You can check this link for an docu on oops alv. easy reference for alv grid control.pdf



0 Kudos


Welcome to SDN.

In OOPS,we will use classes and Object.For displaying data,we have to use,set_table_for_first_display.We have to use docking or custom containers.

In normal ALV,we will use Reuse_ALV_GRID_DISPALY and REUSE_ALV_LIST_DISPLAY.

Here is the definition for ALV from SAP Help: “The ALV Grid control is a flexible tool for displaying lists. The tool provides common list operations as generic functions and can be enhanced by self-defined options.” The ALV Grid control is used to build non-hierarchical, interactive, and modern-design lists. As a control, it is a component that is installed on the local PC. The ALV Grid control provides typical list functions as sorting, filtering, summing, etc.,while also gives the opportunity to develop user functions where needed. It presents numerous interfaces like Excel Inplace and Crystal Reports. The wrapper class implemented to encapsulate ALV Grid functionality is “CL_GUI_ALV_GRID”. There is another way to display lists with ALV utilizing “REUSE_ALV...” functions. However, that way is not comprised in this tutorial.

Check the standard program BCALV_TEST_GRID_EVENTS to know the full usuage of REUSE_ALV_GRID_DISPLAY.

Check the standard program BCALV_TEST_GRID_EVENTS to know the full usuage of REUSE_ALV_LIST_DISPLAY.

Check this link for displaying data using OOPS concept. code samples/alv grid/abap code sample to display data in alv grid using object oriented programming.doc

If you need more information,get back.Otherwise,kindly close the thread by rewarding points for useful answers( click Green star[6 points] or yellow star[2 points] or blue star[10 points-solved problem against the useful replies).

Message was edited by: Jayanthi Jayaraman

Former Member
0 Kudos

Hi, Many difference has been mentioned by the former reply.

Add something I know,

the structure which Classical ALV used is only defined in a type pools.

And the structure of OO ALV is all defined as DDIC structure.

For the event, if you have a check in the Classical ALV, actually, it has a event class GT_GRID for trigger all of the ALV event. And you input the Event Handle subroutine name e.g. 'DATA_CHANGED' into the event table, and call the REUSE...DISPLAY. Then the name will be stored into GT_GRID-I_CALLBACK_DATA_CHANGED, when the event trigger, the server will call you subroutine like this



What I want to expression though this is that even the Classical ALV also has class usage inside it.

Former Member
0 Kudos


U can see the sample programs for ALV