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

Dynamic ALV Column Creation.

Former Member
0 Likes
361

How can I determine the number of columns displayed in an ALV report at runtime? Is there a maximum number of columns that can be displayed in an ALV? Is there a maximum cell size?

Any help on this issue would be greatly appreciated.

Thanks in advance,

Matt Cassell.

1 REPLY 1
Read only

Clemenss
Active Contributor
0 Likes
291

Hi Matthew,

cells are limited to (I think) a maximum of 255 characters.

The number of columns was limited to (I don't know) maybe one or two hundred with the function reuse:alv_grid_display. In the object CL_GUI_ALV_GRID or the model CL_SALV_TABLE you can have an unlimited number of cells. I tried 100 000 with cl_salv_table. It works, but you have to wait a couple of minutes for the first record showing up. And as the grid object is displayed at the frontend, you PCs memory is used beyond any limit.

Regards,

Clemens