Application Development 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: 

difference

Former Member
0 Kudos

Hi Experts,

What is the diffenrence between alv_list_display, al_grid_display.

thanks & Regards,

B.Venkatarathnam.

1 ACCEPTED SOLUTION

paruchuri_nagesh
Active Contributor
0 Kudos

hi ratnam

main diference is ucan display 90 coloumns in list display

u can display as many as u want in grid display but it has alimitation of 128 characters per data cell

and other diff

CELL MERGING

in grid cells of sorted coloumns with the same value can be merged it is not possible in alv list

dont for get to reward for valuble answers

regards

Nagesh.Paruchuri

6 REPLIES 6

former_member223537
Active Contributor
0 Kudos

Hi,

Each are different type of output.

ALV List output is like Classical report output with additional features of sorting/filtering etc.

ALV Grid output is like a Table output. You see the column/rows like tables.

Goto SE38 transaction & type BCALV*

You will get all ALV Grid/List program. Execute them & check the output.

Best regards,

Prashant

Former Member
0 Kudos

The difference is just in displaying the data. The alv_list_display is used to display the data in a list whereas the alv_grid)_display is used to display the data in a grid.

Both these are used to visualize the data. Other than that there are no more differences.

Please reward if useful.

Former Member
0 Kudos

Hi Venkat,

Practically they are the same.

But some differences are:

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

Regards

Surya.

Former Member
0 Kudos

Hi Venkat,

Check this Sample Programs for Best Understand,

<b>BALVEX01 - REUSE_ALV_LIST_DISPLAY

BCALV_GRID_DEMO - REUSE_ALV_GRID_DISPLAY</b>

(1) REUSE_ALV_LIST_DISPLAY

Display an ALV list as per parameters defined in the function call

(2) REUSE_ALV_GRID_DISPLAY

Display an ALV grid as per parameters defined in the function call

(3) REUSE_ALV_COMMENTARY_WRITE

List header information is output according to its type. The output information is put in an internal table. Output attributes are assigned to each line via the TYP field.This module outputs formatted simple header information at TOP-OF-PAGE.

(4) REUSE_ALV_HIERSEQ_LIST_DISPLAY

This module outputs two internal tables as a formated hierarchical-sequential list.

(5) REUSE_ALV_VARIANT_F4

Display variant selection dialog box.

(6) REUSE_ALV_VARIANT_EXISTENCE

1. 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

Thanks,

Reward If Helpful.

sailaja_vadlamudi
Contributor
0 Kudos

HI

The ALV list display uses the standard list output, the list that you see when using WRITE statements, the ALV Grid display is implemented in a frontend control which is more user friendly, for example, you can drag and drop the columns where you want.

you can find some samples programs on alv report

http://www.sapdevelopment.co.uk/reporting/alvhome.htm

http://www.geocities.com/mpioud/Abap_programs.html

Sail

paruchuri_nagesh
Active Contributor
0 Kudos

hi ratnam

main diference is ucan display 90 coloumns in list display

u can display as many as u want in grid display but it has alimitation of 128 characters per data cell

and other diff

CELL MERGING

in grid cells of sorted coloumns with the same value can be merged it is not possible in alv list

dont for get to reward for valuble answers

regards

Nagesh.Paruchuri