<?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: Push button in the selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010436#M1166313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shyam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please try to search SDN before posting for basic questions, Anyways for bush button on selection screen do it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN:
  BEGIN OF BLOCK B1 WITH FRAME TITLE text-000,
    PUSHBUTTON 2(10)   but1 USER-COMMAND cli1,
    PUSHBUTTON 20(10) but2 USER-COMMAND cli2,
  END OF BLOCK B1.

INITIALIZATION.
  but1 = 'BUTTON1'.
  but2 = 'BUTTON2'.

AT SELECTION-SCREEN.
  CASE SY-UCOMM.
    WHEN 'CLI1'.
      MESSAGE 'You have clicked button1' type 'I'.
    WHEN 'CLI2'.
      MESSAGE 'You have clicked button2' type 'I'.
  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2009 06:53:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-15T06:53:51Z</dc:date>
    <item>
      <title>Push button in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010432#M1166309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          I need to display a push button the selection screen.its not on the application tool bar..but in one of the selection block in the selection screen..could anybody guide how to do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Thanks in advance,&lt;/P&gt;&lt;P&gt;           shyam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shyam prasad on Jan 15, 2009 7:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 06:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010432#M1166309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T06:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Push button in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010433#M1166310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shyam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following code..&lt;/P&gt;&lt;P&gt; TABLES sscrfields.&lt;/P&gt;&lt;P&gt;TYPE-POOLS icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN:&lt;/P&gt;&lt;P&gt;  BEGIN OF SCREEN 500 AS WINDOW TITLE title,&lt;/P&gt;&lt;P&gt;    PUSHBUTTON 2(10)  but1 USER-COMMAND cli1,&lt;/P&gt;&lt;P&gt;    PUSHBUTTON 28(30) but2 USER-COMMAND cli2&lt;/P&gt;&lt;P&gt;                           VISIBLE LENGTH 10.&lt;/P&gt;&lt;P&gt;  END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  CASE sscrfields.&lt;/P&gt;&lt;P&gt;    WHEN 'CLI1'.&lt;/P&gt;&lt;P&gt;      ...&lt;/P&gt;&lt;P&gt;    WHEN 'CLI2'.&lt;/P&gt;&lt;P&gt;      ...&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  title  = 'Push button'.&lt;/P&gt;&lt;P&gt;  but1 = 'Button 1'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ICON_CREATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      name   = icon_information&lt;/P&gt;&lt;P&gt;      text   = 'Button 2'&lt;/P&gt;&lt;P&gt;      info   = 'My Quickinfo'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      RESULT = but2&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     OTHERS = 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lakshman N on Jan 15, 2009 7:39 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 06:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010433#M1166310</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2009-01-15T06:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Push button in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010434#M1166311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1111. &lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN BEGIN OF BLOCK BL1. &lt;/P&gt;&lt;P&gt;    SELECT-OPTIONS SEL0 FOR SY-REPID. &lt;/P&gt;&lt;P&gt;    PARAMETERS     PAR0. &lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN END  OF  BLOCK BL1. &lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS SEL1 FOR SY-REPID. &lt;/P&gt;&lt;P&gt;  PARAMETERS     PAR1. &lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN PUSHBUTTON /10(30) PUBU USER-COMMAND US03. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1111. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope  this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 06:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010434#M1166311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T06:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Push button in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010435#M1166312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Detailed documentation with examples are available in SAP help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write Selection-screen in your ABAP editer and press F1 and look for Selection-screen Pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 06:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010435#M1166312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T06:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Push button in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010436#M1166313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shyam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please try to search SDN before posting for basic questions, Anyways for bush button on selection screen do it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN:
  BEGIN OF BLOCK B1 WITH FRAME TITLE text-000,
    PUSHBUTTON 2(10)   but1 USER-COMMAND cli1,
    PUSHBUTTON 20(10) but2 USER-COMMAND cli2,
  END OF BLOCK B1.

INITIALIZATION.
  but1 = 'BUTTON1'.
  but2 = 'BUTTON2'.

AT SELECTION-SCREEN.
  CASE SY-UCOMM.
    WHEN 'CLI1'.
      MESSAGE 'You have clicked button1' type 'I'.
    WHEN 'CLI2'.
      MESSAGE 'You have clicked button2' type 'I'.
  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 06:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/5010436#M1166313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T06:53:51Z</dc:date>
    </item>
  </channel>
</rss>

