‎2005 Dec 14 3:28 AM
Hi
How can i keep the input fields on the screen open for input even after an error message is displayed ?
I don't have to take care of this is in Reports , but in Module pools(Dialogue Programming) i want the fields to be open .
Thanks
Ajitabh Pradhan
‎2005 Dec 14 3:33 AM
Ajitabh,
This is exactly where you CHAIN .. END CHAING commands come into picture. Put all the fields that you want to validate beteween this and whichever field has an error will be open for edidting.
Regards,
Ravi
Note : Please reward the posts that help you.
‎2005 Dec 14 3:40 AM
In the PAI, you:
CHAIN.
FIELD zzerd_vendor_data-lifnr.
FIELD zzerd_vendor_data-pernr.
MODULE check_vendor_pernr_exist.
ENDCHAIN.
FIELD zzerd_vendor_data-lifnr
MODULE validate_lifnr ON REQUEST.
FIELD zzerd_vendor_data-pernr
MODULE validate_pernr.
In the first (chain a number of fields), if either field fails validation, both are open for input. In the second (one field), if the validation fails only that fiels is open for input.
Rob
‎2005 Dec 15 4:08 AM