‎2011 Feb 18 9:50 PM
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.
‎2011 Feb 18 10:35 PM
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