Application Development 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: 

selection screen validation when using PNP LDB

Former Member
0 Kudos
259

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.

2 REPLIES 2

amit_khare
Active Contributor
0 Kudos
61

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...

0 Kudos
61

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.