<?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: icon on pushbutton in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703554#M626183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think no way in menu bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen it possable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see  se37 &lt;/P&gt;&lt;P&gt;ICON_CHECK&lt;/P&gt;&lt;P&gt;ICON_CREATE&lt;/P&gt;&lt;P&gt;ICON_SHOW&lt;/P&gt;&lt;P&gt;ICON_TRANSLATE&lt;/P&gt;&lt;P&gt;ICON_TRANSLATION_PREPARE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2007 03:52:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-10T03:52:35Z</dc:date>
    <item>
      <title>icon on pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703550#M626179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all gurz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to put icon on push button without menu painter,Is there is any property of pushbutton on which i can assign icon name,using include&amp;lt;icons&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if another way pls! help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 03:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703550#M626179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T03:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: icon on pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703551#M626180</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;PRE&gt;&lt;CODE&gt;
REPORT DEMO_DYNPRO_STATUS_ICONS.

DATA VALUE TYPE I VALUE 1.

DATA: STATUS_ICON TYPE ICONS-TEXT,
      ICON_NAME(20),
      ICON_TEXT(10).

CALL SCREEN 100.

MODULE SET_ICON OUTPUT.

  SET PF-STATUS 'SCREEN_100'.

CASE VALUE.
    WHEN 1.
      ICON_NAME = 'ICON_GREEN_LIGHT'.
      ICON_TEXT =  TEXT-003.
    WHEN 2.
      ICON_NAME = 'ICON_YELLOW_LIGHT'.
      ICON_TEXT =  TEXT-002.
    WHEN 3.
      ICON_NAME = 'ICON_RED_LIGHT'.
      ICON_TEXT =  TEXT-001.
  ENDCASE.

  CALL FUNCTION 'ICON_CREATE'
       EXPORTING
            NAME                  = ICON_NAME
            TEXT                  = ICON_TEXT
            INFO                  = 'Status'
            ADD_STDINF            = 'X'
      IMPORTING
            RESULT                =  STATUS_ICON
      EXCEPTIONS
            ICON_NOT_FOUND        = 1
            OUTPUTFIELD_TOO_SHORT = 2
            OTHERS                = 3.

  CASE SY-SUBRC.
    WHEN 1.
      MESSAGE E888(BCTRAIN) WITH TEXT-004.
    WHEN 2.
      MESSAGE E888(BCTRAIN) WITH TEXT-005.
    WHEN 3.
      MESSAGE E888(BCTRAIN) WITH TEXT-006.
  ENDCASE.

ENDMODULE.

MODULE CANCEL INPUT.
  LEAVE PROGRAM.
ENDMODULE.

MODULE CHANGE.
CASE VALUE.
    WHEN 1.
      VALUE = 2.
    WHEN 2.
      VALUE = 3.
    WHEN 3.
      VALUE = 1.
  ENDCASE.
ENDMODULE.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 03:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703551#M626180</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-10T03:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: icon on pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703552#M626181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushbuttons have a label - the text that you specify statically in the attributes - and can also have icons. If you set the Output field attribute for a pushbutton, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton. You must then assign the required text to the field before the screen is displayed. You can also assign icons to dynamic texts on pushbuttons by including the icon code in the text. The icon codes are all contained in the include program &amp;lt;ICON&amp;gt;. For example, the ICON_CANCEL () icon has the code @0W@.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 03:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703552#M626181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T03:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: icon on pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703553#M626182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create push button . created a folder &lt;/P&gt;&lt;P&gt;set the location of icons at the regedit variable: &lt;/P&gt;&lt;P&gt;\hkey_local_machine\software\oracle\ui_icon &lt;/P&gt;&lt;P&gt;set this to "d:\icon" &lt;/P&gt;&lt;P&gt;then forms search the icons files at this directory! &lt;/P&gt;&lt;P&gt;if you have many applications, you can set more than one directory separate by ";" like: &lt;/P&gt;&lt;P&gt;"d:\icon;e:\icon;&lt;BR /&gt;my_share_pc\production\icons"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 03:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703553#M626182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T03:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: icon on pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703554#M626183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think no way in menu bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen it possable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see  se37 &lt;/P&gt;&lt;P&gt;ICON_CHECK&lt;/P&gt;&lt;P&gt;ICON_CREATE&lt;/P&gt;&lt;P&gt;ICON_SHOW&lt;/P&gt;&lt;P&gt;ICON_TRANSLATE&lt;/P&gt;&lt;P&gt;ICON_TRANSLATION_PREPARE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 03:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703554#M626183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T03:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: icon on pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703555#M626184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Pushbuttons have a label - the text that you specify statically in the attributes - and can also have icons. If you set the Output field attribute for a pushbutton, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton. You must then assign the required text to the field before the screen is displayed. You can also assign icons to dynamic texts on pushbuttons by including the icon code in the text. The icon codes are all contained in the include program &amp;lt;ICON&amp;gt;. For example, the ICON_CANCEL () icon has the code @0W@.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do not to be view "@xx@" of "@xx@ TEXTLABEL" in button hint?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 07:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-on-pushbutton/m-p/2703555#M626184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-24T07:20:47Z</dc:date>
    </item>
  </channel>
</rss>

