on 01-03-2014 6:20 AM
Hi Experts,
I did change in row color of result view of oppt.
But after color change it become hyperlink , I want to remove those hyperlink and Gaps.
Please suggest me some solution
Regards
Alok
Hello Alok,
Please give your code that is added by you to change background colour. It will be helpful for me to find solution.
Thanks,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the code. My requirement is to change the color of row into red
where the status is Approved.
CASE P_ROW_INDEX.
WHEN P_ROW_INDEX.
READTABLE me->iv_data INTO ls_data INDEX p_row_index.
IF sy-subrc NE0.
EXIT.
ENDIF.
ASSIGNCOMPONENT p_column_key OFSTRUCTURE ls_data TO <col>.
IF sy-subrc = 0.
wf_text = <col>.
ENDIF.
IF ls_data-STATUS eq'E0002'.
iv_flag = ABAP_TRUE.
Endif.
if iv_flag = ABAP_TRUE.
* CONCATENATE '<span style="background-color:YELLOW">' wf_text '</span>'
* INTO html_str.
CONCATENATE'<font color="RED">' wf_text '</font>'into html_str.
ELSE. EXIT.
* CONCATENATE '<font color="GREEN">' wf_text '</font>' into html_str.
ENDIF.
CREATE OBJECT html_bee.
html_bee->add( html = html_str ).
p_replacement_bee = html_bee.
Regards
Alok
HI Alok,
Please check in get P method of the attribute.
can you share the code for color ,Did you write in get P or Get V method
If you sahre the code , I may help you.
regrds
RR Pradhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.