<?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: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744674#M901033</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;At selecton screen output for each field validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is assigned to the blocks on the selection screen defined by SELECTION SCREEN BEGIN/END BLOCK . &lt;/P&gt;&lt;P&gt;If the report starts an error dialog at this point, precisely these fields of the block block become ready for input again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which sequence are the events AT SELECTION-SCREEN ON psel ... , AT SELECTION-SCREEN ON RADIOBUTTON GROUP ... , AT SELECTION-SCREEN ON BLOCK ... , AT SELECTION-SCREEN processed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AT SELECTION-SCREEN ON psel ... events assigned to the parameters or selection options are executed in the sequence they are declared in the program, i.e. in the sequence they appear on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The events assigned to the radio button groups are executed according to the first parameter of the radio button group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The events assigned to the blocks are executed "from the inside to the outside". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; SELECT-OPTIONS SEL0 FOR SY-TVAR0.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;SELECTION-SCREEN BEGIN OF BLOCK BL0.  SELECT-OPTIONS SEL1 FOR SY-TVAR1.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;  SELECTION-SCREEN BEGIN OF BLOCK BL1.    PARAMETERS P0 RADIOBUTTON GROUP RADI.    PARAMETERS P1 RADIOBUTTON GROUP RADI.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;    SELECTION-SCREEN BEGIN OF BLOCK BL2.      PARAMETERS P3.    SELECTION-SCREEN END   OF BLOCK BL2.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;    SELECT-OPTIONS SEL2 FOR SY-TVAR2.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;  SELECTION-SCREEN END   OF BLOCK BL1.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;SELECTION-SCREEN END   OF BLOCK BL0.&lt;/P&gt;&lt;P&gt;Sequence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON...&lt;/P&gt;&lt;P&gt;SEL0&lt;/P&gt;&lt;P&gt;SEL1&lt;/P&gt;&lt;P&gt;RADIOBUTTON GROUP RADI&lt;/P&gt;&lt;P&gt;P3&lt;/P&gt;&lt;P&gt;BLOCK BL2&lt;/P&gt;&lt;P&gt;SEL2&lt;/P&gt;&lt;P&gt;BLOCK BL1&lt;/P&gt;&lt;P&gt;BLOCK BL0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN is executed at the very end. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... OUTPUT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;This event is executed at PBO of the selection screen every time the user presses ENTER - in contrast to INITIALIZATION . Therefore, this event is not suitable for setting selection screen default values. Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used) and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, however, you can use LOOP AT SCREEN or MODIFY SCREEN to change the input/output attributes of selection screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Output all fields of the SELECT-OPTION NAME highlighted: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;SELECT-OPTIONS NAME FOR SY-REPID MODIF ID XYZ....AT SELECTION-SCREEN OUTPUT.  LOOP AT SCREEN.    CHECK SCREEN-GROUP1 = 'XYZ'.    SCREEN-INTENSIFIED = '1'.    MODIFY SCREEN.  ENDLOOP.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 . .&lt;/P&gt;&lt;P&gt;&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;Narasimha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 11:24:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T11:24:08Z</dc:date>
    <item>
      <title>difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744668#M901027</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;What is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT.&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;Koti Reddy N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744668#M901027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744669#M901028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Used for validetion screen fields. Ex: If you do not enter some fields in the selection screen then a error message should displayed in the status bar and the fields should become ready for input in selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN OUTPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Used to change the screen display dynamically.Ex: If you check some radiobutton in the selection screen then some I/O fields should become invisable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744669#M901028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744670#M901029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In at &lt;EM&gt;selection-screen&lt;/EM&gt;, you will put your checks to verify data information.&lt;/P&gt;&lt;P&gt;In at &lt;EM&gt;selection-screen output&lt;/EM&gt;, you define screen event, so you can modify screen appearence using loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744670#M901029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744671#M901030</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;Do all your validations in AT SELECTION-SCREEN event and set some flag. Depending on the flag, enable/disable the screen elements in your AT SELECTION-SCREEN OUTPUT event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;at selection screen output&lt;/STRONG&gt;-----&lt;/P&gt;&lt;P&gt;At selection-screen output is the last event triggered before selection screen displayed,&lt;/P&gt;&lt;P&gt;This event is executed at PBO of the selection screen every time the user presses&lt;/P&gt;&lt;P&gt;ENTER - in contrast to INITIALIZATION . Therefore, this event is not suitable for setting selection screen default values.&lt;/P&gt;&lt;P&gt;Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used)&lt;/P&gt;&lt;P&gt;and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters&lt;/P&gt;&lt;P&gt;or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.&lt;/P&gt;&lt;P&gt;Here, however, you can use LOOP AT SCREEN or MODIFY SCREEN to change the input/output attributes of selection screen fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;at selection screen&lt;/STRONG&gt;------when user enters the values in the feilds of the selection screen and clicks on execution button,this event gets triggered.this event is basically for checking the value entered by the user for the feild of the selection screen i.e data validity checking.this event is for entire selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744671#M901030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744672#M901031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="729307"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744672#M901031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744673#M901032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION SCREEN:&lt;/P&gt;&lt;P&gt;when user enters the values in the fields of the selection screen and clicks on execution button,this event gets triggered.this event is basically for checking the value entered by the user for the field of the selection screen i.e data validity checking.this event is for entire selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN OUTPUT:&lt;/P&gt;&lt;P&gt;This event is executed at PBO of the selection screen every time the user presses&lt;/P&gt;&lt;P&gt;ENTER - in contrast to INITIALIZATION . Therefore, this event is not suitable for setting selection screen default values.&lt;/P&gt;&lt;P&gt;Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used)&lt;/P&gt;&lt;P&gt;and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters&lt;/P&gt;&lt;P&gt;or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.&lt;/P&gt;&lt;P&gt;Here, however, you can use LOOP AT SCREEN or MODIFY SCREEN to change the input/output attributes of selection screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output all fields of the SELECT-OPTION NAME highlighted:&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;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&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;CHECK SCREEN-GROUP1 = 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN-INTENSIFIED = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition MODIF ID XYZ to the key word SELECT-OPTIONS&lt;/P&gt;&lt;P&gt;assigns all fields of the selection option NAME to a group you can read in the field SCREEN-GROUP1 .&lt;/P&gt;&lt;P&gt;At PBO of the selection screen, all these fields are then set to highlighted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744673#M901032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744674#M901033</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;At selecton screen output for each field validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is assigned to the blocks on the selection screen defined by SELECTION SCREEN BEGIN/END BLOCK . &lt;/P&gt;&lt;P&gt;If the report starts an error dialog at this point, precisely these fields of the block block become ready for input again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which sequence are the events AT SELECTION-SCREEN ON psel ... , AT SELECTION-SCREEN ON RADIOBUTTON GROUP ... , AT SELECTION-SCREEN ON BLOCK ... , AT SELECTION-SCREEN processed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AT SELECTION-SCREEN ON psel ... events assigned to the parameters or selection options are executed in the sequence they are declared in the program, i.e. in the sequence they appear on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The events assigned to the radio button groups are executed according to the first parameter of the radio button group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The events assigned to the blocks are executed "from the inside to the outside". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; SELECT-OPTIONS SEL0 FOR SY-TVAR0.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;SELECTION-SCREEN BEGIN OF BLOCK BL0.  SELECT-OPTIONS SEL1 FOR SY-TVAR1.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;  SELECTION-SCREEN BEGIN OF BLOCK BL1.    PARAMETERS P0 RADIOBUTTON GROUP RADI.    PARAMETERS P1 RADIOBUTTON GROUP RADI.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;    SELECTION-SCREEN BEGIN OF BLOCK BL2.      PARAMETERS P3.    SELECTION-SCREEN END   OF BLOCK BL2.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;    SELECT-OPTIONS SEL2 FOR SY-TVAR2.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;  SELECTION-SCREEN END   OF BLOCK BL1.&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;SELECTION-SCREEN END   OF BLOCK BL0.&lt;/P&gt;&lt;P&gt;Sequence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON...&lt;/P&gt;&lt;P&gt;SEL0&lt;/P&gt;&lt;P&gt;SEL1&lt;/P&gt;&lt;P&gt;RADIOBUTTON GROUP RADI&lt;/P&gt;&lt;P&gt;P3&lt;/P&gt;&lt;P&gt;BLOCK BL2&lt;/P&gt;&lt;P&gt;SEL2&lt;/P&gt;&lt;P&gt;BLOCK BL1&lt;/P&gt;&lt;P&gt;BLOCK BL0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN is executed at the very end. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... OUTPUT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;This event is executed at PBO of the selection screen every time the user presses ENTER - in contrast to INITIALIZATION . Therefore, this event is not suitable for setting selection screen default values. Also, since AT SELECTION-SCREEN OUTPUT is first executed after the variant is imported (if a variant is used) and after adopting any values specified under SUBMIT in the WITH clause, changing the report parameters or the selection options in AT SELECTION-SCREEN OUTPUT would destroy the specified values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, however, you can use LOOP AT SCREEN or MODIFY SCREEN to change the input/output attributes of selection screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Output all fields of the SELECT-OPTION NAME highlighted: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!&lt;DEL&gt;[if !supportEmptyParas]&lt;/DEL&gt;&amp;gt; &amp;lt;!&lt;DEL&gt;[endif]&lt;/DEL&gt;&amp;gt;SELECT-OPTIONS NAME FOR SY-REPID MODIF ID XYZ....AT SELECTION-SCREEN OUTPUT.  LOOP AT SCREEN.    CHECK SCREEN-GROUP1 = 'XYZ'.    SCREEN-INTENSIFIED = '1'.    MODIFY SCREEN.  ENDLOOP.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 . .&lt;/P&gt;&lt;P&gt;&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;Narasimha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:24:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744674#M901033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744675#M901034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At AT SELECTION-SCREEN OUTPUT is &lt;STRONG&gt;PBO&lt;/STRONG&gt; event of Selection screen.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT is processed before the selection screen is displayed on the screen. You can use this event to modify the selection screen dynamically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At AT SELECTION-SCREEN is &lt;STRONG&gt;PAI&lt;/STRONG&gt; event of Selection screen.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN is processed when the user presses ENTER or chooses another function on&lt;/P&gt;&lt;P&gt;the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward if helpful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hemant Khemani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744675#M901034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744676#M901035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection screen id the PAI of a selection screen while AT SELECTION-SCREEN OUTPUT is the PBO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744676#M901035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744677#M901036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection-screen is an event while at selection-screen output is a selection screen event like several others selection screen events.&lt;/P&gt;&lt;P&gt;there individual description is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement defines event blocks for different events selscreen_event that are triggered by the ABAP runtime environment during selection screen processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen events occur immediately before sending a selection screen and after certain user actions on a displayed selection screen. They assist in selection screen processing in the ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN is triggered at least twice during actions on selection screens that are linked into another selection screen as a subscreen - first for the linked selection screen itself, and then for the linking selection screens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The event blocks after AT SELECTION-SCREEN are implemented internally as procedures. Declarative statments in these event blocks create local data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &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;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744677#M901036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744678#M901037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure, but I can give you a rough idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In AT SELECTION-SCREEN we usually check the data entered by the user in the selection screen and if any errors are there then it will be in the same screen until user enters the proper value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In AT SELECTION-SCREEN OUTPUT, 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;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744678#M901037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744679#M901038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey kotireddy,&lt;/P&gt;&lt;P&gt;Simplest explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT acts as PBO for the Selection Screen which means you can fill some screen fields\default some values on the Screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN acts as PAI for the Selection Screen which means it can be used to make user validations based on what values is entered by the user on the current screen...&lt;/P&gt;&lt;P&gt;Another Eg would be that we can have Authorization checks implemented and if the user fails to clear checks, appropiatate msg can be sent to the user....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward for usefull points...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Rangarajan..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744679#M901038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744680#M901039</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;At Selection-Screen Output: It triggers before selection screen has been displayed. If u want to display some value on the selection screen parameter, u can display using this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Selection-Screen: It triggers after the selection screen has been displayed.This event used to validate the selection screen parameters. when pressing the F8 on the selection screen, this event will be trigger first.&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;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 11:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-at-selection-screen-and-at-selection-screen-output/m-p/3744680#M901039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T11:41:53Z</dc:date>
    </item>
  </channel>
</rss>

