cancel
Showing results for 
Search instead for 
Did you mean: 

How to destroy the component

Former Member
0 Kudos

Hi friends...

How to destroy the componenet.....

Is it possible?....

Thanks& regards

Mathi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mathi..

Right click the component-->delete...

Urs GS....

Former Member
0 Kudos

hi,

How to destroy the window through coding....

Because

component1

view1--Nameis v1

view2--Nameis v2

component2

view1--Nameis v3

view2Nameis v2

The diagram flow is

view1>view2>view3>view1>view2-->view3

But my project is work Like

view1>view2>view3>view1>not go to view2-->again and again view1 to view3...

Is any Possiblilities to destroy the componenet through coding...

Thanks & regards

Mathi

Former Member
0 Kudos

Hi Mathi..

Its Possible one..

Check This link...

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a">Destroying The Component</a> -->Step by step Procedure

Hope this will solve your problem..

URs GS

Answers (1)

Answers (1)

Former Member
0 Kudos

if u have parameter say win of type IWDWindow containing the reference of the window created in the main view.

In the popup window on action close of the window, instead of calling the handler you can directly give

win.close();

win.destroy();