cancel
Showing results for 
Search instead for 
Did you mean: 

Calling particular Window from another webdynpro application

Former Member
0 Kudos

Hello Friends,

I want to call a particular window of a component from another component.

Say my first component has three windows win1, win2 and win3.

from my second component i want to call any particular window say win2.

please let me know both cases DEfault window call or any particular window call.

Thanks

Saurabh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Lets elaborate on your example.

Lets consider a main component COMPONENT_MAIN, and a sub component COMPONENT_SUB.

COMPONENT_SUB has three windows: win1, win2 and win3.

Your objective is to use: one of the windows from COMPONENT_SUB as a view in COMPONENT_MAIN.

Steps:

1. Declare a component usage in the component, compcontroller, and window of the component, COMPONENT_MAIN.

2. Right click on the window of COMPONENT_MAIN where you want to embedd the window of the COMPONENT_SUB as a view.

3. Do an F4 on the available views, there you will get the windows of COMPONENT_SUB to be embedd as the view.

4. Create the navigation and thus you can make use of the window of the sub component as a view.

Best Regards,

Rajesh

arjun_thakur
Active Contributor
0 Kudos

Hi Saurabh,

Calling a perticular window of one WDA from another WDA doesn't reqiure any special procedure. Just use one component in another component (concept of component usage). Suppose you want to use WDA1 (has 2 windows, say W1 and W2 ) in WDA2. In WDA2 use ViewContainer UI element. When you'll try to embed a view in this view container there you see the windows names ( W1 and W2 ) of WDA1 as well. Just select which ever you want to use and it'll be displayed just like that.

I hope it helps.

Regards

Arjun

former_member226203
Active Contributor
0 Kudos

Chk this thread.think it has the same requirement.

former_member188831
Contributor
0 Kudos

Hi Saurabh,

it is quite possible you can call the any window from the other wdc.

for example you have wdc1 and wdc2.

wdc1 is having win1 win2...

wdc2 is having win3.

you have to do t he following steps.

in wdc2 you have to add the used components i.e

add wdc1 in component colum and give any user friendly name in component use.

take a vc in wdc2 main view.

then go to win3 from wdc2.

right click the vc and select the embed view then you can choose which window you want to take.

All the best.

Regards,

Mahesh