cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a view in another window

former_member187668
Participant
0 Kudos

Hi,

I have 2 windows in a component each having differnet views. Say window WA has view VA and winow WB has a view VB.

Is it possible to call VA from VB? Is so can you please explain?

Thanks

Ravikanth

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ravikanth,

1. You can use Inbound and Outbound plugs of Window.

or

2. You can call other view/window as pop-up form your main view.

Hope this will help.

Regards,

Arvind

former_member187668
Participant
0 Kudos

Hi Arvind,

Can you please detail the steps to acheive this using the option 1?

Ravikanth

Former Member
0 Kudos

Hi,

Create an Outbound plug on VB and create an Inbound Plug on VA. Then on the Window level, Create a Navigation link on VB outbound plug. It will ask you then the destination view, choose VA from the list.

Hope it works for you. Check the SAP help [Window Inbound and Outbound Plugs (SAP Library - Web Dynpro ABAP)|https://cw.sdn.sap.com/cw/docs/DOC-36377].

Also check the Tutorial [Navigation from one View to other View |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cfb80249-0801-0010-3eaa-829afeac170f?quicklink=index&overridelayout=true].

Hope it helps.

former_member187668
Participant
0 Kudos

Hi Sanket,

While creating the navigation link on VB outbound plug, view VA is not availabe. Hence couldnt call the inbound plugs of view VA.

Regards,

Ravikanth

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ,

You mentioned that VA is not available.

Did you embed the View in the window?

If its not embeded you cant see the view in the window.

Regards,

Priya

Former Member
0 Kudos

Hi,

In your WB , right click and choose embed view , choose the view VA .

Thanks,

Amit

former_member187668
Participant
0 Kudos

Hi Priya, Amit,

I didnt embed the view purposefully. I think this should be possible with Window plugs. But couldnt figure it out. Can we call the inbound plug of window WA from view VB?

Regards,

Ravikanth

Former Member
0 Kudos

Hi Ravikanth,

Go through this link.

https://cw.sdn.sap.com/cw/docs/DOC-36377

Hope this will help you.

Regards,

Arvind