‎2007 Oct 17 3:52 PM
Hi,
Is there any automic field validation way in which i dont' need to write the code at selection screen event in selection screen report.
e.g vendor name.
at selection screen, I have to check form lfa1 that wheher this record which user enters exits in lfa1 or not.
Is there any automatic way, in which i dont need to write the validation code for every selection field.
Thanks,
‎2007 Oct 17 3:56 PM
i don't think so automatic validation....except for few fileds like date where it checks for format and in case of select-options it checks if low value is not exceeding high value.....for others u need to explicitly do validation in at selection-screen event.
Regards
vasu
‎2007 Oct 17 3:58 PM
I believe that you can do this sort of thing with a foriegn key relationship in the ABAP dictionary, but not for fields like "Vendor Name". It is more geared toward codes rather than free text.
http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ea77446011d189700000e8322d00/frameset.htm
Regards,
Rich Heilman
‎2007 Oct 17 3:58 PM
Hi,
While declaring the fields you need to specify the Dictionary varianbles, if that field is having F4 help then the field will be automaically validated with the respective data, if the field doen't have the F4 help then you need to write the code to validate it
Regards
Sudheer
‎2007 Oct 17 3:59 PM
goto se38.
CTRL+F8
PARAMETER
click 20. ... VALUE CHECK
read!
Kind regards, Rob Dielemans
‎2007 Oct 17 4:22 PM
Hi,
I have used dict reference & it has F4 help also, but its not validating automatic.
any suggestions...
Thanks,
‎2007 Oct 17 4:24 PM
There is no provision in SAP to validate values automatically except you provide search help for all parameters and all parameters are mandatory. This way you might be able to validate some parameters but i doubt it will take care of all your selection screen elements.
Message was edited by:
Ashish Gundawar