07-26-2010 9:56 AM
Hi everyone!
I need to execute some instructions when user exit from the program.
Something like AT EXIT-COMMAND in PAI.
But i dont have any PAI module or declared flow logic in my screen definition,
becouse screen is calling automaticly by abap, i cant change anything there.
Structure of my program is similiar to this: [http://help-abap.blogspot.com/2008/10/dispaly-alv-report-output-in-same.html|http://help-abap.blogspot.com/2008/10/dispaly-alv-report-output-in-same.html]
How i should run some code when user leave the program?
EDIT:
ok, i got solved it
i needed this one:
AT SELECTION-SCREEN ON EXIT-COMMAND .
PERFORM EXIT_PRG.
Best regards,
Przemek
Edited by: hamsterman on Jul 26, 2010 11:15 AM
07-26-2010 10:16 AM