<?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: [RESOLVED] Button on Selection-screen not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836012#M664037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2007 09:40:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-01T09:40:29Z</dc:date>
    <item>
      <title>[RESOLVED] Button on Selection-screen not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836007#M664032</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;P&gt;I want to add my own buttons to a Selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I add them through the &amp;lt;b&amp;gt;SELECTION-SCREEN: FUNCTION KEY 1&amp;lt;/b&amp;gt; they are not calling the &amp;lt;b&amp;gt;START-OF-SELECTION&amp;lt;/b&amp;gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add them through the &amp;lt;b&amp;gt;SET PF-STATUS 'SEL_SCR'&amp;lt;/b&amp;gt; statement, 2 buttons are working correctly (i.e. calling the &amp;lt;b&amp;gt;START-OF-SELECTION&amp;lt;/b&amp;gt; event) and 1 isn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thought as to the odd behaviour?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Yes SAP Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836007#M664032</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2007-10-01T09:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] Button on Selection-screen not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836008#M664033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It uses the AT SELECTION-SCREEN event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836008#M664033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] Button on Selection-screen not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836009#M664034</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;P&gt;please refer to this if you want to add pushbutton to selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_sel_screen_pushbutton.&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;DATA flag(1) TYPE c.&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 tit,&lt;/P&gt;&lt;P&gt;    BEGIN OF LINE,&lt;/P&gt;&lt;P&gt;      PUSHBUTTON 2(10) but1 USER-COMMAND cli1,&lt;/P&gt;&lt;P&gt;      PUSHBUTTON 12(10) text-020 USER-COMMAND cli2,&lt;/P&gt;&lt;P&gt;    END OF LINE,&lt;/P&gt;&lt;P&gt;    BEGIN OF LINE,&lt;/P&gt;&lt;P&gt;      PUSHBUTTON 2(10) but3 USER-COMMAND cli3,&lt;/P&gt;&lt;P&gt;      PUSHBUTTON 12(10) text-040 USER-COMMAND cli4,&lt;/P&gt;&lt;P&gt;    END OF LINE,&lt;/P&gt;&lt;P&gt;  END OF SCREEN 500.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CASE sscrfields.&lt;/P&gt;&lt;P&gt;    WHEN 'CLI1'.&lt;/P&gt;&lt;P&gt;      flag = '1'.&lt;/P&gt;&lt;P&gt;    WHEN 'CLI2'.&lt;/P&gt;&lt;P&gt;      flag = '2'.&lt;/P&gt;&lt;P&gt;    WHEN 'CLI3'.&lt;/P&gt;&lt;P&gt;      flag = '3'.&lt;/P&gt;&lt;P&gt;    WHEN 'CLI4'.&lt;/P&gt;&lt;P&gt;      flag = '4'.&lt;/P&gt;&lt;P&gt;  ENDCASE.&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;P&gt;  tit  = 'Four Buttons'.&lt;/P&gt;&lt;P&gt;  but1 = 'Button 1'.&lt;/P&gt;&lt;P&gt;  but3 = 'Button 3'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL SELECTION-SCREEN 500 STARTING AT 10 10.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CASE flag.&lt;/P&gt;&lt;P&gt;    WHEN '1'.&lt;/P&gt;&lt;P&gt;      WRITE / 'Button 1 was clicked'.&lt;/P&gt;&lt;P&gt;    WHEN '2'.&lt;/P&gt;&lt;P&gt;      WRITE / 'Button 2 was clicked'.&lt;/P&gt;&lt;P&gt;    WHEN '3'.&lt;/P&gt;&lt;P&gt;      WRITE / 'Button 3 was clicked'.&lt;/P&gt;&lt;P&gt;    WHEN '4'.&lt;/P&gt;&lt;P&gt;      WRITE / 'Button 4 was clicked'.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      WRITE / 'No Button was clicked'.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo Program: demo_sel_screen_pushbutton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jayant Sahu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836009#M664034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] Button on Selection-screen not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836010#M664035</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;P&gt;To avoid this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place this statement as the Last statement in AT SELECTION-Screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Tables SSCRFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  &amp;lt;&amp;lt;STATEMENTS&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSCRFIELDS-UCOMM = 'ONLI'.  "Execute button that triggers start-of-selection.&amp;lt;/b&amp;gt;&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;P&gt;&amp;lt;&amp;lt;STATEMENTS&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836010#M664035</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-10-01T09:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] Button on Selection-screen not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836011#M664036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls send ur code for the button which is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836011#M664036</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-10-01T09:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] Button on Selection-screen not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836012#M664037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:40:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836012#M664037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] Button on Selection-screen not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836013#M664038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue resolved !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Varma lead me to the right direction: the buttons on the Selection-screen must have "ONLI" at thier Function-code. The 2 buttons that worked had "ONLI" &amp;amp; "ONLI1" while the button that didn't work had "HISTORY" as a Function-code. &lt;/P&gt;&lt;P&gt;When I changed it to "ONLI2" it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that SAP asks something like if  &amp;lt;b&amp;gt;SSCRFIELDS-UCOMM cs "ONLI"&amp;lt;/b&amp;gt; to know if they need to call the &amp;lt;b&amp;gt;START-OF-SELECTION&amp;lt;/b&amp;gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I think it's very ackward behaviour and I'm going to post a call to the OSS about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resolved-button-on-selection-screen-not-working/m-p/2836013#M664038</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2007-10-01T09:54:52Z</dc:date>
    </item>
  </channel>
</rss>

