cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

React to /n command in sapgui

ioan_radulescu2
Participant
0 Likes
1,839

Hi guys,

I'd like to do some clean-up if the user ends the program by entering a new transaction code in the command field of sapgui with /n. I though module XXX at exit-command would help but alas no the code didn't seem to execute when leaving the program by /n.

Is it possible to react to that at all?

View Entire Topic
Sandra_Rossi
Active Contributor

You can't. The program must be written such a way (using the concept of SAP LUW) that the dialog session may stop at any time without doing any harm.

What is your original issue?

ioan_radulescu2
Participant
0 Likes

Yeah it is. There is no harm at least not on the DB. But I wanted to clean up some controls. it's not so bad, SAPGui doesn't do it so badly.