在ABAP中使用ALV控件的时候,经常要涉及对颜色的使用,ABAP中使用颜色代码来定义一个色彩,其命名规则如下:
Cxyz
x:Color
y:1/0,inverse on/off
z:1/0,intensified on/off
x | Color | Intended for |
1 | gray-blue | headers |
2 | light gray | list bodies |
3 | yellow | totals |
4 | blue-green | key columns |
5 | green | positive threshold value |
6 | red | negative threshold value |
7 | orange | control levels |