<?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: Selction-Screen Query?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361845#M179577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) In Initialization, either you can assingn SO-low by = or you can use write, but in  both cases you'll have to append the to particular select option&lt;/P&gt;&lt;P&gt;2) To restrict Multiple entries , use this&lt;/P&gt;&lt;P&gt;  so_date for sy-datum NO-EXTENSION.&lt;/P&gt;&lt;P&gt;NO-EXTENSION would barr the multiple entries.&lt;/P&gt;&lt;P&gt;see if that was useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jun 2006 09:18:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-02T09:18:27Z</dc:date>
    <item>
      <title>Selction-Screen Query??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361840#M179572</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;I have a date field on my selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I want 2 things for it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I want a default value of sy-datum - 30 days for that field.And to implement it I have done the following Coding:--&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  V_DATE = SY-DATUM - 30.&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS: S_ERDAT   FOR NAST-ERDAT DEFAULT V_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, the problem is that I am not getting the correct default value of the date .(It comes as 00.00.000)&lt;/P&gt;&lt;P&gt;Please help me sort out this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I also want to restrict the "multiple entries possibility " for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me what shall I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 04:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361840#M179572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T04:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selction-Screen Query??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361841#M179573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Subash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;V_DATE = SY-DATUM - 30.&lt;/P&gt;&lt;P&gt;S_ERDAT-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;S_ERDAT-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;S_ERDAT-LOW = V_DATE.&lt;/P&gt;&lt;P&gt;APPEND S_ERDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_ERDAT FOR NAST-ERDAT NO-INTERVALS NO-EXTENSIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can do this as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;V_DATE = SY-DATUM - 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_ERDAT FOR NAST-ERDAT NO-INTERVALS NO-EXTENSIONS DEFAULT V_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note :Please mark the helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravikumar Allampallam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 04:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361841#M179573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T04:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Selction-Screen Query??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361842#M179574</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 order to restrict an select option for multiple entries even when u double click on the select option u can use the function module SELECT_OPTIONS_RESTRICT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 04:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361842#M179574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T04:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Selction-Screen Query??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361843#M179575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both of them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one works but not the second one..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 05:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361843#M179575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T05:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selction-Screen Query??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361844#M179576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Subhash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SELECT-OPTION you can specify default but this default normally is a literal because at runtime when u select a submit( if you happen to) it is transferred to the selection options table sel so early that no value can be assigned to the field g. System fields like SY-DATUM are an exception here because the system usually assigns values to them as soon as the report processing starts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is the reason it is not happening in your case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 06:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361844#M179576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T06:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Selction-Screen Query??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361845#M179577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) In Initialization, either you can assingn SO-low by = or you can use write, but in  both cases you'll have to append the to particular select option&lt;/P&gt;&lt;P&gt;2) To restrict Multiple entries , use this&lt;/P&gt;&lt;P&gt;  so_date for sy-datum NO-EXTENSION.&lt;/P&gt;&lt;P&gt;NO-EXTENSION would barr the multiple entries.&lt;/P&gt;&lt;P&gt;see if that was useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 09:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-query/m-p/1361845#M179577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T09:18:27Z</dc:date>
    </item>
  </channel>
</rss>

