<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Function Module required for getting Value Range data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705249#M626730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this code to get the Doman's fixed values.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 DATA:  lt_fixed_values     TYPE ddfixvalues,

  CALL METHOD cl_abap_typedescr=&amp;gt;describe_by_name
    EXPORTING
      p_data      = 'Domain_name' " Pass the domain name here
    RECEIVING
      p_descr_ref = lcl_abap_typedescr.

  TRY.
      lcl_abap_elemdescr ?= lcl_abap_typedescr.
    CATCH cx_sy_move_cast_error.
  ENDTRY.

  IF lcl_abap_elemdescr IS BOUND.
    CALL METHOD lcl_abap_elemdescr-&amp;gt;get_ddic_fixed_values
      EXPORTING
        p_langu        = sy-langu " Give the language
      RECEIVING
        p_fixed_values = lt_fixed_values " This table will have the fixed values
      EXCEPTIONS
        not_found      = 1
        no_ddic_type   = 2
        OTHERS         = 3.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Aug 2007 04:30:16 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-08-24T04:30:16Z</dc:date>
    <item>
      <title>Function Module required for getting Value Range data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705246#M626727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need a function module where in i can get the data from a value range in a domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Gurpreet Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 04:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705246#M626727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T04:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module required for getting Value Range data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705247#M626728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_DOMAIN_VALUES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rewards point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 04:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705247#M626728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T04:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module required for getting Value Range data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705248#M626729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write a select statement for the table DD07T and fetch the TEXT of the domain Values. if needed use DD07L table for Domain Values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the fun module&lt;/P&gt;&lt;P&gt;GET_DOMAIN_VALUES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 04:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705248#M626729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T04:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module required for getting Value Range data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705249#M626730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this code to get the Doman's fixed values.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 DATA:  lt_fixed_values     TYPE ddfixvalues,

  CALL METHOD cl_abap_typedescr=&amp;gt;describe_by_name
    EXPORTING
      p_data      = 'Domain_name' " Pass the domain name here
    RECEIVING
      p_descr_ref = lcl_abap_typedescr.

  TRY.
      lcl_abap_elemdescr ?= lcl_abap_typedescr.
    CATCH cx_sy_move_cast_error.
  ENDTRY.

  IF lcl_abap_elemdescr IS BOUND.
    CALL METHOD lcl_abap_elemdescr-&amp;gt;get_ddic_fixed_values
      EXPORTING
        p_langu        = sy-langu " Give the language
      RECEIVING
        p_fixed_values = lt_fixed_values " This table will have the fixed values
      EXCEPTIONS
        not_found      = 1
        no_ddic_type   = 2
        OTHERS         = 3.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 04:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-required-for-getting-value-range-data/m-p/2705249#M626730</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-24T04:30:16Z</dc:date>
    </item>
  </channel>
</rss>

