‎2010 Dec 01 9:33 AM
Hi Friends,
Is there a way to verify the input which the user enters on screen
either declared by parameters or select-options
without below techniques at declaration level itself.
1. Provide user a dropdown list ( no error, no verifcation ).
2. By sending back the user input and do select query and then display type E messages
ex: select f1 from table into wa
where a1 IN s_first and " s_first user input
where a2 IN s_second. " s_second user input
if sy-subrc ne 0
*display error to user
endif.
My basic idea is to avoid database hits i.e., minimise select 's
Edited by: DeepakNandikanti on Dec 1, 2010 10:35 AM
‎2010 Dec 01 9:47 AM
For Parameters you can use VALUE CHECK extension, if the possible entries are defined in domain.
But for select options, may be the only way to validate is query the table.
‎2010 Dec 01 9:47 AM
For Parameters you can use VALUE CHECK extension, if the possible entries are defined in domain.
But for select options, may be the only way to validate is query the table.
‎2010 Dec 01 9:56 AM
‎2010 Dec 01 9:57 AM
Hi Deepak,
As far as my knowledge, that can happen to fields which have Conversion Exits defined at their domain level like PROJ-PSPNR which checks automatically when you enter some data in it. For other types of fields which don't have conversion exits, you have to check on your own.
Thanks & Regards,
Faheem.
‎2010 Dec 01 10:04 AM
‎2010 Dec 01 10:21 AM
‎2010 Dec 01 10:14 AM
Thanks a lot!! You all have poured in your valuable replies..
I am going through all..