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

Differences while using ALV ???

Former Member
0 Likes
670

Dear all,

What is the difference between using Classes for ALV and Function Modules for ALV. (OR)

When do we use Classes for ALV and when FM for ALV. (OR)

Under what cases we use Classes for ALV and FM for ALV.

Thanks in Advance,

Gajanan.

5 REPLIES 5
Read only

Former Member
0 Likes
644

Hi,

Basically there is no difference in using classes and functions.

But classes provide you extra functionalities.

Thanks,

Sutapa.

Read only

0 Likes
644

ALV with FM uses standard FMs from reuse classes, while OOPS is more methodical & gives a lot of powerful functions to the existing grid ALV.

Read only

Former Member
0 Likes
644

What is the difference between using Classes for ALV and Function Modules for ALV

incase you are developing a report with normal functionality then you can use FM or Classes.

When do we use Classes for ALV and when FM for ALV.

if the functionality includes some complex things like Drop Downs list box at column level, and Cells editable disable and enable etc..

then we can't do that with FM, so in that case we have to use Classes.

other cases we can go for FM's.

Regards

Vijay

Read only

Former Member
0 Likes
644

Hi Gajanan,

You can use OOPs concept for ALV when you need to display a Report on a Screen where as ALV through FM are displayed on List Processing.

Moreover you have got some additional Funcationalities like Dragdrop, oyu can create Tree Report and so on using OOPs concept.

Hope you should be clear now.

Thanks,

Prashanth

Read only

Former Member
0 Likes
644

hi

here is diffrence like this if u want to display ALV o/p in ALV GRID in that case u can use classes functionality if u dont want ALV o/p in GRID or u can want o/p in ALV LIST in that case u can use FM with ALV.

regard

deepak