cancel
Showing results for 
Search instead for 
Did you mean: 

Color the text in Account Info Context Area

Former Member
0 Kudos
71

Hi,

In Intraction Center role, I want to show the Account Information with different Colors based on Conditions. If the Business partner is not having any address show in one color, otherwise show in different color. I can not update CSS files as it will be of a particular color for all the accounts.

In my attached screen shot, I want to show the text 'TEST ID' in RED or Green color. How to acheive this? Please let me know.

Thank you

Anji

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anji,

plz add the below code you will get red color on text .

data: lr_msg_srv       TYPE REF TO cl_bsp_wd_message_service.

data: lv_street    type  AD_STREET.

clear: lv_street.

lr_msg_srv = cl_bsp_wd_message_service=>get_instance( ).

          CALL METHOD lr_msg_srv->set_field_state

            EXPORTING

              iv_binding_string = '//STANDARDADDRESS/STRUCT.STREET'

              iv_page_id        = me->component_id

              iv_state          = 'E'.

Former Member
0 Kudos

Hi Ravi,

Thanks for the response.  what you have mentioned is for the Account information View, but I wanted to color the Account name on Account Info Communication area of IC role.

Thank you

Anji