Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How to embed 3 custom views into the home workarea in web ui?

$
0
0

Hi Jerry,

 

In that case there is a note implement this 1937399 this will give the background color property  this is easy and simple. we can set that color based on condition..

if your already implement this note then in your get_p method write like this..

this is example code: based on condition i have displayed color of the status field.

**  DATA : lr_collection TYPE REF TO cl_bsp_wd_collection_wrapper,

**         lr_name TYPE string,

**         lr_proprty TYPE REF TO if_bol_bo_property_access.

**

**  CASE  iv_property.

**    WHEN if_bsp_wd_model_setter_getter=>fp_bgcolor.

**      lr_proprty = me->bo.

**      lr_proprty->get_property_as_string( EXPORTING iv_attr_name = 'WI_STAT' RECEIVING rv_result =  lr_name ).

**      IF lr_name = 'READY'.

**        rv_value = '#FA1D25'.

**      ELSEIF lr_name = 'COMPLETED'.

**        rv_value = '#70F264'.

**      ELSEIF lr_name = 'STARTED'.

**        rv_value = '#F4DD33'.

**      ENDIF.

**  ENDCASE.


if you don't want to implement that note then go through this links but i will suggest you to implement that note that is easy and recommended approach.

 

Re: How to set background color of cell to red

How to set particular column or cell color of result view in CRM WEB UI ?

 

see this link too... read this blog...


Conditional formatting for Tables in WebUI

 

Thanks & Regards,

Srinivas.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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