‎2012 Nov 01 6:16 AM
I want to validate the entry at a selection screen even before it is displayed after a key press, ie, suppose i have a parameter of type n, then it should not allow a character type entry to be typed as input. It should not even allow the user to type a character type entry. How should i validate???
‎2012 Nov 01 11:51 AM
Hi Santosh,
Just declare your parameter as a type n.
Parameters : p_par type N length <whatever you want>.
Now it will not allow user to enter any character type in input box. only numeric digits will be allowed.
And for any further verification. write your code-->
At Selection-screen.
write your code for any other check.
Hope this resolves your issue.
Regards,
A.Trivedi
‎2012 Nov 01 6:23 AM
Keyboard stroke events are not possible in report screen like JavaScript or .NET .....
‎2012 Nov 01 10:22 AM
I dont think Key press command you can capture. Possible solution that you can implement is write your validation logic on At selection screen event with error message
So when sometype invalid entry, system will give this as error message.
Regards,
Deepti
‎2012 Nov 01 10:58 AM
Dear Santhosh,
This kind of validation can be included in the AT-SELECTION-SCREEN event.
Just write the validation code below this event.
Regards
Dinesh
‎2012 Nov 01 11:51 AM
Hi Santosh,
Just declare your parameter as a type n.
Parameters : p_par type N length <whatever you want>.
Now it will not allow user to enter any character type in input box. only numeric digits will be allowed.
And for any further verification. write your code-->
At Selection-screen.
write your code for any other check.
Hope this resolves your issue.
Regards,
A.Trivedi