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

problem regarding required feild on screen

Former Member
0 Likes
742

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
710

Hi Vishal,

Please check the below links,

Best Regards.

5 REPLIES 5
Read only

Former Member
0 Likes
710

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.

Read only

JozsefSzikszai
Active Contributor
0 Likes
710

I guess it is a module pool: the cancel button has to defined as exit command in the gui painter

Read only

Former Member
0 Likes
711

Hi Vishal,

Please check the below links,

Best Regards.

Read only

Former Member
0 Likes
710

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

Read only

Former Member
0 Likes
710

thanks