2008 Feb 16 6:25 PM
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?
2008 Feb 16 6:50 PM
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
2008 Feb 17 12:08 PM
can you tell me what class can do and FM can't and vise versa.
2008 Feb 16 6:51 PM
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
2008 Feb 16 11:47 PM
2008 Feb 17 12:07 AM
using FM we can create Classical and Interactive ALV Reports.
The classes are used to create the ALV Reports with OOPS concept.
Check this for basic concepts of OOPS
Tabstrip
Editable ALV
Tree
http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
General Tutorial for OOPS
Reward Points if useful
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |