<?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: What function module to use / in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-to-use/m-p/981311#M72032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What release are you on?&lt;/P&gt;&lt;P&gt;In 620 and higher there is a class that will do that with a data object reference:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_bsp_services=&amp;gt;if_bsp_services~get_simple_helpvalues2
        exporting
          data_object_ref = field
        changing
          helpvalue_tab2  = help1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the code in there will help as well:&lt;/P&gt;&lt;P&gt;You can use the RTTI to get fixed values:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: rtti type ref to cl_abap_elemdescr.
call method rtti-&amp;gt;get_ddic_fixed_values
    receiving
      p_fixed_values = fixvalues.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Data Dictionary shows an attached search help, you can call the following to get those values:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Select the value help description in the local system:
  call function 'F4UT_VISUALIZATION_GET'
    exporting
      tabname           = l_typename
      fieldname         = l_compname
    importing
      keyfield          = l_keyfield
      valuefield        = l_valuefield
    tables
      value_tab         = f4_visual_tab
    changing
      shlp              = l_shlp
    exceptions
      field_not_found   = 1
      no_help_for_field = 2
      inconsistent_help = 3
      others            = 4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2005 20:49:57 GMT</pubDate>
    <dc:creator>thomas_jung</dc:creator>
    <dc:date>2005-06-29T20:49:57Z</dc:date>
    <item>
      <title>What function module to use /</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-to-use/m-p/981310#M72031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I AM LOOKING FOR A FUNCTION MODULE WHICH WILL GIVE ALL THE F4 CHECK VALUES OF A PARTICULAR FIELD WHEN THE TABLE NAME AND THE FIELD NAME PASSED TO IT.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2005 20:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-to-use/m-p/981310#M72031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-29T20:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: What function module to use /</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-to-use/m-p/981311#M72032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What release are you on?&lt;/P&gt;&lt;P&gt;In 620 and higher there is a class that will do that with a data object reference:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_bsp_services=&amp;gt;if_bsp_services~get_simple_helpvalues2
        exporting
          data_object_ref = field
        changing
          helpvalue_tab2  = help1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the code in there will help as well:&lt;/P&gt;&lt;P&gt;You can use the RTTI to get fixed values:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: rtti type ref to cl_abap_elemdescr.
call method rtti-&amp;gt;get_ddic_fixed_values
    receiving
      p_fixed_values = fixvalues.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Data Dictionary shows an attached search help, you can call the following to get those values:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Select the value help description in the local system:
  call function 'F4UT_VISUALIZATION_GET'
    exporting
      tabname           = l_typename
      fieldname         = l_compname
    importing
      keyfield          = l_keyfield
      valuefield        = l_valuefield
    tables
      value_tab         = f4_visual_tab
    changing
      shlp              = l_shlp
    exceptions
      field_not_found   = 1
      no_help_for_field = 2
      inconsistent_help = 3
      others            = 4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2005 20:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-to-use/m-p/981311#M72032</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2005-06-29T20:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: What function module to use /</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-to-use/m-p/981312#M72033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this FM&lt;/P&gt;&lt;P&gt;FUNCTION STF4_CHECK_DOMAIN_VALUE_TEXT.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(IV_DOMNAME) LIKE  DD01L-DOMNAME&lt;/P&gt;&lt;P&gt;*"             VALUE(IV_VALUE_TEXT) LIKE  DD07T-DDTEXT&lt;/P&gt;&lt;P&gt;*"       EXPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(EV_VALUE)&lt;/P&gt;&lt;P&gt;*"       EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"              VALUE_NOT_FOUND&lt;/P&gt;&lt;P&gt;*"              NO_VALUES&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2005 04:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-to-use/m-p/981312#M72033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-30T04:11:04Z</dc:date>
    </item>
  </channel>
</rss>

