ALV alert unsaved modified field when press BACK bottom

Question: I use REUSE_ALV_GRID_DISPLAY to show list and allow user to modify some fields of the list. But when user press BACK bottom the modified fields are lost.

Is there any way to put a popup window when data is changed and the user press BACK bottom? Where should I put the code?

Thanks.

Answer:
PAI of the window... Before LEAVE SCREEN...

FM: POPUP*etc


_________________
The Doc
Magna Grand Docot of the Tuly Idiot Order

2007 Basic Rules

Answer:
I managed this problem using the event catcher on the fields, setting a variable to "X" (I also had to recalculate some fields and refresh the alv after user input... I GOT CRAZY but finally I worked on a part of the ok_code wich give you if user pressed enter or something else, this code is also variable!!!), at this time you can managed the code into you pay on 'BACK' or 'EXIT' event to give a popup to the user...
Copyright ?2007 - 2008 www.jt77.com