05-23-2007 6:27 AM
Hi,
We have two function modules in ALV for displaying the output:
1) REUSE_ALV_LIST_DISPLAY
2) REUSE_ALV_GRID_DISPLAY
can any body please explane when we have to use LIST_DISPLAY and when we have to use GRID_DISPLAY.
Thanks in advance.
ramana
05-23-2007 6:30 AM
05-23-2007 8:48 AM
05-23-2007 6:34 AM
05-23-2007 8:50 AM
05-25-2007 7:32 AM
Hi bharat,
Thanks for your answer.
Can you please explane me how we edit row in GRID display.
Thanks in advance.
Ramana
05-23-2007 6:38 AM
hi Ramana,
------all these functions changes onl;y in the list scrreen---------********8
1)REUSE_ALV_LIST_DISPLAY --- when we use this fun module,then it is like a static list, means, u cannot do these operations
-- hide
-- change the order of coloumns
-- total
-- grid title
2) REUSE_ALV_GRID_DISPLAY --- when we use this , it will have all the above features mentioned...
With Regards,
S.Barani
Message was edited by:
S BHARANIDARAN
05-25-2007 7:35 AM
Hi Barani,
Thank for you answer.
I tried for the optoins which you told
-- hide
-- change the order of coloumns
-- total
-- grid title
but among the above "total" is possible in list display also. can you please check and clrify me.
thanks
ramana
05-29-2007 10:48 AM
05-23-2007 6:40 AM
<b>When there are no editable fields u can simply use LIST DISPLAY else go for GRID
When you want to run in background go for LIST else GRID</b>
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
05-23-2007 6:43 AM
hi,
1) REUSE_ALV_LIST_DISPLAY
to display o/p list ina normal form with no graphical represntations like adding colors, having no user defined field names for fields, confirmation messages for deleting a field..........
2) REUSE_ALV_GRID_DISPLAY
to display o/p in graphical manner with different options with the help of various FM's like
REUSE_ALV_FIELDCATALOG_MERGE [ for buliding a structure o/p ]
REUSE_ALV_EVENETS_GET [ for diff alv events]
REUSE_ALV_COMMENTARY_WRITE [ for having a logos, images ]
REUSE_ALV_VARIANTS_DEFAULT [ for variants]
....................
................
if helpful reard some points.
with regards,
suresh babu aluri.