‎2007 Aug 02 8:46 AM
As I can control when a user leaves a program with the commando /n or other transaction code?
Thanks.
‎2007 Aug 02 9:03 AM
I block tables when the program runs and I want to unblock them when the user leaves. As I control when the user leaves the program with /n to unblock the tables?
‎2007 Aug 02 8:48 AM
Hi,
/n is to terminate the current program and go to the initial screen.
Reward if helpful.
‎2007 Aug 02 8:48 AM
‎2007 Aug 02 8:50 AM
Hi,
u can try like this if its a module pool prg;
in PAI.
if sy-ucomm = '/n'.
exit.
endif.
Jogdand M B
‎2007 Aug 02 8:52 AM
‎2007 Aug 02 8:52 AM
Hi,
Dont think its possible to control user's actions when a '/n' is entered, the program will exit processing.
What exactly is the problem you face when the user exits this way?
Sudha
‎2007 Aug 02 8:56 AM
‎2007 Aug 02 9:03 AM
I block tables when the program runs and I want to unblock them when the user leaves. As I control when the user leaves the program with /n to unblock the tables?
‎2007 Aug 02 10:06 AM
Hi javier,
1. How are u blocking the tables. If you are blocking them
thru standard FMs or some standard functionality,
<b>2. then /n will cause the session to terminate,
and r/3 will automatically release the Locks of that session.</b>
regards,
amit m.