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: 

Convert ALV layout from list to grid

Jelena
Active Contributor
0 Kudos
1,238

Seems like a simple question, but I couldn't locate a definite answer anywhere...

Are the ALV list and ALV grid layouts compatible and is it possible to convert an existing ALV list layout to ALV grid layout?

We have an older report that was developed using ALV list and has over 70 different user layouts. It would be preferable to convert the report to ALV grid, but the users don't want to lose their layouts.

4 REPLIES 4

Former Member
0 Kudos
205

If you are using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY to generete the alv list you can easily convert to Grid by replacing to FM REUSE_ALV_GRID_DISPLAY with minimal changes.

Take a look at this program as example RM06ENDR_ALV_GRID, the alv is generated according to user settings (grid or list).

Regards,

Felipe

krishnendu_laha
Active Contributor
0 Kudos
205

Hello,

I think if you convert List -> Grid layout, all save layout settings has to made again...

Thanks.

Former Member
0 Kudos
205

Change the FM name from LIST to GRID. It should work.

Thanks

Nilesh

Jelena
Active Contributor
0 Kudos
205

The question was not on how to convert List to Grid but whether it's possible while preserving the layouts. It seems that Krishnendu is correct and the layouts are not "compatible" and will have to be re-done.