cancel
Showing results for 
Search instead for 
Did you mean: 

window.destroy() - Method of IWDWindow is deprecated.

Former Member
0 Kudos

Hi Experts,

I am getting following message inside a Java program of Web Dynpro:

window.destroy() - Method of IWDWindow is deprecated.

Could you please let me know how to sort out the issue. I am using NWDS 7.0.06.

Regards,

S

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

According to <a href="https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/services/session/api/IWDWindow.html#destroy()">JavaDoc</a> :

<i>

Deprecated. This method is not part of the Web Dynpro API and might be withdrawn with the first new NetWeaver release in 2007. Please use <a href="https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/services/session/api/IWDWindow.html#destroyInstance()">destroyInstance()</a> instead

Method destroy: invalidates/destroys window instance - the instance is closed and destroyed and can not be reused/reopened

</i>