<?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: Selection Screen With a Control Button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061396#M91982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  If you are talking about Push Button,here is the way you can have a push button in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;handle the user command &lt;/P&gt;&lt;P&gt;at user-command event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not what you are looking for, please ignore.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2005 15:06:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-20T15:06:55Z</dc:date>
    <item>
      <title>Selection Screen With a Control Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061394#M91980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Men,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I would like to know whether it is possible to have a&lt;/P&gt;&lt;P&gt;Control Button(like in Module Pool Screens) in Standard Selection Screen?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If it is possible, let know with some code sample!!!! &lt;/P&gt;&lt;P&gt;   And explain me how to capture the Control when this button is Clicked?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 14:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061394#M91980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T14:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen With a Control Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061395#M91981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a quick sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

type-pools: icon.

selection-screen pushbutton 40(20) gocfg user-command gocfg.

at selection-screen .

  case sy-ucomm.
    when 'GOCFG'.
      call transaction 'VA01'.
  endcase.

start-of-selection.



at selection-screen output.

* Write pushbutton text
  write icon_configuration as icon to gocfg.
  concatenate gocfg 'Go to VA01' into gocfg
              separated by space.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 14:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061395#M91981</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-20T14:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen With a Control Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061396#M91982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  If you are talking about Push Button,here is the way you can have a push button in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;handle the user command &lt;/P&gt;&lt;P&gt;at user-command event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not what you are looking for, please ignore.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 15:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061396#M91982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T15:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen With a Control Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061397#M91983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT ZR_ALV_RB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES sscrfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: PUSHBUTTON 2(10) but1 USER-COMMAND cli1,&lt;/P&gt;&lt;P&gt;                 PUSHBUTTON /12(30) but2 USER-COMMAND cli2&lt;/P&gt;&lt;P&gt;               VISIBLE LENGTH 10.&lt;/P&gt;&lt;P&gt;selection-screen end of block one.&lt;/P&gt;&lt;P&gt;&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;       message i000(zz) with 'Button 1 was pressed'.&lt;/P&gt;&lt;P&gt;    WHEN 'CLI2'.&lt;/P&gt;&lt;P&gt;       message i000(zz) with 'Button 2 was pressed'.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;  but1 = 'Button 1'.&lt;/P&gt;&lt;P&gt;  but2 = 'Button 2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Rest of your logic here.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 18:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-a-control-button/m-p/1061397#M91983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T18:23:16Z</dc:date>
    </item>
  </channel>
</rss>

