11-07-2007 11:38 AM
I have created a value range in a domain. I need to read the all the value ranges for the field using the domain in my report.
Is there any FM that can help or any other way.
Shall appreciate your input by Reward points
11-07-2007 11:44 AM
hi
good
pls check this code
data: idd07v type table of dd07v with header line.
call function 'DD_DOMVALUES_GET'
exporting
domname = 'RFBSK' "<-- Your Domain Here
text = 'X'
langu = sy-langu
tables
dd07v_tab = idd07v
exceptions
wrong_textflag = 1
others = 2.
loop at idd07v.
write:/ idd07v-domvalue_l, idd07v-ddtext.
endloop.
reward point if helpful.
thanks
mrutyun^
11-07-2007 11:41 AM
11-07-2007 11:44 AM
hi
good
pls check this code
data: idd07v type table of dd07v with header line.
call function 'DD_DOMVALUES_GET'
exporting
domname = 'RFBSK' "<-- Your Domain Here
text = 'X'
langu = sy-langu
tables
dd07v_tab = idd07v
exceptions
wrong_textflag = 1
others = 2.
loop at idd07v.
write:/ idd07v-domvalue_l, idd07v-ddtext.
endloop.
reward point if helpful.
thanks
mrutyun^
11-07-2007 12:11 PM