<?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: Tooltip for button with dynamic function text containing an icon in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050311#M1701829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Axel, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the answers posted by the other members and they seems to be good answers.&lt;/P&gt;&lt;P&gt;I faced a similar issue and tried to solve using function module ICON_CREATE.&lt;/P&gt;&lt;P&gt;However I didn't get a satisfactory result: sometimes the icon appeared without the text, another times the text appeared without the icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could solve it through David Diaz's answer and also through this post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/13738850#13738850" title="http://scn.sap.com/message/13738850#13738850"&gt;http://scn.sap.com/message/13738850#13738850&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;Kind regards, &lt;/P&gt;&lt;P&gt;César Scheck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2013 20:31:45 GMT</pubDate>
    <dc:creator>cesarscheck</dc:creator>
    <dc:date>2013-07-09T20:31:45Z</dc:date>
    <item>
      <title>Tooltip for button with dynamic function text containing an icon</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050307#M1701825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/144951" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we had a development containing some functions with dynamic function text in the status and these dynamic function texts contain an icon. The tooltip of the buttons in release 4.6 ignored that icon. The system has been upgraded into 6.0. Now the tooltip for the buttons contains the icon as text. Though the tooltip starts with a sequence embedded in '@'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could provide a separate tooltip for the icon where I am not sure if it is really used when the cursor hits the button with the icon and the dynamic function text anywhere. I do not see any chance to provide a tooltip for the function itself. It seems to be allways identically with the dynamic function text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to avoid displaying the technical representation of the buttons icon within the tooltip? What has changed with release beyond 4.6 here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your hints.&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 08:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050307#M1701825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-10T08:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip for button with dynamic function text containing an icon</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050308#M1701826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how it looks (screenshot):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/144958" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 09:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050308#M1701826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-10T09:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip for button with dynamic function text containing an icon</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050309#M1701827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using ICON_CREATE, put a text in INFO or set ADD_STDINF on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With INFO text&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/145093" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;With ADD_STDINF&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/145092" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 11:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050309#M1701827</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-10-10T11:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip for button with dynamic function text containing an icon</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050310#M1701828</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;I think the right method to add a dynamic button with icon is to use structure SMP_DYNTXT to define the variable used in the Status. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can define different texts for the Button and the Quick Info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This information is taken from SAP help, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Menu Painter: Field name for dynamic texts&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You want to change the function or menu text at runtime. Regardless of the PF-STATUS, the content of the ABAP or ABAP Dictionary field specified is merged into the relvant menus and function keys at the end of the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field structure&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should create the field with the structure&amp;nbsp; SMP_DYNTEXT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT: Function or menu text. This text is displayed in the menu bar, menus and in the possible functions list. It also appears in the application toolbar wherever the ICON_ID component is empty.&lt;/P&gt;&lt;P&gt;ICON_ID and ICON_TEXT: If you want an icon to appear on the pushbutton, you must fill ICON_ID. You can enter an additional icon text in ICON_TEXT. You fill the ICON_ID field by assigning an icon to it (for example, F-ICON_ID = ICON_CANCEL). You cannot use the ICON_CREATE function module here.&lt;/P&gt;&lt;P&gt;If the ICON_ID component contains a value, you must also fill in the TEXT component, since its contents appear in the list of possible functions.&lt;/P&gt;&lt;P&gt;QUICKINFO: This text is used as quickinfo in the status line.&lt;/P&gt;&lt;P&gt;Using reference techniques&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to refer to GUI defintions from other programs or work with dynamic texts, you must remember that the fields are assigned to the program in which the status is defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you define a status which is used by several programs through a function module call, you must create the fields for dynamic texts in the same function group in which the status was created. Do not create the fields in the program calling the function module. In this case you can use a field name - field contents assignment table to allow the caller to define dynamic texts in the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the call takes place using SET PF-STATUS ... OF PROGRAM, there is not reasonable interface for text transfer. Hpwever, fields must also be created and filled in called program prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working with include menus, you msut create the fields for dynamic texts in the program for which the status was originally created, and not in the program containing the included menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 15:50:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050310#M1701828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-22T15:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip for button with dynamic function text containing an icon</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050311#M1701829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Axel, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the answers posted by the other members and they seems to be good answers.&lt;/P&gt;&lt;P&gt;I faced a similar issue and tried to solve using function module ICON_CREATE.&lt;/P&gt;&lt;P&gt;However I didn't get a satisfactory result: sometimes the icon appeared without the text, another times the text appeared without the icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could solve it through David Diaz's answer and also through this post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/message/13738850#13738850" title="http://scn.sap.com/message/13738850#13738850"&gt;http://scn.sap.com/message/13738850#13738850&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;Kind regards, &lt;/P&gt;&lt;P&gt;César Scheck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 20:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tooltip-for-button-with-dynamic-function-text-containing-an-icon/m-p/9050311#M1701829</guid>
      <dc:creator>cesarscheck</dc:creator>
      <dc:date>2013-07-09T20:31:45Z</dc:date>
    </item>
  </channel>
</rss>

