01-11-2015 1:40 AM
Hello guys,
I have an ALV report with a field called "Destinatario"
When I export the informetion to excel, this field is showing in black;
My fieldcat is this:
My code:
SELECT * FROM ZMAQ_GRID1 INTO CORRESPONDING FIELDS OF TABLE IT_MM.
And the IT_MM declaration:
DATA: IT_MM TYPE STANDARD TABLE OF ZMAQ_GRID1,"ty_alv,
wa_alv TYPE ZMAQ_GRID1,"ty_alv,
IT_AUX TYPE STANDARD TABLE OF ZMAQ_GRID1.
My ztable is:
Could someone tell me what I'm doing wrong?
01-11-2015 4:17 AM
Hello, I solved my problem, the issue was the fieldcat is key sensitive and in my table my column is called: DESTINATARIO and I set Destinatario in Field cat, now I change it for DESTINATARIO and does work well. Regards.
01-11-2015 2:22 AM
Hi Luis,
Try.
gd_layout-colwidth_optimize = 'X'.
OR
wa_fcat-outputlen = '70'.
Hope it helpful.
Regards,
Venkat.
01-11-2015 3:37 AM
01-11-2015 4:17 AM
Hello, I solved my problem, the issue was the fieldcat is key sensitive and in my table my column is called: DESTINATARIO and I set Destinatario in Field cat, now I change it for DESTINATARIO and does work well. Regards.
10-13-2020 4:26 AM
Same issue I was facing & it is now resolved.
Thank you, your post help me to resolved the issue.
08-02-2022 10:01 AM
By making field name in uppercase it solved my problem!!
Thank you very much for your answer. Keep helping and growing.
08-05-2022 9:04 PM
04-08-2023 6:05 AM