cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate between windows

Former Member
0 Kudos

Hi,

I have created two windows and in each of the windows I have created one view. I need to navigate between these views

The windows are in the same component.

Pls tell me how to do so

TIA

Himanshu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Himanshu,

For navigating from one window to other.

Suppose like you want to navigate from View1 in Window1 to View2 in Window2.

So in View1 in the action write down this piece of code.

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("Window2");

IWDWindow window=wdComponentAPI.getWindowManager().createModalWindow(windowInfo);

window.setWindowPosition(300,150);

window.setWindowSize(500,500);

window.show();

Hope useful!!!

regards,

Swati

Answers (2)

Answers (2)

sureshmandalapu6
Active Contributor
0 Kudos

Hi himanshu kandpal,

You can navigate from one view to another view by making the plugs for each View. Just right click on window -> Open Navigation Modler. and then follow the below lik for navigations

[http://help.sap.com/erp2005_ehp_03/helpdata/EN/7e/77a8af020ffa4596aad94019de8de7/frameset.htm|http://help.sap.com/erp2005_ehp_03/helpdata/EN/7e/77a8af020ffa4596aad94019de8de7/frameset.htm]

points if useful

Thanks

Suresh

Former Member
0 Kudos

Hi,

use plugs to navigate between this views.

Regards

Ayyapparaj