cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

fetching values from domain from fixed values

Former Member
0 Likes
2,030

hi,

this is related to my earlier posting of fetching values from domain.

TABLE NAME IS Z_CODES

FIELD NAME IS CODE

DOMAIN IS CD

under DOMAIN, value range tab -> single values. in that i have few FIXED values around 10 and may likely to change. how to pull these and insert these values in the range table in my program .

any help would be appreciated.

Thanks,

kranthi.

Message was edited by: kranthi kumar

Message was edited by: kranthi kumar

Message was edited by: kranthi kumar

View Entire Topic
Former Member
0 Likes

Hi Kranthi,

If you know the domain name, then, you can execute a query on table DD07L. The texts for the values can be retrieved from DD07T, with sy-langu.

DOMNAME - Domain name

AS4LOCAL - Activiation status. Make sure you query with value 'A', for the active version.

VALPOS will determine the order in which the values exist.

If the domain has a range, then, the fields DOMVALUE_L and DOMVALUE_H will be populated.

Cheers,

Rahul

Former Member
0 Likes

Hi Kranthi,

I would not recommend to access the meta data tables directly. You may use function module DDIF_FIELDINFO_GET.

It has a very detailed documentation.

Greetings

Stephan