cancel
Showing results for 
Search instead for 
Did you mean: 

Component to Component Navigation

darren_bambrick2
Active Participant
0 Kudos
70

Hi All

I am trying to navigate from one component to another.

I created a new component and added this component as a view area in CRMCMP_BPIDENT.

In my new component I have a view with a button called "goto callists". When I click on this I want to navigate to the call list component that is configured as an Item on the navigation bar.

In my do_handle event of the view I call the outbound plug of my new component.

in the component window plug i have the following code

ME->FIRE_OUTBOUND_PLUG( IV_OUTBOUND_PLUG = 'CALL_LIST'

IV_DATA_COLLECTION = lr_Collection ).

I don't know what to put in the outbound plug of the component window to get it to navigate to the call list item on the navigation bar.

Do I have to do some config or some additional code ?

Any help would be greatly appreciated

Thanks

View Entire Topic
Former Member
0 Kudos

Hi Darren,

Try creating a Navigation Link in the Runtime repository to navigate to the Target Component.

Call the Navigation link in the Outbound Plug of the Window like this:

me->view_manager->navigate( source_rep_view = me->rep_view

outbound_plug = 'TOCOMPONENTB'

data_collection = iv_data_collection ).

You can also look into any of the standard navigations.

darren_bambrick2
Active Participant
0 Kudos

Thanks Masood

I have tried using the view manager with no success. . I had to do some config to get this work

darren_bambrick2
Active Participant
0 Kudos

Closed

Wolfgang_Mayer
Active Participant
0 Kudos

Hi, could you kindly post the complete solution?

Thanks & regards

Wolfgang