‎2008 Mar 05 9:52 PM
Hi ,
I have a requirement to update a custom table , whenever user closes the screen (custom transaction sceen) either by clicking 'cross-mark' (top-right corner) OR typing '/n' in the command-line.But the problem is I am not able to capture the event where I can add the necessary coding.
Can anybody please help me on this?
Reagrds,
Anirban.
Edited by: anirban dutta on Mar 5, 2008 10:53 PM
‎2008 Mar 05 10:00 PM
Try to record the sequence in SHDB.
Get the okcode for it.
If you still can't find it.....
Get the program name of that screen which you are going to "cross/close". Do F1 on screen. -> technical settings.
Goto SE80. Give the program name. See all the screen numbers and screens. Here you can find the okcode.
Generate your logic when this triggers.
I hope it helps.
thanks
‎2008 Mar 05 10:11 PM
Try something like:
module exit_0200 at exit-command.and make sure it is defined as an exit command.
Rob