on 05-08-2015 6:50 PM
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
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'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.