on 08-03-2014 11:44 AM
Hi,
in the method "IF_POWL_FEEDER~GET_FIELD_CATALOG" the whole colume (see attachment) can be colored.
CASE <ls_dfies>-fieldname.
WHEN 'LANGU'.
ls_fieldcat-colpos = 1.
ls_fieldcat-display_type = 'BT'.
ls_fieldcat-color = 19.
ls_fieldcat-WIDTH = '800'.
ls_fieldcat-text_ref = 'LANGU'.
WHEN 'CHANGED_ICON'.
ls_fieldcat-icon_src_ref = <ls_dfies>-fieldname.
ls_fieldcat-display_type = 'IM'. "Icon
ls_fieldcat-tooltip = text-006.
ls_fieldcat-color = '4'.
.....
But how can I colorize only one field in the POWL.
Regards
Jim
Hi Jim.
Would you be so kind and post your solution to this question?
BR
Per
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Per.
One solution could be the next:
1. Add one field for color reference to your POWL structure. For example COLOR_REF type string.
2. Into the method GET_FIELDCAT_CATALOG set the property TECHNICAL_COL:
3. And then set the field which you need to change the color with reference to the COLOR_REF field into the same method:
4. Finally, fill the field COLOR_REF into the method GET_OBJECTS with the color value you need, depending on other values, such a item status:
This configuration results in the image below:
Regards.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.