<?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: parameters in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071581#M1355633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on How you write select query. Always use select options when you try defining ranges in selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 06:07:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-09T06:07:03Z</dc:date>
    <item>
      <title>parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071577#M1355629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the report, we have 2 parameters in the selection screen i.e., FROM DATE and TO DATE.&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:   p_fromdat LIKE kopp-fromdat,&lt;/P&gt;&lt;P&gt;                           p_todat LIKE kopp-todat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the selection screen if we give the data as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM DATE : 01.01.2001&lt;/P&gt;&lt;P&gt;TO DATE  :     01.01.2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i get the entries only FROM DATE and TO DATE data or FROM DATE and TODATE Inbetween data.&lt;/P&gt;&lt;P&gt;please let me know, i need inbetween data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help with code to get inbetween range data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071577#M1355629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071578#M1355630</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 use parameters it will only consider the date which you enter in the selection screen and not the inbetween range. Instead of parameters use Select-options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select-options : s_date for kopp-fromdat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here enter the high and low values. It will then consider the range in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071578#M1355630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071579#M1355631</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;use select option instead of parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_data for kopp-fromdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then while filtering &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ..........&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;where fromdat in s_date&lt;/P&gt;&lt;P&gt;and       todat in s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071579#M1355631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071580#M1355632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vignesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can follow the solution given by Vikranth or you have one more option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the select statement where condition, you can write logical expression as per ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where erdat &amp;lt; = todate and erdat &amp;gt; = fromdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this also helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sripal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071580#M1355632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071581#M1355633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on How you write select query. Always use select options when you try defining ranges in selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071581#M1355633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071582#M1355634</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 in range use select-option instead of parameters...... here data what u will get depend on ur query....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashu SIngh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071582#M1355634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071583#M1355635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the following way if you want to work with &lt;STRONG&gt;PARAMETERS&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: vbak.
PARAMETERS: pfdate LIKE vbak-audat OBLIGATORY,
            ptdate LIKE vbak-audat OBLIGATORY.

DATA: it_vbak LIKE STANDARD TABLE OF vbak WITH HEADER LINE.

SELECT * INTO CORRESPONDING FIELDS OF TABLE it_vbak
  FROM vbak
  WHERE audat BETWEEN pfdate AND ptdate.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071583#M1355635</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-09-09T06:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071584#M1355636</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;You can use the Select Options ad this will extract the records within that range of Dates. So, you can use the following convention like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : kopp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS  s_date like kopp-fromdat. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the following link for a detailed information of the syntax and usage.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba66935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba66935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:11:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071584#M1355636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: parameters in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071585#M1355637</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;If you want the data between fromdate and todate you have to write select query after the event START-OF-SELECTION like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select field1 field2 ... fieldn FROM Table_name into table IT_TAB&lt;/P&gt;&lt;P&gt; WHERE   DATE BETWEEN fromdate AND  todate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here after execution of select query you will get the data into internal table  IT_TAB which would be between fromdate and todate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-in-selection-screen/m-p/6071585#M1355637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:23:02Z</dc:date>
    </item>
  </channel>
</rss>

