Skip to Content
avatar image
Former Member

Display icons on FPM list ATS

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!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 13, 2017 at 09:25 AM

    Hi David,

    try to set the DEFAULT_DISPLAY_TYPE to IMAGE for this column.

    <fs_field_description>-default_display_type = 'IM'.

    Best regards,

    Fabian.

    Add comment
    10|10000 characters needed characters exceeded