<?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 modification for a paramter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435745#M207736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly remove the PERFORM merge statement from the loop and the default value will appear on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the value of fname and lname in final this can be handled in the AT-SELECTION-SCREEN event but the use needs to perform some action on the sel screen( press enter) to trigger this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This cannot be handled in AT SELECTION SCREEN OUTPUT as this event is executed only once before the screen is displayed and at this point there are no values in the fields fname and lname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2006 12:54:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-19T12:54:41Z</dc:date>
    <item>
      <title>At Selection Screen modification for a paramter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435744#M207735</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;two questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to make a parameter field have a default value with un-editable mode...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I did it this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  Z_506757_TEST3                                              *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_506757_TEST3                          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: STR(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: FNAME TYPE STR,&lt;/P&gt;&lt;P&gt;            LNAME TYPE STR,&lt;/P&gt;&lt;P&gt;            FINAL TYPE STR DEFAULT '200'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*INITIALIZATION.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; final = '200'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; APPEND final.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;    IF SCREEN-NAME = 'FINAL'.&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;&lt;/P&gt;&lt;P&gt;    PERFORM MERGE.&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;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  merge&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MERGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE FNAME LNAME INTO FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "merge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont get the default value as 200.. if the screen-input = 0... so how should handle this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another problem is if i fill the FNAME AND LNAME fields, WITHOUT PRESSING THE EXECUTE BUTTON i should get the value filled in the FINAL field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be handled in the At-SELECTIOn Screen output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 12:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435744#M207735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: At Selection Screen modification for a paramter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435745#M207736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly remove the PERFORM merge statement from the loop and the default value will appear on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the value of fname and lname in final this can be handled in the AT-SELECTION-SCREEN event but the use needs to perform some action on the sel screen( press enter) to trigger this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This cannot be handled in AT SELECTION SCREEN OUTPUT as this event is executed only once before the screen is displayed and at this point there are no values in the fields fname and lname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 12:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435745#M207736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T12:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: At Selection Screen modification for a paramter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435746#M207737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this for ur first quetion,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_SPART LIKE KNVV-SPART DEFAULT '47' .&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME = 'P_SPART'.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;      SCREEN-OUTPUT = '1'.&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;If useful reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 12:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435746#M207737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T12:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: At Selection Screen modification for a paramter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435747#M207738</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;Now its working fine.. well wanted to know what SCREEN-OUTPUT = '1' this one does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran according to u if remove the perform merge it works but i get the field in editable mode..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I worked on this using selct-options making the higher value field invisible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rahul Kavuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 13:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435747#M207738</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-07-19T13:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: At Selection Screen modification for a paramter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435748#M207739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this code in my system and it works as expected. The field FINAL is not input enabled and is defauled to 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zkartest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: str(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: fname TYPE str,&lt;/P&gt;&lt;P&gt;            lname TYPE str,&lt;/P&gt;&lt;P&gt;            final TYPE str DEFAULT '200'.&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;    IF screen-name = 'FINAL'.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 13:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435748#M207739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T13:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: At Selection Screen modification for a paramter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435749#M207740</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;In the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-name = 'FINAL'.&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;making it screen-input = 0 will make it as display only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 13:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-modification-for-a-paramter/m-p/1435749#M207740</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-19T13:22:56Z</dc:date>
    </item>
  </channel>
</rss>

