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

Comparing ALV using Function modules and OO ALV

Former Member
0 Likes
1,253

Hi All,

Please provide me what are the advantages of developing ALV using Objects compared to creation using function modules. What are the disadvantages of creating using the conventional FM way.

I have not worked much on ALV using Function modules, have been developing using standard abap classes. I wanted to have an detailed understanding and differences between the two.

Please provide your views on the same.

I have searched SDN forum, but didnt find much information, so it will be of great help if you provide some inputs.

Thanks & Regards,

Navneeth K.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
799

HI

check out the possibilities of using objects in ALV in the link below:

http://www.sapdev.co.uk/reporting/alvhome.htm

Deepak

4 REPLIES 4
Read only

Former Member
0 Likes
800

HI

check out the possibilities of using objects in ALV in the link below:

http://www.sapdev.co.uk/reporting/alvhome.htm

Deepak

Read only

Former Member
0 Likes
799

Hi Navneeth,

1. You can display multiple alv on one screen by using ooalv.

2. Progam becomes modular. and robust.

3. There are few more functionality which are not present in normal ALV.

4. You can maintain your header of alv by your way. it doesn't use the format from left to right.

Thanks,

Chidanand

Read only

uwe_schieferstein
Active Contributor
0 Likes
799

Hello Navneeth

As long as you just want to display lists without any special properties (interactive, editable, multiple controls, dynamic headers, etc.) a fm like REUSE_ALV_GRID_DISPLAY_LVC will do the job.

However, as soon as you want to provider interactive functions (e.g. double-click, hotspot, context menus) or display multiple controls on the same screen which may have dynamic header (contents changes depending on the list result) OO-based ALV lists are much easier to implement (if you can do it with fm's at all).

Regards

Uwe