<?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: at selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911095#M937761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN is a PAI event (fires after user entry)&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT is a PBO event (before selection screen appears)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Radhakrishnan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suresh Radhakrishnan on May 28, 2008 9:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2008 11:44:38 GMT</pubDate>
    <dc:creator>SureshRa</dc:creator>
    <dc:date>2008-05-28T11:44:38Z</dc:date>
    <item>
      <title>at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911092#M937758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;diff b/w at selection-screen and at selection-screen output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 11:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911092#M937758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T11:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911093#M937759</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;The event AT SELECTION-SCREEN is the basic form of a whole series of events that occur while the selection screen is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard selection screen in an executable program or in the logical database linked to it is automatically called between the INITIALIZATION and START-OF-SELECTION events. When you call the selection screen, and when users interact with it, the ABAP runtime environment generates selection screen events, which occur between INITIALIZATION and START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define event blocks for these events in your program to change the selection screen or process user input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 11:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911093#M937759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T11:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911094#M937760</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, if you want any default values to be displayed in the selection screen, you can use at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen.&lt;/P&gt;&lt;P&gt;If you want to validate any data that is entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 11:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911094#M937760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T11:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911095#M937761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN is a PAI event (fires after user entry)&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT is a PBO event (before selection screen appears)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Radhakrishnan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suresh Radhakrishnan on May 28, 2008 9:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 11:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911095#M937761</guid>
      <dc:creator>SureshRa</dc:creator>
      <dc:date>2008-05-28T11:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911096#M937762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection screen------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;at selection screen output-----&lt;/P&gt;&lt;P&gt;&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;PRE&gt;&lt;CODE&gt;Output all fields of the SELECT-OPTION NAME highlighted: 

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.&lt;/CODE&gt;&lt;/PRE&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;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if Useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 11:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911096#M937762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T11:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911097#M937763</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;   If you want to make any field attributes before displaying the selection screen then you need to write the code under AT SELECTION-SCREEN OUTPUT. You can do the field validations in the AT SELECTION-SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 11:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911097#M937763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T11:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911098#M937764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    At selection-screen will be used for coding the validation of the input fields in the selection screen.&lt;/P&gt;&lt;P&gt;    The code under this event will be executed after you enter the values in input fields of the selection screen and pressing the 'execute' button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    At selection-screen output will be used to set the values or properties of the input fields like disabling the input field etc., in the selection screen. The code under this event will be executed before the report program shows you the selection screen and after you execute your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   At selection-screen output will be executed before the program shows you the selection screen.&lt;/P&gt;&lt;P&gt;   At selection-screen will be executed after you provide the values in the selection screen and execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 11:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3911098#M937764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T11:49:45Z</dc:date>
    </item>
  </channel>
</rss>

