Hello gurus,
I got the requirement of embedding Business Graphics on the webdynpro views. I have done the same. I am getting the business graphics changes on run time with values. Now I got the requirement to change the color of categories from default. As in default color for categories comes as : Blue -- Green -- Yellow -- etc .
Now I need the colors for categories like : Green -- Blue -- Red .
Please let me know how to edit the customizing to get the proper color for categories.
I have checked SDN but didn't get solution for the same.
Here In the context I have taken one Node say : Active type string , Under this node I have taken two attributes. One is Description type string , 2nd active_att type I.
I have set one supply function for the Active node say: supply_Active.
Under that supply_active method, my code is as below:
method SUPPLY_ACTIVE .
data:
lt_active type if_OVERVIEW=>elements_active,
active like line of lt_active,
v_rnd type I.
define random_genrate.
CALL FUNCTION 'GENERAL_GET_RANDOM_INT'
EXPORTING
RANGE = 90
IMPORTING
RANDOM = v_rnd.
end-of-definition.
active-description = 'In Line'.
random_genrate.
active-active_attribute = v_rnd.
insert active into table lt_active.
active-description = 'Critical'.
random_genrate.
active-active_attribute = v_rnd.
insert active into table lt_active.
active-description = 'Escalated'.
random_genrate.
active-active_attribute = v_rnd.
insert active into table lt_active.
node->bind_elements( lt_active ).
*
endmethod.
Please help.
Thanks.