cancel
Showing results for 
Search instead for 
Did you mean: 

IF_FPM_GUIBB_LIST feeder : Color a column ? Add ICON_OKAY to column ?

former_member186822
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Mr Hoven.

Please check "Value Range" for domene FPMGB_DISPLAY_TYPE in transaction SE11

In your configuration for the column - please choose "IMAGE"

Answers (0)