cancel
Showing results for 
Search instead for 
Did you mean: 

Close the window

Former Member
0 Kudos

Hi All,

i am working on ESS customization, i have configured the new link in the portal ESS personla information screen,

when i click the link that will open a new window to show my webdynpro application, please help me in how to close the opened window in portal, i am trying in the webdynpro, but the window is open by portal that's why i am unable to close from webdynpro.

please help me....

Cheers,

Appu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Do throw some light on the question....i didn't understand the question.

Thanks,

GLM

Former Member
0 Kudos

Hi,

i am working on webdynpro ESS MSS customization, so in that we have developed the new application,

i have integrated in portal as part ESS home screen as link

when user clicks the link it will open in new window, i want to close the opened window from portal.

Cheers,

Appu

former_member218672
Active Contributor
0 Kudos

Why dont you give a button in that window using web dynpro which will close the window by clicking on that.

The method is very simple for that.

Cheers,

Prodyut

Former Member
0 Kudos

we are not creatin the window iright, how can i get the reference of that window to close,

the window is creted by portal it self roght and i already tried that, one more thing in the FPM architecture, we are not using the which comes while creating the component, the window we will get from the FPMapplication that's why i am unable to get the window reference.

Thanks for your reply,

Cheers,

Apparao

Former Member
0 Kudos

Hi Apparao,

You can try using this, it should work

public void onActionClose(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )

{

//@@begin onActionClose(ServerEvent)

WDPortalEventing.fire("urn:com.sapportals:navigation", "CloseWindow", "");

//@@end

}

This is the portal event which is used to close a portal window

let me know whether it worked or not

Thanks & Regards

Swetha