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 OO ALV and ALV using Function modules

Former Member
0 Likes
1,225

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
1,047

Although it does not contain all the differences but few are covered

http://www.saptechies.com/major-advantages-of-oops-alv-instead-of-simple-alvcan-we-insert-logo-oops-...

Cheers,

KD

7 REPLIES 7
Read only

Former Member
0 Likes
1,048

Although it does not contain all the differences but few are covered

http://www.saptechies.com/major-advantages-of-oops-alv-instead-of-simple-alvcan-we-insert-logo-oops-...

Cheers,

KD

Read only

Former Member
0 Likes
1,047

Hi,

By using OO ALV

we can enable each and every row and columns of the list and

we can display lot. of list in one screen

We can deactivate each and every tools in the list.

we can add anything in Top of page

We can set our own size of the list and top of page screen based on user screen.

Regards,

Nandha

Read only

0 Likes
1,047

Thanks Nandha, Could you please explain the following in detail:

we can enable each and every row and columns of the list and 
we can display lot. of list in one screen
We can deactivate each and every tools in the list.
we can add anything in Top of page

Read only

Former Member
0 Likes
1,047

The major disadvantages of the fm-based ALV lists are that the ALV list is always full-screen size and you cannot move to ALV list to a different place because it is displayed using a screen of the standard function group SLVC...

OO approach is much more flexible. You can have multiple ALV's on one screen, re-size them.You can have an ALV, a tree control, or for that matter any other control on the same screen.

Read only

0 Likes
1,047

Thanks Sreekanth, It would be of great help iy you could help me in explaining below in detail

"you cannot move to ALV list to a different place because it is displayed using a screen of the standard function group SLVC."

Read only

0 Likes
1,047

Function Module REUSE_ALV_GRID_DISPLAY is linked to the screen of function group SLVC_FULLSCREEN (ALV GridControl Fullscreen) so ALV list is always full-screen size

Read only

Former Member
0 Likes
1,047

Hi, Navneeth,

With ALV functions, you can everything that you would do otherwise with the OOPS ALV. However , I don't think you can possibily have more controls in case of alv function because it occupies the entire screen and the function only calls 2 screens internally ( screen numbers 500 and 700 (for popup alv)).

But with OOPS on the other hand, you can have many controls on one screen, for example, you can have 2 ALV lists, or a splitter control with one of them having a Tree control and the other alv grid/list, pictures etc.

So the sole motive of the function is if you want to display a list, but when developing a serious application, I would go for OOPs ALV.

regards,

Advait