on 05-23-2016 11:16 AM
Hi Friends,
I created the dynamic table and data population everything done.
But my requirement is I want to change the font colour based on the condition, i.e. semantic color property binding has to be done dynamically.
if I use bind_cell_design method of column, it is changing the background colour instead of font color.
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ananda,
Here follows the classes and methods to read and modify each element of the ALV:
Area | Class | Method |
ALV output | IF_SALV_WD_ | SET_DESIGN GET_DESIGN |
Column | CL_SALV_WD_ | SET_CELL_DESIGN GET_CELL_DESIGN |
Cell variant | CL_SALV_WD_ | SET_CELL_DESIGN or GET_CELL_DESIGN or |
Cell | CL_SALV_WD_ | SET_SEMANTIC_COLOR or GET_SEMANTIC_COLOR or |
To learn more, please refer to:
Color of ALV Output, Columns, and Cells - Web Dynpro for ABAP - SAP Library
Regards,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.