‎2006 Dec 26 9:02 AM
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
‎2006 Dec 26 9:07 AM
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.
‎2006 Dec 26 9:05 AM
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
‎2006 Dec 26 9:11 AM
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.
‎2006 Dec 26 9:07 AM
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.
‎2006 Dec 26 9:18 AM