2006 Aug 17 4:21 AM
Hi
I am tryiing out a simple Module pool application, in my report i have called a screen, in PBO of that screen i have set PF-STATUS and enabled standard buttons the back(F3), Exit(F12) buttons, on clicking on those i wrote leave to screen 0 statement.
Now the screen has some input fields which are mandatory, if i press cancel on the screen without entering anything, it is saying enter mandatory fields. i don't want to happen that instead i have to go back to the prev. screen. How to do this?
Thanks & Regards,
Abhimanyu.L
2006 Aug 17 4:26 AM
Hi,
In the PF-STATUS for the exit and the cancel button change the function type to 'E'.
In the PAI create a module with the exit-command.
MODULE exit_command_0200 AT EXIT-COMMAND.
In this module check the ok code and if it cancel or exit say leave to screen 0..
Hope this works..
Thanks
Naren
Message was edited by: Narendran Muthukumaran
Hi
I am tryiing out a simple Module pool application, in my report i have called a screen, in PBO of that screen i have set PF-STATUS and enabled standard buttons the back(F3), Exit(F12) buttons, on clicking on those i wrote leave to screen 0 statement.
Now the screen has some input fields which are mandatory, if i press cancel on the screen without entering anything, it is saying enter mandatory fields. i don't want to happen that instead i have to go back to the prev. screen. How to do this?
Thanks & Regards,
Abhimanyu.L
2006 Aug 17 4:26 AM
Hi,
In the PF-STATUS for the exit and the cancel button change the function type to 'E'.
In the PAI create a module with the exit-command.
MODULE exit_command_0200 AT EXIT-COMMAND.
In this module check the ok code and if it cancel or exit say leave to screen 0..
Hope this works..
Thanks
Naren
Message was edited by: Narendran Muthukumaran
2006 Aug 17 4:30 AM
Hi,
Check this link...
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/content.htm
Cheers
VJ