05-26-2005 8:41 PM
hi,
Thanks for your response. i modified the approach a little bit. im presenting the new scenario here.
TABLE NAME IS Z_CODES
FIELD NAME IS CODE
DOMAIN IS CD
under DOMAIN, there are few values in the value range tab -> single values. in that i have few FIXED values. how to pull these and insert these values in the range tab in my program . any help would be appreciated.
Thanks,
kranthi.
Message was edited by: kranthi kumar
Message was edited by: kranthi kumar
05-26-2005 8:50 PM
Hi Kranthi,
Use the function module 'GET_DOMAIN_VALUES'
Good Luck,
Suresh Datti
P.S. 'Hardcoding' will rarely be OK and even if it is, should only be your last resort!
05-26-2005 9:12 PM
Use RPY_DOMAIN_READ with the domain name. If the tables parameter DOMA_VALUES returns you some values, then your domain has domain values. If it doesn't then EXPORT parameter DOMA_INF has a field VALUETABLE. You need to read that table to get all the values.
05-27-2005 12:21 AM