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.

posted on 2006-10-11 17:30  毛小娃  阅读(205)  评论(0编辑  收藏  举报

导航