2008 Jun 27 10:40 PM
Hi guys,
I want to validate my selection screen parameters.Thats is if somebody wants to run the program without giving any input parameters to the selection screen(trying to run the report with a blank screen) I want to pop up an error/information message so that it will return the selection screen.I am using PNP Logical database for my selection screen.Please help.Thanks in advance.
Thanks,
Karthik.
2008 Jun 27 10:49 PM
Welcome to SDN.
If you are using PNP logical data base then validating the fields will be little tricky...
You canc check all the other fields in START-OF-SELECTION and if they are empty return eroor. Remember all the field s on the scree... so I will suggest you to choose HR report Category accordingly.
Also,when it comes to date field then you need to check for the start and end dates rather than blank fields as SAP defaulted them to system start and end date.
Still, I will prefer to create a HE Report Category for the PNP database and use the screen while validating....that will be easy...
2008 Jun 27 10:52 PM
Thanks for your reply...I am using a HR report catagory and I am not using any date selection..The requirement is that atleast they need one field to be filled in the selection screen to execute the report.
Thanks again,
Karthik.