‎2011 Apr 18 4:27 PM
Hello together,
since I didn't find a solution in the other threads here my question.
The result of a report is displayed as an ALV-Grid.
To create it I do not use any data dictionary structures. Only the report (building the FIELDCAT, FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' and FUNCTION 'REUSE_ALV_GRID_DISPLAY').
I always get optimized columns.
I enlarge them to see the longtext.
When I try to save the enlarged columns as a variant, the ALV Grid optimize them again.
Also when I download it to Excel, the columns are optimized again, so the longtext of the header can not be saved.
Can somebody tell me how to save the ALV with enlarged columns?
Or how to handle that the longtext is printed or saved without having enlarged them?
Thanks in advance.
‎2011 Apr 18 6:01 PM
Did you set your column optimize (layout structure, field colwidth_optimize) to OFF (space)? Consider using class CL_SALV..it's much simpler for straightforward reporting than this antique set of FM's.