cancel
Showing results for 
Search instead for 
Did you mean: 

Roadmap and Windows

Former Member
0 Kudos

Hi Experts,

I have a roadmap. On the first step of the roadmap,when a button is clicked, a popup window opens up which has a table( first column as link to action). As soon as I select a link to Action in this table, it should close this window and take me to step 3 of the roadmap.

How do I achieve this requirement. Your valuable inputs please.

Thanks in Advance,

Mirza.

Accepted Solutions (1)

Accepted Solutions (1)

raja_narayanan2
Active Participant
0 Kudos

Hi.

when you click on the LinkToAction..close the current Popup window

lo_window->close( ).

and set the rodamap step to 3.

for eg:

wd_comp_controller->set_selected_step( iv_step = 'Step3' ).

regards

Raja.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hyder,

As Narayan said you can change the step to 3.But still you will be in same page.Is that you required.I don't think so.

From popup on action of URL you want to navigate to another view i.e step 3.Am I right? If so follow the steps below to achieve the same.

1.Create one event named it as CALL_VIEW from events tab of component controller.

2. Create one method in component controller to raise the event.

method event_raise.

wd_this->fire_call_view_evt( ). " you can call event using code wizard

endmethod.

3.Now on action of url method in popup window call the above method to raise the action.

wd_comp_controller->event_raise( ).

lo_window->close( ). " close the popup window

4.Go to the view from where you called the popup.

a. create an outbound plug to navigate to the view 3.

b. go to methods of view create a new method of type event handler and event name is the one created above.

now call the outbound plug from this method.

5.now it will be navigate to View3,to set roadmap step.go to wddoinit method of view 3 and use the method set_step().

I hope this will help you.