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 reports

Former Member
0 Likes
411

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 ?

3 REPLIES 3
Read only

Former Member
0 Likes
383

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.

Read only

Former Member
0 Likes
383

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

Read only

Former Member
0 Likes
383

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