01-29-2009 1:09 PM
i am working on a screen having all fields are required to fill ( means all feilds are mandatory)
now i have a cancel button on the screen. i want to leave the screen on pressing the cancel button but the follwoing error comes on preesing the cancel button
Make an entry in all the required feilds.
please suggest if i can make the feilds on the screen from required to possible
01-29-2009 1:14 PM
01-29-2009 1:11 PM
Give the button function type 'E'.
And code the processing of the function code of the button in a separate PAI module:
module exit_command at exit-command.
01-29-2009 1:11 PM
I guess it is a module pool: the cancel button has to defined as exit command in the gui painter
01-29-2009 1:14 PM
01-29-2009 1:22 PM
Hi Vishal .
assing function type - E to appropriate screen field.
you can also try:
loop at screen.
if screen-name = <fieldname>.
screen-required = ''.
modify screen.
end loop.
hope any one of this help u .
Rgds,
Premraj
Edited by: PremRaj kaushik on Jan 29, 2009 2:23 PM
02-05-2009 4:12 AM