sapdev logo background
sapdev logo sapdev logo
Comments

Retrieve fixed SAP domain values




The following abap code shows you how to retrieve the fixed values from a SAP domain. These are the values actually entered into the domain when creating it rather than having a value table assigned to it.



data: it_dd07t type STANDARD TABLE OF dd07t,
      wa_dd07t like line of it_dd07t.

  SELECT *   "ddtext = text value, domvalue_l = code value
    FROM dd07t
    INTO table it_dd07t
   WHERE domname    EQ 'ZDOMAIN' AND  "replace with name of your domain
         ddlanguage EQ sy-langu.





comments powered by Disqus