‎2007 Dec 17 12:55 PM
what is the difference between reuse_alv_grid_display and reuse_alv_list_display?
‎2007 Dec 17 12:57 PM
Hi,
reuse_alv_grid_display is for creating the ALV GRID and reuse_alv_list_display is for creating the ALV LIST.
For all practical purposes, they are the same.
2. Some differences:
a) from abap coding point of view,
alv list is done with Function modules,
alv gris can also be done with FM,
but can also be done using OO concepts.
b) Alv grid (using oo concept) requires
designing the screen layout .
Hence, in one screen, we can show more
then one alv grid
(we cannot show more than
one alv list on one screen)
c) ALV grid uses ActiveX controls
present on the Presentation Server.
Hence, it consumes More Memory
on the presentation server.
d) ALV LIST is Display Only.
Whereas
ALV Grid Can Be made EDITABLE for entry purpose.
e) In alv grid, these options are possible,
but not in alv list.
without horizontal lines
without vertical lines
without cell merging during sorts
display total lines above the entries
ALV LIST Can be coded using only FMs
ALV GRID Can be coded using FMs and object oriented concepts
ALV LIST Can be displayed hieraicharlly
ALV GRID cannot be displayed hierarichally
rgds,
bharat.
‎2007 Dec 17 1:28 PM
The ALV Grid display is in sort of an excel format with the data in boxes
and the list display is not.
'REUSE_ALV_GRID_DISPLAY' is for the SLIS type pool.
'REUSE_ALV_GRID_DISPLAY_LVC' is for the LVC type pool which of course has a better functionality.
1) Common in display result
REUSE_ALV_GRID_DISPLAY_LVC and REUSE_ALV_GRID_DISPLAY have similar display view
2) Common in usage
REUSE_ALV_LIST_DISPLAY and REUSE_ALV_GRID_DISPLAY have very similar parameters for
function call (types from slis)
one rarely use fm REUSE_ALV_GRID_DISPLAY_LVC as class cl_gui_alv_grid provides more
power and functionality.
and also u should refer this one
first one is for grid display and second one is for list display.
For all practical purposes, they are the same.
2. Some differences:
a) from abap coding point of view,
alv list is done with Function modules,
alv gris can also be done with FM,
but can also be done using OO concepts.
b) Alv grid (using oo concept) requires
designing the screen layout .
Hence, in one screen, we can show more
then one alv grid
(we cannot show more than
one alv list on one screen)
c) ALV grid uses ActiveX controls
present on the Presentation Server.
Hence, it consumes More Memory
on the presentation server.
d) ALV LIST is Display Only.
Whereas
ALV Grid Can Be made EDITABLE for entry purpose.
e) In alv grid, these options are possible,
but not in alv list.
without horizontal lines
without vertical lines
without cell merging during sorts
display total lines above the entries
ALV LIST Can be coded using only FMs
ALV GRID Can be coded using FMs and object oriented concepts
ALV LIST Can be displayed hieraicharlly
ALV GRID cannot be displayed hierarichally
If it is useful,please reward points.
Regards
satish