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

alv

Former Member
0 Likes
992

hi,

wt is the diff between reuse_alv_list_display,reuse_alv_grid_display?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
969

hi

List display display display result most similar to norrmal list

but grid display display in a grid format and it has more avantage over list display.

there is so may tools available in application tool bar in Grid display once u go through u can find a lot.

hi,

wt is the diff between reuse_alv_list_display,reuse_alv_grid_display?

10 REPLIES 10
Read only

Former Member
0 Likes
969

The difference comes in displaying onli....

and in grid display we have so many additional features..

In grid display..

**For fields we can have F4 help in list also (editable)..

**We can have logos in the list...

**we can different font sizes for headings which is not possible in list display...

reward helpful answers,

sai ramesh

Read only

Former Member
0 Likes
970

hi

List display display display result most similar to norrmal list

but grid display display in a grid format and it has more avantage over list display.

there is so may tools available in application tool bar in Grid display once u go through u can find a lot.

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
969

Hi,

Both serve for the same purpose, first one is for normal list display and other one for the advanced grid display that contain the object oriented features .. some additional features...

Cheers,

Simha.

<b>Close the thread after it is solved..</b>

Read only

Former Member
0 Likes
969

Hi,

output format is different.

execute this code.u can find the diff.

REPORT ZBHALV_LIST_GRID1.

TABLES:MARA.

DATA ITAB LIKE MARA OCCURS 0 WITH HEADER LINE.

SELECT * FROM MARA INTO TABLE ITAB UP TO 25 ROWS.

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = SY-REPID

I_STRUCTURE_NAME = 'MARA'

I_DEFAULT = 'X'

I_SAVE = 'A'

TABLES

T_OUTTAB = ITAB.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_STRUCTURE_NAME = 'MARA'

I_GRID_TITLE = 'GENERAL MATERIAL DATA'

I_DEFAULT = 'X'

I_SAVE = 'A'

TABLES

T_OUTTAB = ITAB.

reward if helpful.

regards,

bharat.

Read only

Former Member
0 Likes
969

chk this

Read only

p291102
Active Contributor
0 Likes
969

Hi,

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

Hope it will helps to u.

Thanks,

Shankar

Read only

Former Member
0 Likes
969

Hi,

reuse_alv_list_display will display the data as a list without any scroll bar etc.

reuse_alv_grid_display will display the data as a grid with scroll bars.

Rgds,

Prajith

Read only

Former Member
0 Likes
969

Hi,

reuse_alv_list_display will display the data as a list without any scroll bar etc.

reuse_alv_grid_display will display the data as a grid with scroll bars.

Rgds,

Prajith

Read only

p291102
Active Contributor
0 Likes
969

Hi,

I thing u r validating the answers by fast response answers only not for useful answers.

Thanks,

Shankar

Read only

Former Member
0 Likes
969

Rambabu

If u have got the answer, please mark question answered & reward points to the person concerned.

Thanks