cancel
Showing results for 
Search instead for 
Did you mean: 

navigate between reused components

Former Member
0 Kudos

HI,

I have a component which reuses 2 different components.,

I have a require ment like,

when i press on a button in the child 1 component's view it should navigate to view of child 2 component...

How can I acheive this.

thanks in advance,

Arjun.G

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

When everr you are trying ton use the other componetns in your componenet then we can see the Inrerface views.

We have to use the Compoenent Usage for these component inside our compoenent

Create the Outbound and Inbound plugs and navigate accordingly.

We can see the view to be displayed when ever we cretae the Links between them. When we create the navigattion link then we can give the respective view name.

when i press on a button in the child 1 component's view it should navigate to view of child 2 component...

On the view of the Child1 componenet create a Button and when we create the links or Plugs then we need to give the View name of the child2 component. ie we have to cretae the Outbound plug for the Child1's View and repsective Inboind plug for the Child2's View. we can create the Navigation link and can be done this way.

Embed these views into the Window of your component in the view contianer element.

Check this link for the example -

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33...

Regards

Lekha

Answers (2)

Answers (2)

Former Member
0 Kudos

create a view container element in your view and embed the required view of used component.

ch[check this example program.|http://saptechnical.com/Tutorials/WebDynproABAP/Reusability/demo.htm]

thanks

Suman

Former Member
0 Kudos

Hi,

create a view container ui element and in that embed your used component view in that in window.

now after pressing some button display this container.

Yogesh N