Application Development and Automation 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: 
Read only

Problem in capturing event.

Former Member
0 Likes
390

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

2 REPLIES 2
Read only

Former Member
0 Likes
369

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

Read only

Former Member
0 Likes
369

Try something like:

module exit_0200 at exit-command.

and make sure it is defined as an exit command.

Rob