‎2006 Nov 15 1:00 PM
Hi,
I have few confusions over ALV reports 1) why we have a facility in ALV to change the properties in both LAYOUT and CATALOG like Colour
2) Can we change the LAYOUT dynamiclly i.e. if X = 0 LAYOUT1 else LAYOUT2 ?
‎2006 Nov 15 1:05 PM
Not sure of the color, but we can change the layout in ALV.
The IT_DEFAULT & IT_SAVe in REUSE_ALv_GRID_DISPLAY can slove ur purpose.
Moreover on changing layout dynamically, not sure, but the table IT_VARIANT in FM REUSE_ALV_GRID_DISPLAY can work. Need to check out on that more.
Hope, this helped u.
Regards,
Santosh.
‎2006 Nov 15 1:12 PM
hi,
As far as my knowledge goes we donot have option to change dynamically change the color or layout . once the properties are assigned to the catalog it displays only those colors what u pass it in function module.
Regards
srinivas
‎2006 Nov 15 1:14 PM
Hi mahesh,
At LAYOUT level , if a property is set, it applies for the whole list.
At catalog level, the property is applied to only that column.
2) Yes you can.
Regards,
ravi