on 01-30-2012 8:06 AM
Hallo ,
I have created my own FPM List and configured it to be an "ALV" List.
Now I want:
1. color a column called NAME1
2. add icon to a column called ICON.
My List is defined like this:
ICON Types ICON_D
NAME1 Type CHAR80
CELLDESIGN Type WDUI_TABLE_CELL_DESIGN
In method GET_DATA I fill CT_DATA :
*---Color ALV "technical" column
w_alv-CELLDESIGN = cl_wd_table_column=>e_cell_design-GOODVALUE_DARK. "Dark Green
*---Icon
write ICON_OKAY to w_alv-icon as icon.
In method DEFINITION :
DATA: wa_field TYPE fpmgb_s_listfield_descr.
CLEAR wa_field.
link the cell you want to color to the new cell containing the value of the color
wa_field-name = 'NAME1'. "Column to color
wa_field-cell_design_ref = 'CELLDESIGN'. "Color code
APPEND wa_field TO et_field_description .
The list is filled with data, but no color shows upin the NAME1 column, and the ICON column just shows: "@0V@"
Edited by: Rolf Hoven on Jan 30, 2012 9:08 AM
Dear Mr Hoven.
Please check "Value Range" for domene FPMGB_DISPLAY_TYPE in transaction SE11
In your configuration for the column - please choose "IMAGE"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.