<?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 coding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430046#M823947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i want to create one more pushbutton namely &lt;STRONG&gt;back&lt;/STRONG&gt; placed below the display screen of the internal table records.&lt;/P&gt;&lt;P&gt;i dont know how to create the pushbutton on that display screen. plz tell the coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Feb 2008 10:14:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-16T10:14:20Z</dc:date>
    <item>
      <title>selection-screen coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430044#M823945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i am created the two push buttons .&lt;/P&gt;&lt;P&gt;one is to for view and another is to for exit.&lt;/P&gt;&lt;P&gt;while am click the view button it displays the records of internal table. &lt;/P&gt;&lt;P&gt;after i saw the records of internal table .&lt;/P&gt;&lt;P&gt;problems is here only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to create one pushbutton below on the display screen i.e &lt;STRONG&gt;where the records of internal table are shown&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the name of the push button is &lt;STRONG&gt;back&lt;/STRONG&gt; when i click the back button it goes to first screen. where the view and exit button are shown.&lt;/P&gt;&lt;P&gt; i dont know how to coding .&lt;/P&gt;&lt;P&gt;plz tell .&lt;/P&gt;&lt;P&gt;here the coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;CASE SYST-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'VIEW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM YSUSTAB1 INTO TABLE IT1.&lt;/P&gt;&lt;P&gt;LOOP AT IT1 INTO YSUSTAB1.&lt;/P&gt;&lt;P&gt;WRITE:/ YSUSTAB1-NAME, YSUSTAB1-ROLLNO.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 10:03:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430044#M823945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T10:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430045#M823946</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;just write code like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'BACK'.&lt;/P&gt;&lt;P&gt;leave to screen '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 10:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430045#M823946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T10:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430046#M823947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i want to create one more pushbutton namely &lt;STRONG&gt;back&lt;/STRONG&gt; placed below the display screen of the internal table records.&lt;/P&gt;&lt;P&gt;i dont know how to create the pushbutton on that display screen. plz tell the coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 10:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430046#M823947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T10:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430047#M823948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try using the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: PUSHBUTTON2(10) PB1 USER-COMMAND back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SYST-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;LEAVE TO {previous screen number where you have view and exit buttons}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its a standard selection screen then give it as 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 10:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430047#M823948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430048#M823949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;i am checked my program it displays &lt;/P&gt;&lt;P&gt;the error such as with &lt;STRONG&gt;form routines and function modules, the selection-screen statement is not allowed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;check whether my program is correct or not. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YSUSCREEN1.&lt;/P&gt;&lt;P&gt;TABLES YSUSTAB1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-000.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN  SKIP 1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN  PUSHBUTTON 10(20) TEXT-001 USER-COMMAND VIEW.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN  PUSHBUTTON 50(20) TEXT-002 USER-COMMAND EXIT.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK BLOCK1.&lt;/P&gt;&lt;P&gt; DATA IT1 LIKE YSUSTAB1 OCCURS 2.&lt;/P&gt;&lt;P&gt; SELECT * FROM YSUSTAB1 INTO TABLE IT1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;CASE SYST-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'VIEW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM YSUSTAB1 INTO TABLE IT1.&lt;/P&gt;&lt;P&gt;LOOP AT IT1 INTO YSUSTAB1.&lt;/P&gt;&lt;P&gt;WRITE:/ YSUSTAB1-NAME, YSUSTAB1-ROLLNO.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-000.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 10(20) PB1 USER-COMMAND BACK.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK BLOCK1.&lt;/P&gt;&lt;P&gt;CASE SYST-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'BACK'&lt;/P&gt;&lt;P&gt;   LEAVE TO SCREEN '1000'.&lt;/P&gt;&lt;P&gt;   ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 10:36:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-coding/m-p/3430048#M823949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T10:36:57Z</dc:date>
    </item>
  </channel>
</rss>

