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

report

Former Member
0 Likes
279

what is the difference between reuse_alv_grid_display and reuse_alv_list_display?

2 REPLIES 2
Read only

Former Member
0 Likes
261

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.

Read only

Former Member
0 Likes
261

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