1、直接访问表
dd07l和dd07T
select * from dd07l
where domname = 'domname' and
as4local = active.
2、使用SAP的标准函数
call function 'DD_DOMVALUES_GET'
exporting
domname = p_domname
importing
rc = l_subrc
tables
dd07v_tab = l_dd07v
exceptions
wrong_textflag = 1
others = 2.
另外如果想获取 Value的描述需要从DD07T中查找,查找时不要忘记选择语言种类