cancel
Showing results for 
Search instead for 
Did you mean: 

Popup buttons - deactivating

Former Member
0 Kudos

Hi,

I'm showing a popup and on the top right corner we are having 2 buttons - maximize and close.

I want to remove/hide/de-activate the close button or

i want to do validation when user click on the close button(top right corner). I tried writing the code in WDDOEXIT method.

But getting timeout error.

How can i do it???

Thankx...

Accepted Solutions (1)

Accepted Solutions (1)

baskaran00
Active Participant
0 Kudos

Suba,

you can hide the close button using the below code.

data l_popup type ref to if_wd_window.

l_popup->open( ).

l_popup->set_close_button( close_button = '' ).

try with the above code it will work.

Thanks...

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

I am not so sure about this, try WDDOONCLOSE() of the window.

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/bccdcfe326332ee10000000a11466f/content.htm

Abhi