cancel
Showing results for 
Search instead for 
Did you mean: 

Call a view from another web dynpro application

former_member201541
Participant
0 Kudos

How to call a view of one web dynpro application from another web dynpro application? I tried it by creating another(new) window and then calling that web dynpro application. But I dont want to this method. I want to call another application's view in the same window that is calling application's window.

Please help.

Accepted Solutions (1)

Accepted Solutions (1)

former_member222068
Active Participant
0 Kudos

Hi Ajinkay,

1. Define the component B under the used component tab of component A

2. Design the view with ViewcontaniorUI element

3. Define the view to be called, in the window

4. Activate the component and execute

The view of the other component is displayed in the view.

Thanks & Regards,

Sankar Gelivi

Former Member
0 Kudos

Hi Sankar,

My situation is like this: I have the logic in the WDDOINIT of the original Component controller that I am processing and if a condition is meat, than the View of this Component should be displayed, if not - another View from another Web Dynpro should be called.

Hopefully I've described it clearly...

Many thanks!!

Liza

Answers (3)

Answers (3)

former_member201541
Participant
0 Kudos

Thank you Sankar Gelivi, its working

ramakrishnappa
Active Contributor
0 Kudos

Hi Ajinkya,

If you want to display a view of component A in component B, use the concept : component usages

Proceed as below

  • Let us say that you have component A with view V_TEST and window W_TEST ( Here W_TEST acts as interface view for other components )
  • Now, in component B, create a component usage of component B
  • Create a VIEW CONTAINER ui element inside the view of component B
  • Go to window and embed the interface view W_TEST

Please refer the below links

Using the view created in one Web Dynpro component as a pop-up view in another component

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

First declare the plug as interface in the window .

By declare component usage and   embed view that is to "embed interface view of a component instance".

Then navigate them.