Regarding system variable
If on a screen we make some changes, which system variables tracks that. Actually I've to popup a window when someone tries to close the screen that "Do want to save the changes or not".
u can check for field sy-datar . let me know if this works . actualy in vf02 also u havent got this functionality because whther or not u do any changes in the screen it ask for u want to save or not .
Reward if helpfull
Message was edited by: