Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

How to change all cell background color in list FPM ?

$
0
0

Hi experts,

 

I am using search and list fpm which is fully functional. I am trying to get the list to have a pure white background. Here is the code that I have tried applying in the List FPM methods. There is no color change in the 'connnector' field of the list, and it has the default blue background. I want to apply this code to all fields, so that my entire table has a white background. Please help! Thank you.

 

 

method IF_FPM_GUIBB_LIST~GET_DEFINITION.

  data: lt_result type table of t_s_fflog.

  FIELD-SYMBOLS:

     <ls_field_descr>  TYPE fpmgb_s_listfield_descr.

  LOOP AT et_field_description ASSIGNING <ls_field_descr>.

      CASE <ls_field_descr>-name.

        WHEN 'CONNECTOR'.

          <ls_field_descr>-cell_design_ref = 'STATUS_CELL_DESIGN'.

        WHEN 'STATUS_CELL_DESIGN'.

          <ls_field_descr>-technical_field = abap_true.

      APPEND <ls_field_descr> to et_field_description.

      ENDCASE.

      clear <ls_field_descr>.

      ENDLOOP.


  eo_field_Catalog ?= cl_abap_tabledescr=>describe_by_data( lt_result ).

endmethod.

 

AND

 

 

method IF_FPM_GUIBB_LIST~GET_DATA.


if iv_eventid->mv_event_id = 'FPM_EXECUTE_SEARCH'.


DATA: mt_result type zwd_fflog_enhanced_search=>tresult.

DATA: wa_result LIKE LINE OF mt_result,

       mt_temp   type zwd_fflog_enhanced_search=>tresult.


mt_result = zwd_fflog_enhanced_search=>mt_result.


LOOP AT mt_result into wa_result.

   wa_result-status_cell_design = '02'.

   append wa_result to mt_temp.

ENDLOOP.

mt_result = mt_temp.

  ct_data = mt_result.

  clear mt_result.


  ev_data_changed = abap_true.

endif.

endmethod.


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>