Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Save the program when exit

Former Member
0 Kudos

Hi all,

I doin a dialog program. How to pop out a save dialog when the user close the program or 'x' the program?

Thks

4 REPLIES 4

Former Member
0 Kudos

Hi,

Ya u can do that by calling the function(provided by SAP) just give POP and give F4 in callinf function, u will be able to find lot of functions and their discriptions. Choose the right function and give the parmters.

Reagrds

Naveen

Reward ponits if helpful.

0 Kudos

Okie... another problem come...

Hw to trigger the 'X' close the program to call this fm?

Any code that detect the user click on the 'X' of the program?

Former Member
0 Kudos

Hi,

For this type of problem u can do one thing.

Provide them the exit button. Check whether this button is pressed.

If pressed call the function.

0 Kudos

Okie... this solution i have noted down.... what happen if the user click on the top right corner the 'X' ......anything code that enable me to check that also.....the 'X' close of the program.