<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040018#M719431</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;Check Demo program&lt;/P&gt;&lt;P&gt;DEMO_SEL_SCREEN_PUSHBUTTON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your system .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2007 06:46:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-14T06:46:24Z</dc:date>
    <item>
      <title>Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040013#M719426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create a button on selection screen.&lt;/P&gt;&lt;P&gt;what is the use of at selection-screen output event ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 05:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040013#M719426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T05:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040014#M719427</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;Check this link for how to create a push button in the selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;at selection-screen output&amp;lt;/b&amp;gt; is used to disable or enable fields for input...by using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'M1'. &lt;/P&gt;&lt;P&gt;    SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 05:02:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040014#M719427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T05:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040015#M719428</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;   Use this&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;SELECT-OPTIONS NAME FOR SY-REPID MODIF ID XYZ. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT. &lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN. &lt;/P&gt;&lt;P&gt;    CHECK SCREEN-GROUP1 = 'XYZ'. &lt;/P&gt;&lt;P&gt;    SCREEN-INTENSIFIED = '1'. &lt;/P&gt;&lt;P&gt;    MODIFY SCREEN. &lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition MODIF ID XYZ to the key word SELECT-OPTIONS assigns all fields of the selection option NAME to a group you can read in the field SCREEN-GROUP1. At PBO of the selection screen, all these fields are then set to highlighted. &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;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 05:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040015#M719428</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-11-14T05:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040016#M719429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pushbuttons on the Selection Screen &lt;/P&gt;&lt;P&gt;To create a pushbutton on the selection screen (similar to pushbuttons on screens), you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION SCREEN PUSHBUTTON [/]&amp;lt;pos(len)&amp;gt; &amp;lt;push&amp;gt; &lt;/P&gt;&lt;P&gt;                            USER-COMMAND &amp;lt;ucom&amp;gt; [MODIF ID &amp;lt;key&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The [/]&amp;lt;pos(len)&amp;gt; parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;push&amp;gt; determines the pushbutton text. For &amp;lt;push&amp;gt;, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length &amp;lt;len&amp;gt;. The field must be filled before the selection screen is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &amp;lt;ucom&amp;gt;, you must specify a code of up to four characters. When the user clicks the pushbutton on the selection screen, &amp;lt;ucom&amp;gt; is entered in the UCOMM of the SSCRFIELDS interface work area. You must use the TABLES statement to declare the SSCRFIELDS structure. The contents of the SSCRFIELDS-UCOMM field can be processed during the AT SELECTION-SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT DEMO.&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.&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;This example defines four pushbuttons on a selection screen that is displayed as a dialog box. The selection screen is defined in a statement chain for keyword SELECTION-SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the text symbols TEXT-020 and TEXT-040 are defined as 'Button 2' and 'Button 4', the four pushbuttons appear as follows on the selection screen displayed as a dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLI1, CLI2, CLI3 and CLI4 are used for &amp;lt;ucom&amp;gt;. When the user clicks one of the pushbuttons, the AT SELECTION-SCREEN event is triggered, and the FLAG field is set. The FLAG field can be further processed during subsequent program flow after the user has chosen Execute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 05:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040016#M719429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T05:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040017#M719430</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;&lt;/P&gt;&lt;P&gt;TABLES sscrfields. &lt;/P&gt;&lt;P&gt;TYPE-POOLS icon. &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 title, &lt;/P&gt;&lt;P&gt;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;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;CASE sscrfields. &lt;/P&gt;&lt;P&gt;WHEN 'CLI1'. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;WHEN 'CLI2'. &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;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;title = 'Push button'. &lt;/P&gt;&lt;P&gt;but1 = 'Button 1'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ICON_CREATE' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;name = icon_information &lt;/P&gt;&lt;P&gt;text = 'Button 2' &lt;/P&gt;&lt;P&gt;info = 'My Quickinfo' &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;RESULT = but2 &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;OTHERS = 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN '0500' STARTING AT 10 10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/howdo_a.htm#PBUTTON" target="test_blank"&gt;http://www.planetsap.com/howdo_a.htm#PBUTTON&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN OUTPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is triggered at the screen event PBO of a selection screen. In the event block, the selection screen can be prepared through assignments to the data objects of parameters and selection criteria and through dynamic screen modifications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. Assignments in the event blocks LOAD-OF-PROGRAM oder INITIALIZATION, on the other hand, only have an effect at first program start. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 05:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040017#M719430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T05:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040018#M719431</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;Check Demo program&lt;/P&gt;&lt;P&gt;DEMO_SEL_SCREEN_PUSHBUTTON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your system .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 06:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3040018#M719431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T06:46:24Z</dc:date>
    </item>
  </channel>
</rss>

