Skip to Content
Aug 03, 2009 at 06:47 PM

Is it possible to capture "/n" in PAI


We have a ALV grid open for users for editing. We are setting some locks(making physical entries in table) just after user executes this program.

These locks will be released(deleted) in cases when the program exits with a error message or when user clicks back/cancel button or when users commits data changes from ALV grid. All these events are captured in PAI module to release locks.

We noticed that users are using /N to come out of the program!!!!. We dont want to stop them but is there anyway we can capture /n and release our locks.