cancel
Showing results for 
Search instead for 
Did you mean: 

create external window - not a popup

Former Member
0 Kudos

Hi,

I would like to create an external window from a WD application.

I tried using:

wdControllerAPI.getComponent().getWindowManager().createExternalWindow

but it creates a popup window and not an external one -

<b>so a user who has a popup block can't see it</b>.

The real problem here is that I developed an application that calls the sap system and a window is opened with the sap transaction. However, because this window (which was created using WDPortalNavigation.navigateAbsolute )

is a popup window - there are many users that have all kinds of popup blocking so they can't see the new window.

Anyone has an idea ??

How can I create a non popup window?

Promise to award points...

Ruthie.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi People,

I don't see the radio button on the left side for awarding points.

How did it disappear - how can I award points??

Thanks.

Ruthie.

sridhar_k2
Active Contributor
0 Kudos

Hi,

i think you session might have expired. Check that one by Re-logging.

Regards,

Sridhar

Former Member
0 Kudos

Hi Sridhar,

where do I put the url of the window?

(when using createExternalWindow - I put it this way

wdControllerAPI.getComponent().getWindowManager().createExternalWindow(

Url,

"SAP system",

false) )

Thanks for your help.

Ruthie.

Former Member
0 Kudos

Hi,

Try this,

IWDWindow win = wdComponentAPI.getWindowManager().createExternalWindow("http://www.google.com","Search Engine",true);

win.open();

-Nagarajan.

sridhar_k2
Active Contributor
0 Kudos

Hi,

Go thru this link. You will get complete Info. regarding External Windows.

Regards,

Sridhar

sridhar_k2
Active Contributor
0 Kudos

Hi,

Try This code.

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI

.getComponentInfo().findInWindows("SDNComp");

IWDWindow window = wdComponentAPI.getWindowManager()

.createWindow(windowInfo,true);

window.setWindowPosition(300, 150);

window.open();

wdContext.currentContextElement().setPopupElement(window);

//SDNComp - is the window you want to show as External Window.

//PopupElement is type as - com.sap.tc.webdynpro.services.session.api.IWDWindow

Regards,

Sridhar

Message was edited by: Sridhar kanchanapalli