<?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 IN SELECTION SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753237#M902892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where do you want the icon? on the toolbar?  On the screen in the input area?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you push this icon, do you want it to do something like.. a Push Button?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 13:16:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T13:16:13Z</dc:date>
    <item>
      <title>ICON IN SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753235#M902890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ALL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           I want to add a icon in the selection screen.&lt;/P&gt;&lt;P&gt;           Please send the sample code.Answers will be rewarded.&lt;/P&gt;&lt;P&gt;thanks in advance......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753235#M902890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: ICON IN SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753236#M902891</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;See this:&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) TYPE c,
      icon_text(10) TYPE c.

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(sabapdocu) WITH text-004.
    WHEN 2.
      MESSAGE e888(sabapdocu) WITH text-005.
    WHEN 3.
      MESSAGE e888(sabapdocu) 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;Search for the &lt;STRONG&gt;DEMO_DYNPRO_STATUS_ICONS&lt;/STRONG&gt; program in your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753236#M902891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: ICON IN SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753237#M902892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where do you want the icon? on the toolbar?  On the screen in the input area?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you push this icon, do you want it to do something like.. a Push Button?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753237#M902892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: ICON IN SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753238#M902893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below sample code will help to put icon in selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE: &amp;lt;icon&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 01(20) v_text FOR FIELD p_rfc.&lt;/P&gt;&lt;P&gt;PARAMETERS    : p_rfc      LIKE rfcdes-rfcdest DEFAULT 'D10CLNT888'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 60(04) v_icon FOR FIELD p_rfc.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  v_text = 'RFC Destination'.&lt;/P&gt;&lt;P&gt;  v_icon = '@12@'. "icon_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define your comment V_ICON and during initialization fill it with values of the corresponding icon you wish to display on the selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Saravanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753238#M902893</guid>
      <dc:creator>former_member254848</dc:creator>
      <dc:date>2008-05-06T13:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: ICON IN SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753239#M902894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just as an FYI in the above code, because you used the INCLUDE &amp;lt;icon&amp;gt; statement, this line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_icon = '@12@'. "icon_test.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can be done this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_icon = ICON_TEST.      "icon_test.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Safer in the even SAP changes these values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753239#M902894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: ICON IN SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753240#M902895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add Icon on selection screen...Just do the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GO TO --&amp;gt; Text Elements --&amp;gt; Selection Text&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now give the reqired ICON ID before your selection text.&lt;/P&gt;&lt;P&gt;You will get the Icon on selection screen.&lt;/P&gt;&lt;P&gt;You can get the &lt;STRONG&gt;Icon ID&lt;/STRONG&gt; from Type Group &lt;STRONG&gt;ICON&lt;/STRONG&gt; in se11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points, if useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753240#M902895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: ICON IN SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753241#M902896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, when I click the icon,the out put should get displayed....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-selection-screen/m-p/3753241#M902896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:08:28Z</dc:date>
    </item>
  </channel>
</rss>

