Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to pick up values from value table

Former Member
0 Kudos

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

3 REPLIES 3

suresh_datti
Active Contributor
0 Kudos

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!

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi suresh & srinivas,

Thanks for your response.

kranthi.