<?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/1757279#M327976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Assign the USER-COMMAND "ONLI" to your Push Button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN PUSHBUTTON 5(10)  text-001 USER-COMMAND ONLI.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the Text Element &amp;lt;b&amp;gt;text-001&amp;lt;/b&amp;gt; with Value "Execute" to create the Button Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Raja T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Dec 2006 18:37:18 GMT</pubDate>
    <dc:creator>raja_thangamani</dc:creator>
    <dc:date>2006-12-03T18:37:18Z</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/1757277#M327974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a situation where i have to create a push button in the selection-screen which can be cretaed using "SELCTION-screen : push button PUSH using USER-COMMAND ucom".&lt;/P&gt;&lt;P&gt;now my qusetion is , whenever user clicks on this push button instead of pressing  F8/EXECUTE button the report should be displayed.&lt;/P&gt;&lt;P&gt;how can i write this functionality to this push button?&lt;/P&gt;&lt;P&gt;pls help me out from this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Dec 2006 16:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/1757277#M327974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-03T16:47:11Z</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/1757278#M327975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the short program which will show how to do it.  You are simply checking for the USER-COMMAND value CHK and changing it to ONLI which is the F8 button, then the START-OF-SELECTION will be fired and you can output the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT zrich_0001.

TABLES:  sscrfields.

SELECTION-SCREEN PUSHBUTTON 2(10)  pbut1 USER-COMMAND chk.

AT SELECTION-SCREEN OUTPUT.

  pbut1 = 'Test This'.

AT SELECTION-SCREEN.

  IF sscrfields-ucomm = 'CHK'.
    sscrfields-ucomm = 'ONLI'.
  ENDIF.

START-OF-SELECTION.
  DO 10 TIMES.
    WRITE:/ sy-index.
  ENDDO.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&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>Sun, 03 Dec 2006 17:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/1757278#M327975</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-03T17:09:25Z</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/1757279#M327976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Assign the USER-COMMAND "ONLI" to your Push Button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN PUSHBUTTON 5(10)  text-001 USER-COMMAND ONLI.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the Text Element &amp;lt;b&amp;gt;text-001&amp;lt;/b&amp;gt; with Value "Execute" to create the Button Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Raja T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Dec 2006 18:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-the-selection-screen/m-p/1757279#M327976</guid>
      <dc:creator>raja_thangamani</dc:creator>
      <dc:date>2006-12-03T18:37:18Z</dc:date>
    </item>
  </channel>
</rss>

