Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Question regarding pf-status

Former Member
0 Likes
541

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
517

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

2 REPLIES 2
Read only

Former Member
0 Likes
518

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

Read only

Former Member