<?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 pushbutton in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pushbutton/m-p/3210649#M765421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT  RICH_0001.

tables: sscrfields.

selection-screen PUSHBUTTON  1(20) pb_test user-command PB1.

at selection-screen.

  if sy-ucomm = 'PB1'.
     sscrfields-ucomm = 'ONLI'.
  endif.

start-of-selection.


 write:/ 'StartOfSelection has been executed'.

&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>Tue, 18 Dec 2007 17:05:27 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-12-18T17:05:27Z</dc:date>
    <item>
      <title>Selection screen pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pushbutton/m-p/3210648#M765420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have designed one push button on the selection screen below to input fields. If I press that button then I need to do some bdc programs after that I need to display log in the output screen. For this what I did is I have created perform statement in at selection screen event. And I am calling all the transactions inside of that form. But I am not able to display log in the output screen as it is under at selection screen event. So how to provide the log in the output screen after pressing push button.&lt;/P&gt;&lt;P&gt;What I did is under start of selection I am looping messtab internal tables. The log displaying after I press execute button but it is not displaying after I press push button.&lt;/P&gt;&lt;P&gt;Please help me what logic I have to build for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2007 16:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pushbutton/m-p/3210648#M765420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-18T16:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pushbutton/m-p/3210649#M765421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT  RICH_0001.

tables: sscrfields.

selection-screen PUSHBUTTON  1(20) pb_test user-command PB1.

at selection-screen.

  if sy-ucomm = 'PB1'.
     sscrfields-ucomm = 'ONLI'.
  endif.

start-of-selection.


 write:/ 'StartOfSelection has been executed'.

&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>Tue, 18 Dec 2007 17:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pushbutton/m-p/3210649#M765421</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-12-18T17:05:27Z</dc:date>
    </item>
  </channel>
</rss>

