cancel
Showing results for 
Search instead for 
Did you mean: 

Display icons on FPM list ATS

Former Member
0 Kudos

Hi experts,

I'm having problems when I'm trying to display icons at ATS list cells. I tried to definy columns by code or at FLUID, modifying atts at GET_DEFINITION and adding at GET_DATA but I hasn't been lucky. Could some one help me with this trouble? I don't know where I'm failing, this is my config:

  • COB_ALERT = image.
  • COB_ALERT_ICON = text view.

And this is my code:

  • At GET_DEFINITION:
CASE <fs_field_catalog>-name.
        WHEN ....

        WHEN zcci_c_app_contrller_cntrl_pnl=>cs_lc-cob_alert."Alerta Cobertura vs. Relevancia

          <fs_field_description>-header_label = cl_wd_utilities=>get_otr_text_by_alias( 'ZAP_216155_CCI_ADA/COB_REL_ALERT' ).

          <fs_field_description>-image_ref    = zcci_c_app_contrller_cntrl_pnl=>cs_lc-cob_alert_icon. "COB_ALERT_ICON is hidden

        WHEN OTHERS.

      ENDCASE.     
  • At GET_DATA:
...
<fs_results>-cob_alert_icon = '~Icon/WarningMessage'.
...

Thanks in advance!!

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi David,

try to set the DEFAULT_DISPLAY_TYPE to IMAGE for this column.

<fs_field_description>-default_display_type = 'IM'.

Best regards,

Fabian.