2023 Oct 03 12:23 PM
Hi Gurus,
I have created a report program and displayed on alv grid with CL_GUI_ALV_GRID .
when i DOWNLOAD it to excel, I found one column no. 6 CLASS of USR02 is missing in excel sheet though I can see it on my alv grid.
I have maintained field catalog properly but still facing the issue.
total columns are 15. but from the above pic you can see only 14 are showing it is leaving the 6th column.
you can see the fieldcat is maintained properly.
2023 Oct 03 12:49 PM
First perform The Consistency Check (This class is much more tolerant of many errors in the display than in the Excel export.)
NB: And sorry, but 'you can see the fieldcat is maintained properly' is not exact, check Required Fields of the Field Catalog. (or use CL_SALV_TABLE)
2023 Oct 03 1:49 PM
Can you try to rename the column? Maybe CLASS is somehow restricted word in some part of the process...
2023 Oct 03 7:12 PM
This is obsolete ALV, prone to errors, loss of time and money, etc. Can't you go for modern ALV?