cancel
Showing results for 
Search instead for 
Did you mean: 

How to Close Main Window using Button

Former Member
0 Kudos

Hi All,

I have one Main Window 'W_MAIN' and one View 'V_MAIN' .Inside this view one button 'EXIT' is there.

view 'V_MAIN' is embbeded in the Window'W_MAIN' . on click of Buttton 'Exit' one dataloss popup will be come and after clicking 'Ok' button Window should get closed( Delete the instance of window).

Could you please give any suggestion?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

this thread is some what similar to your problem,check it out

[]

[]

Former Member
0 Kudos

Thanks a lot.....

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Go for the following link...

I hope it helps.

Regards,

Rohit

Former Member
0 Kudos

You need to make use of the exit plug, in the window. Check below blog, implement it and you can achieve what you want.

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6687] [original link is broken] [original link is broken] [original link is broken];

Greetings

Prashant