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

difference between using FM and class in alv

Former Member
0 Likes
1,268

does anyone know what's the main difference between using FM to create alv and using class to create alv?

in what condition we usually use FM or class?

does anyone know what's the main difference between using FM to create alv and using class to create alv?

in what condition we usually use FM or class?

5 REPLIES 5
Read only

matt
Active Contributor
0 Likes
1,006

The FM allow you to develop plain, ordinary ALV reports quickly and easily. If you want something more complex, you'll need to use classes. By using the classes, you get more flexibility - you can do more with the alv .

matt

Read only

Former Member
0 Likes
1,006

can you tell me what class can do and FM can't and vise versa.

Read only

Former Member
0 Likes
1,006

Function Module is is a reusable piece of code that is primarily procedural oriented.

Class is also a similar reusable code, but the basic difference here, is that classes are object oriented.

YOu can search the forum with your sibject line and you can get a lot of answers.

YOu can have a look at the sample programs:

demo_function_group_counter

and

demo_class_counter

to notice the difference

Regards,

Chandru