<?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: Dynamic determination of function text for  function code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058778#M1612501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;this is a good idea, in combination with the function module that was posted by clemens, i will get all function codes and descriptions.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 06:08:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-08T06:08:38Z</dc:date>
    <item>
      <title>Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058771#M1612494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have coding that logs all the function codes pressed in a report, that function codes are  defined in the GUI Status or dynamic created in a toolbar.&lt;/P&gt;&lt;P&gt;In my log i have now all the function codes, but it would be better if i also have the function text of theese function codes. Is there any chance to get the function text for a given function code?&lt;/P&gt;&lt;P&gt;E.G. user pressed Button "Refresh" , i log the function code "REFR", but i also want to have the text "Refresh". Is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 11:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058771#M1612494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T11:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058772#M1612495</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 give text description for button in &lt;STRONG&gt;GUI Status&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just double click on Refresh icon in &lt;STRONG&gt;GUI Status&lt;/STRONG&gt; in &lt;STRONG&gt;Apllication tool bar&lt;/STRONG&gt; and give name next to &lt;STRONG&gt;icon Text&lt;/STRONG&gt;  save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR &lt;/P&gt;&lt;P&gt;Dep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058772#M1612495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T12:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058773#M1612496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes that's clear. There are function codes defined in the GUI status and they have function texts. But the problem i have is, that i don't know theese texts when im logging the executed function during runtime of the report. At the place where i log these exectuted functions, i only have the function code. That could be any function code taht is possible in the report. And i want to have the function text for that function code during runtime. Is that possible?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058773#M1612496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T12:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058774#M1612497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi steffen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RS_CUA_INTERNAL_FETCH'
        EXPORTING
          PROGRAM         = PV_NAME
          LANGUAGE        = FS_LANGU
        IMPORTING
          ADM             = FS_ADM
        TABLES
          STA             = T_STA
          FUN             = T_FUN
          MEN             = T_MEN
          MTX             = T_MTX
          ACT             = T_ACT
          BUT             = T_BUT
          PFK             = T_PFK
          SET             = T_SET
          DOC             = T_ATRT
          TIT             = T_TIT
          BIV             = T_BIV
        EXCEPTIONS
          NOT_FOUND       = 1
          UNKNOWN_VERSION = 2
          OTHERS          = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058774#M1612497</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-08-05T12:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058775#M1612498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's Clemens, yes that works for function codes defined in the GUI status. But unfortunatellly not for functions defined in a toolbar control. but thank's anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058775#M1612498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058776#M1612499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Steffen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had this in mind, also the fuction will never return dynamic texts set at runtime. The (ALV) toolbar stores the text in attribute MT_TOOLBAR of the grid object. For class CL_GUI_TOOLBAR I don't know if the texts are available. You could try to access them in the handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 13:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058776#M1612499</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-08-05T13:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058777#M1612500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing you could have done to access the text of the dynamic toolbar buttons, since the MT_TOOLBAR table is not accesible in the USER_COMMAND event handler, is to store a copy of the MT_TOOLBAR in memory using an Internal table when the custom dynamic buttons are created in the TOOLBAR event handler, so in this case, once you have the UCOMM you can access this global table to get the description text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 15:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058777#M1612500</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-08-05T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic determination of function text for  function code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058778#M1612501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;this is a good idea, in combination with the function module that was posted by clemens, i will get all function codes and descriptions.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 06:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-determination-of-function-text-for-function-code/m-p/8058778#M1612501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-08T06:08:38Z</dc:date>
    </item>
  </channel>
</rss>

