ABAP如何访问SAP的Domain的Value Range

访问Domain的Value Range有两种方法:

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.

原文地址:https://www.cnblogs.com/xiaomaohai/p/6157495.html