<?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 OUTPUT. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072245#M973652</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 code makes the fields invisible that have the strings EN_EBELN, EN_EKORG in their field names .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wajid Hussain P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wajid Hussain P on Jul 3, 2008 1:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2008 07:35:49 GMT</pubDate>
    <dc:creator>former_member200872</dc:creator>
    <dc:date>2008-07-03T07:35:49Z</dc:date>
    <item>
      <title>AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072240#M973647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;AT SELECTION-SCREEN OUTPUT.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does the following code do?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN OUTPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;LOOP AT SCREEN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;IF screen-name CS 'EN_EBELN'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;screen-invisible = 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;screen-input     = 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;IF screen-name CS 'EN_EKORG'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;screen-invisible = 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;screen-input     = 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;MODIFY SCREEN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the report uses &lt;U&gt;&lt;STRONG&gt;a logical database ENM&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072240#M973647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T07:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072241#M973648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;based on the screen-name it will make some field modifiable.. some invisible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN is a SAP standard structure which will hold data related to the selection screen or the screen elements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072241#M973648</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-07-03T07:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072242#M973649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SCREEN is an intertnal table,&lt;/P&gt;&lt;P&gt;which has the fields like, &lt;/P&gt;&lt;P&gt;input, invisible....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT u can make a few fields visible, few rady for input and few not... like that.&lt;/P&gt;&lt;P&gt;for example, u have 2 fields number, name  as screen fields.&lt;/P&gt;&lt;P&gt;While displaying the screen u don't want the name filed ready for input.&lt;/P&gt;&lt;P&gt;dat time u loop at screen and make sreen-input = 0. like that....&lt;/P&gt;&lt;P&gt;screen-invisible = 0 ---  whether u want to display dat field on screen or not....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072242#M973649</guid>
      <dc:creator>former_member654348</dc:creator>
      <dc:date>2008-07-03T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072243#M973650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the selection screen contains any element having string EN_EBELN in it the it will make that particular element invisible and make it no editable similar is the case wid en_ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well i think the code is redundant as if u r setting screen-invisible=1 them it wud be invisible then thr's no question of making it editable or non editable with screen-input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i helped.&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;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072243#M973650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T07:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072244#M973651</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 an event in which we can handle the screen elements dynamically.&lt;/P&gt;&lt;P&gt;For Example if a radio button on the selection is selected , field 'A'  is to be invisable.&lt;/P&gt;&lt;P&gt;This can be achived Using &lt;/P&gt;&lt;P&gt;Loop at 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;Regards,&lt;/P&gt;&lt;P&gt;Jaya Vani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072244#M973651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T07:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072245#M973652</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 code makes the fields invisible that have the strings EN_EBELN, EN_EKORG in their field names .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wajid Hussain P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wajid Hussain P on Jul 3, 2008 1:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072245#M973652</guid>
      <dc:creator>former_member200872</dc:creator>
      <dc:date>2008-07-03T07:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072246#M973653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Test this code understand the logic:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZTEST_SOURAV9
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
 
REPORT  ztest_sourav9.
 
PARAMETERS:
p_desk RADIOBUTTON GROUP 1 DEFAULT 'X' USER-COMMAND flag, "Desktop location
p_unix RADIOBUTTON GROUP 1 ,  "Unix location
p_file1 LIKE rlgrap-filename MODIF ID m1 DEFAULT 'File 1' ,
p_file2 LIKE filename-fileextern MODIF ID m2 DEFAULT 'File 2'.
 
AT SELECTION-SCREEN OUTPUT.
 
  LOOP AT SCREEN.
    IF p_desk = 'X' AND
      screen-group1 = 'M2'.
      screen-active = '0'.
    ELSEIF p_unix = 'X' AND
       screen-group1 = 'M1'.
      screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.
 
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
*....
 
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file2.
*...
 
START-OF-SELECTION.
  IF p_desk = 'X'.
    WRITE: p_file1.
  ELSE.
    WRITE:  p_file2.
  ENDIF.
 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072246#M973653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T07:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072247#M973654</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; This is making some fields ( the fields whose names contains the strings 'EN_EBELN' or 'EN_EKORG') invisble and disabling the input (ie, that field is not open for input) while displaying the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 08:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072247#M973654</guid>
      <dc:creator>soumya_jose3</dc:creator>
      <dc:date>2008-07-03T08:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072248#M973655</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 event is triggered just before the screen is displayed .And if you want to make any visibility changes of fields which are there on the selection screen,you can do it here.&lt;/P&gt;&lt;P&gt;   The attributes of all fields of a screen are stored in the system table SCREEN. &lt;/P&gt;&lt;P&gt;    This can be edited line by line using LOOP AT SCREEN ... ENDLOOP. &lt;/P&gt;&lt;P&gt;   Changes to the properties of the attributes of the current screen field can be put into effect using    MODIFY SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When evere you make any changes to the attributes of the field  then use MODIFY SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Rajitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 09:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072248#M973655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T09:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN OUTPUT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072249#M973656</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 the selection screen event which is trigerred before the list is being displayed. It is PBO event you can say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is triggered when the selection screen is loaded in memory before being displayed. We can change the appearence and values of the fields before display and after INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 09:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/4072249#M973656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T09:05:40Z</dc:date>
    </item>
  </channel>
</rss>

