Skip to Content
0

Display icons on FPM list ATS

Jul 11, 2017 at 12:03 PM

123

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Vogt Fabian Jul 13, 2017 at 09:25 AM
0

Hi David,

try to set the DEFAULT_DISPLAY_TYPE to IMAGE for this column.

<fs_field_description>-default_display_type = 'IM'.

Best regards,

Fabian.

Share
10 |10000 characters needed characters left characters exceeded