‎2009 Jul 31 4:59 PM
Hi,
Though in general we use 'AT SELECTION-SCREEN ON <field> ' event to validate input fields. My question is - is there any way to validate input fields without any custom code.... like
if i write code like this...
parameters: p_bukrs like t001-bukrs,
p_today like sy-datum. If i enter anything wrong in p_bukrs and click on ENTER it was not throwing any error, but if i enter any wrong date like 99.99.9999 then i was getting error msg. Looks like silly, but why dont we have auto check flexibility against check tables ... as in other softwares.
Thanks
Sri.
‎2009 Jul 31 5:30 PM
Hi,
Try with VALUE-CHECK option of PARAMETERS
Example:-
PARAMETERS : p_bukrs LIKE t001-bukrs VALUE CHECK.Regards
Bala Krishna
Edited by: Bala Krishna on Jul 31, 2009 10:17 PM
‎2009 Jul 31 5:30 PM
Hi,
Try with VALUE-CHECK option of PARAMETERS
Example:-
PARAMETERS : p_bukrs LIKE t001-bukrs VALUE CHECK.Regards
Bala Krishna
Edited by: Bala Krishna on Jul 31, 2009 10:17 PM
‎2009 Jul 31 5:30 PM
Hi Sri,
I do not think so that we have any such direct validation for screen fields. We use " AT SELECTION-SCREEN ON <field> " for validations.
If you want then you can keep F4 help for the screen fields so that no incorrect value is entered.
Regards,
Saba
Edited by: Saba Sayed on Jul 31, 2009 6:31 PM
‎2009 Aug 04 4:05 PM