2006 Dec 11 11:42 AM
Hi all.
I have one doubt in pf status.
1.Actually i have some input fields in my dilogue program.it has pf status (it has some button like back,exit,cancel)
2.input field has obligatory.if i press cancel or exit or back it need one input for that obligatory field.
3.i want avoid this obilgatory when i will be press cancel or back ot exit.
pls advice me.
regards.
Raju.j
2006 Dec 11 11:45 AM
In the pf-status definition,
when you define the fcodes for the exit and cancel buttons, YOu have to set the FUNCTIONAL TYPE as 'E'.
Regards,
Ravi
2006 Dec 11 11:58 AM
hi Ravi.
what is means for following pls may you explain briefly?
FUNCTIONAL TYPE as 'E'.
thank u
2006 Dec 11 11:48 AM
1. Assign the function type E to your cancel or exit or back buttons . <br>
2. in PAI <br>
write in the following way:-<br>
module exit <b>AT EXIT-COMMAND.</b><br>
MODULE EXIT INPUT.<br>
WHEN 'CANCEL'.<br>
LEAVE To SCREEN 0.<br>
....<br>
.......<br>
code for exit, back.<br>
ENDMODULE.<br>
SHEFALI GANGRADE
2006 Dec 11 11:59 AM
Hi
what is means for following pls may you explain briefly?
FUNCTIONAL TYPE as 'E'.
thank u
2006 Dec 11 11:49 AM
Hello Raju,
Create a muodule like this.
MODULE EXIT AT EXIT-COMMAND.
The type of pushbutton should <b>E</b>
If useful reward,
Vasanth
2006 Dec 11 11:59 AM
Hi
what is means for following pls may you explain briefly?
FUNCTIONAL TYPE as 'E'.
thank u
2006 Dec 11 11:50 AM
For Cancel fcode, You set that fcode as exit command 'E' .
In PAI of screen..
MODULE d9002_exit AT EXIT-COMMAND.
&----
*
*& Module D9002_EXIT INPUT
&----
MODULE d9002_exit INPUT.
set screen 0.
leave screen.
Endmodule.
2006 Dec 11 12:00 PM
Hi
what is means for following pls may you explain briefly?
FUNCTIONAL TYPE as 'E'.
thank u
2006 Dec 11 11:52 AM
Hi
In the set pf-status while creating EXIT in application toolbar give Functional type as 'E'.
Regards
Haritha.
2006 Dec 11 12:00 PM
Hi
what is means for following pls may you explain briefly?
FUNCTIONAL TYPE as 'E'.
thank u
2006 Dec 11 12:05 PM
when you go to properties, you will get the Function code and type.
Function code means the sy-ucomm which you check at run time in PAI/PBO.
we can assign the type to function code,
from type system will determine when to exectute the related module attached to function code.
if you are setting it to type 'E', it means it on the exit and will be the last module to execute on the screen.
2006 Dec 11 12:11 PM
Double click on your status, and you will get into the screen where you define the buttons, menus etc.(YOu can also go thru se41 transaction).
In that screen, open the Function Keys node.
Double click on the button for cancel/exit .
You will get a pop up with details like, function code, functional type etc.
GIve E for functionla type.
Then you can follow what others have suggested.
like in pai section, you have to use
module exit_command at exit-command.
REgards,
Ravi