cancel
Showing results for 
Search instead for 
Did you mean: 

View Calling Two different Components

Former Member
0 Kudos

Hello Guys,

I'm developing a Web Dynpro project with a lot of views under this project, and in a specific view I'll need call the another view (by LINK) and this view it was constructed under the another component:

MyWDProject

(+)<b>Applications</b>

.....FinanceApp

.....ManagerApp

.....UserApp

(+)<b>Components</b>

.....<u>FinanceComponent</u>

.......MyView1

.......MyView2

.....<u>ManagerComponent</u>

.......MyView1

.......MyView2

.....<u>UserComponent</u>

.......MyView1

.......MyView2

For instance: <b>ManagerComponent.MyView1</b> there's a <b>HyperLink</b> and this link I should call a <b>UserComponent.MyView2</b>.

It's possible ?

Regards,

Evandro.

Accepted Solutions (0)

Answers (2)

Answers (2)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Evandro,

look at the new Web Dynpro sample application on SDN:<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation, Explained - How to Navigate Inside Web Dynpro Component Interface Views</a>

Regards, Bertram

Former Member
0 Kudos

Hello Evandro,

Create a window in the component <b>UserComponent</b>, say UserCompWindow. As a result, an interface view will get created for this window, say with the name UserCompWindowInterfaceView and create an Inbound plug for this interfaceView, say fromMangeCompIn.

Embed the view <b>UserComponent.MyView2</b> in this window.

Go to the Used Components section of <b>ManagerComponent</b> and add the Component <b>UserComponent</b> as used component.

Then Embed the interface view <b>UserCompWindowInterfaceView</b> to the required cell area/ view Container in the Navigation modeller of <b>ManagerComponent</b>.

Create an Outbound plug from the view <b>MyView1</b> of the <b>ManagerComponent</b> say fromManageCompIn and establish a link to the <b>UserCompWindowInterfaceView</b>.(i.e establish a link between toManageCompIn & fromMangeCompIn.

In the action handler of the link fire this outbound plug.

Good Luck.

Bala