06-18-2019 10:23 AM
Hello experts,
I've the following requirement from my client. The idea is, for an ALV which is already created, display in the header of the column an icon (or an image) that allows to identify if the field is or not mandatory.
For example:
Header1 Header2+iconmandatory Header3 Header4+iconmandatory
1 2 3 4
Do you know if it is possible to display in the header an icon or an image?
Thanks in advance,
Best regards,
Rebeca
06-18-2019 10:31 AM
You can use CL_SALV_TABLE this class, it has many customizing methods.
06-18-2019 10:36 AM
But i'm not sure that this class help me to implement a code which allow me to add an icon in the header, do you think this is posible?
06-18-2019 10:45 AM
Please use the Comment button. Answer is reserved to solutions (dixit the text on the right of "Your answer": "Before answering You should only submit an answer when you are proposing a solution to the poster's problem")
06-18-2019 10:48 AM
With the ALV Grid control (is it your case?), you may only display one icon in a column heading, without text, by using the classic @...@ texts (run the SHOWICON program).
06-18-2019 12:31 PM
in header you can only show the icon or text, not both. maybe you could create an icon with text you need and upload it to SAP.