‎2010 Jul 21 10:16 AM
Hello,
I create a Zmatchcode. It's run ok, the user can choose a parameters by search help...nice !!!
My problem is :
Now, I would that if the user don'use the matchcode and enter some random data on parameters an error message is showed.
I would that the user have only the possibility to entry data present on matchcode, and not other data.
How to do it ?
Tks.
‎2010 Jul 21 10:23 AM
Hi,
The Zmatchcode might be showing data from a particular table. In the AT-SELECTION SCREEN event, check using SELECT query whether the value entered in the parameter exists in the table or not.
Regards,
Vinod
‎2010 Jul 21 10:23 AM
Hi,
The Zmatchcode might be showing data from a particular table. In the AT-SELECTION SCREEN event, check using SELECT query whether the value entered in the parameter exists in the table or not.
Regards,
Vinod
‎2010 Jul 21 10:28 AM
Hi
In the At Selection Screen event you can write a select query to check whether the value exist in the respective table.After the select query check sy-subrc.If it is not equal to zero then the value doesn't exist.In that case u can use Message of type E to show an error .
Thanks!!
RJ