cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation from view of a viewset to another component

former_member188843
Participant
0 Kudos

Dear All expert,

I want to navigate from one view of a viewset to another compnent which defined in the usage. What kinds of steps I should take ?

Thansk for your information.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

First you need to define an outbound Plug in the view from where you are navigating from.

In the outbound plug put the code

view_manager->navigate( source_rep_view = rep_view

outbound_plug = 'NavigationLinkName' ).

Define Event handler on which the navigation has to happen.

- Call the outbound plug name that you defined earlier

You need do the following

in the Runtime repository

- Define a Navigation Link with name 'NaviagtionLinkName

- Specify the soruce view and target viewset name

If you viewset is not display. Go to the Window in Runtime reportsitory and add the viewset to the available view.

Thanks

Shyam

former_member188843
Participant
0 Kudos

Hi

Thanks for your reply.I did the step and I debug the process. I already reached ACTIVATE_TARGET of the implementation class of the main window.But then I got error .It seems in activate_target.It did not get the controller of the target view.It just use the current controller of the main window as the controller.

I am navigating from z* component to BT146I_SRVM.

By the way, I redefined the method WD_USAGE_INITIALIZE but it never be processed.

Thanks in advance.

Edited by: Edward on Jan 24, 2011 1:30 PM