‎2008 Nov 10 4:18 AM
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.
‎2008 Nov 10 4:33 AM
HI
check out the possibilities of using objects in ALV in the link below:
http://www.sapdev.co.uk/reporting/alvhome.htm
Deepak
‎2008 Nov 10 4:33 AM
HI
check out the possibilities of using objects in ALV in the link below:
http://www.sapdev.co.uk/reporting/alvhome.htm
Deepak
‎2008 Nov 10 4:37 AM
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
‎2008 Nov 10 4:38 AM
Hello,
Check this link
Example programs
http://saplab.blogspot.com/2007/10/sample-abap-program-of-alv-grid-control.html
http://www.abapcode.info/2007/06/object-oriented-alv-using-two.html
‎2008 Nov 10 4:53 AM
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