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

Screen Required Field Problem

Former Member
0 Likes
683

Hi ;

in my screen 0100 there are 3 fields.

gv_budat (not required)

gv_matnr (required)

gv_werks (required)

when i click the BACK button it want me to fill the required fields.

but i want this control only when i click the other buttons not BACK button

how can i control this.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

Hi,

What you can do is write a Exit module as this is executed before any field checks.

i.e

Module xyz on exit command

in which you code to go back.

Also in the properties of Back button mark as Exit.

Hope this solves your prob.

4 REPLIES 4
Read only

Former Member
0 Likes
637

Hi,

You can handle it manually. Do not give as mandatory field. when the user click on button other than BACK, check if the field is INITIAL. if yes, then give an error message.

Note: Put the required field in Chain endchain, so that you can allow the user to enter values.

Regards,

Navneet

Read only

0 Likes
637

validate field in PAi as follows -

field itab-name module check_name on request.

or

field itab-name module check_name on input.

here itab-name is the my screen field name..

for all the fields u can use chain and endchain like -

chain.

field itab-name module check_name on request.

field itab-org module check_org.

endchain.

Read only

Former Member
0 Likes
638

Hi,

What you can do is write a Exit module as this is executed before any field checks.

i.e

Module xyz on exit command

in which you code to go back.

Also in the properties of Back button mark as Exit.

Hope this solves your prob.

Read only

Former Member
0 Likes
637

thanks Vaibhav Modi

you solved my problem

i reward points