on 01-02-2012 10:25 AM
Hi All,
I have a requirement where I have to generate the roadmap steps dynamically. i.e. on the basis of no of approvers exist in workflow i need to add or remove the steps in roadmap. and also i want to color the steps depends on the condition. please give me some hints to solve this.
Thanks In Advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi PRATHAMESHGANDHI,
You can get the selected step in the roadmap by giving ONSELECT action under roadmap properties and give the
following code into that method.
call method wdevent->get_string
exporting
name = 'STEP'
receiving
value = lv_value.
Lv_value contains the selected step and accordingly you can show your respective values.
Hi,
From the follwing code in ONSELECT event you can get the index of the selected step .
method ONACTIONSELECT .
data : lr_ele type ref to if_wd_context_element.
data : lv_index type i.
lr_ele = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
lv_index = lr_ele->get_index( ).
Using the index obtained from above use the SET_LEAD_SELECTION_INDEX method and set the step respectively.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.