cancel
Showing results for 
Search instead for 
Did you mean: 

problem while creating navigation link

Former Member
0 Kudos

Hi,

I have:

window1, view1, op_plug1 in comp1 &

window2, view2, ip_plug1 in comp2

i have embedded view2 of comp2 in window1 of comp1.

i need to connect op_plug1 of view1 to ip_plug1 of view2. but i am not able to do.

boz, When i create navigation link, ip_plug1 of view2 is not visible in window1.

What will be the reason?

Message was edited by:

Mog

Accepted Solutions (1)

Accepted Solutions (1)

shwetars
Advisor
Advisor
0 Kudos

Hi Mog,

right click on outbound plug of view1 and click on create navigation link, in the popup that follows select view2 as the connecting view and click on ok.

Regards,

Shweta

Former Member
0 Kudos

Hi shweta,

1) where should i define inbound plugs in comp2?

window or view or

2) In comp1, i have view properties as well as window properties.

where should i give component use property.

3) while mentioning 'Used components' in comp1, i am giving,

Component = comp2.

ComponentUse = ?? (ViewName/WindowName/InterfaceViewName/Any Userdefined name)

Plz clear this.

shwetars
Advisor
Advisor
0 Kudos

Hi Mog,

3) while mentioning 'Used components' in comp1, i am giving,

Component = comp2.

ComponentUse = this is the name of the web dynpro component

1) view2 of comp2 needs to have an inbound plug

2) In comp1, i have view properties as well as window properties.

where should i give component use property.

this is not required for your scenario. However if you are using the context of comp2 within comp1 then you need to define controller usage of comp2 within view1 of comp1 or component controller of view1. Again in this case only those nodes within the context of comp2 that have been declared as interface nodes will be visible.

please go through context mapping( internal and external ) and component usages in further detail.

at the following link there is pdf on component usage:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/00545e6d-0679-2910-acab-8073c... [original link is broken]

also check out the following thread

Regards,

Shweta

Answers (1)

Answers (1)

Former Member
0 Kudos

In your comp1, declare a component usage for comp2. One way to do this is to have a view2 within your comp1 itself, have a viewuielement container in the view. You can then embed the view2 from comp2 into this view. the navigation plug will be only between two views in the same component but the other component will be embedded and called.

The method call would be do_dynamic_navigation.

Hope this helps.

Regards,

Nithya