欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

SAP ABAP 域值范围获取

程序员文章站 2022-05-18 07:55:07
...
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.