<?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/2542884#M578036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Check out this and reward if found helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;At selection screen&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;It is similar to PAI in module pool. Here we can capture the runtime user command, This event will get triggered only after we execute the selection screen by pushing the execute button.&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;It is similar to PBO in module pool. Here we can process the things which we need before the the screen comes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;At selection screen on&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2007 09:10:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-18T09:10:45Z</dc:date>
    <item>
      <title>At Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542880#M578032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seniours,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;i am a beginner.&lt;/P&gt;&lt;P&gt;i want to know the clear difference  about these things&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON FIELD&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz kindly help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kalyani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542880#M578032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:03:43Z</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/2542881#M578033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;AT SELECTION_SCREEN is used to validate the selection screen.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON FIELD is used to validate the particular field in the selection-screen.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT is used to validate the output list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542881#M578033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:08:00Z</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/2542882#M578034</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&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This event only makes sense in reports, i.e. in programs set to type 1 in the attributes. Type 1 programs are started via a logical database and always have a selection screen where the user can specify the database selections. &lt;/P&gt;&lt;P&gt;The event is processed when the selection screen has been processed (at the end of PAI). &lt;/P&gt;&lt;P&gt;If an error message (MESSAGE Emnr) is sent during the event, all fields on the selection screen become ready for input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... ON psel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This event is assigned to the selection screen fields corresponding to the report parameter or selection criterion psel. &lt;/P&gt;&lt;P&gt;If the report starts an error dialog at this point, precisely these fields become ready for input. &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;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;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;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;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;You can have all info about at selection-screen, if you enter it into an ABAP editor (SE38) and press F1 on the text...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542882#M578034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:08:49Z</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/2542883#M578035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT event is called before the screen appearance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN event is called if u do sth on selection-screen, i.e. press Enter Key, F8 key etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON field event is called when some values change in particular field ( parameters and Select-Options) on selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542883#M578035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:10:43Z</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/2542884#M578036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Check out this and reward if found helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;At selection screen&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;It is similar to PAI in module pool. Here we can capture the runtime user command, This event will get triggered only after we execute the selection screen by pushing the execute button.&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;It is similar to PBO in module pool. Here we can process the things which we need before the the screen comes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;At selection screen on&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542884#M578036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:10:45Z</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/2542885#M578037</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;&lt;/P&gt;&lt;P&gt;These additions allow individual evaluation of specific elements of the selection screens of the program. &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON FIELD&lt;/P&gt;&lt;P&gt;this event is fired when particular selelction field is updated.&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 triggered at the screen event PBO of a selection screen.  This is used for modifiucation of screen. like disable/enable selection field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542885#M578037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:10:59Z</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/2542886#M578038</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 is triggered before showing the selection-screen so it's used to change the attributes of the input/output fields (like parameter and select-option). For example it can use to hide some fields:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT SCREEN.
  IF SCREEN-NAME = &amp;lt;......&amp;gt;.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN and AT SELECTION-SCREEN ON FIELD is triggered after user has pressed a comand (ENTER or F8) and so they are use for validations.&lt;/P&gt;&lt;P&gt;If some error messages are raised in these event:&lt;/P&gt;&lt;P&gt;- AT SELECTION-SCREEN: all input fields are available to change the value&lt;/P&gt;&lt;P&gt;- AT SELECTION-SCREEN ON FIELD &amp;lt;FIELD&amp;gt;, only the field &amp;lt;FIELD&amp;gt; is available to change its value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's another event similar to AT SELECTION-SCREEN, AT SELECTION-SCREEN ON BLOCK &amp;lt;BLOCK&amp;gt;, here only the fields belonging to the block &amp;lt;block&amp;gt; will be available to change their values if a message error occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542886#M578038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:12: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/2542887#M578039</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;&amp;lt;b&amp;gt;AT SELECTION-SCREEN&amp;lt;/b&amp;gt; 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;In the PAI event of the selection screen, the event&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN ON field&amp;lt;/b&amp;gt; event is triggered. The input field field can be checked in the corresponding event block. If an error message occurs within this event block, the corresponding field is made ready for input again on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The assignments to input fields in the event block &amp;lt;b&amp;gt;AT SELECTION-SCREEN OUTPUT&amp;lt;/b&amp;gt; always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2542887#M578039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T09:15:10Z</dc:date>
    </item>
  </channel>
</rss>

