‎2008 Jul 14 12:59 PM
Hello,
I need to validate a field. This field's domain is defined in the Dictionary as a Value Range (i. e. 'A', 'B', etc.).
How can I do it generically, that is, when I update the domain, my code will still validate correctly the values?
Thank you!
‎2008 Jul 14 1:09 PM
Hello.
Use database table DD07L for that. It contains all the value in domains.
Regards.
Valter Oliveira.
‎2008 Jul 14 1:05 PM
Hi ivson,
Try to use the event AT SELECTION-SCREEN ON FIELD.
Best of luck,
Bhumika
‎2008 Jul 14 1:09 PM
Hello.
Use database table DD07L for that. It contains all the value in domains.
Regards.
Valter Oliveira.
‎2008 Jul 14 1:14 PM
hi,
Write a select on DD07L table by passing DOMNAME and get DOMVALUE_L & DOMVALUE_H which has the domain values and validate accordingly ... You can get the domain name of a data element from DD04L table where pass the data element name in ROLLNAME and get DOMNAME ...
Regards,
Santosh