<?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: regarding using ranges for parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257165#M777914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi perez,&lt;/P&gt;&lt;P&gt;               I have checked ur solution but my requirement is like i have to use ranges which i have tried the same way as u suggested and got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i m in confusion that how shuld use these ranges in parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and eventually use these in the select statement where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i have done i m putting through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges : date1 for sy-datum,&lt;/P&gt;&lt;P&gt;         date2 for sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date1-sign = 'I'.&lt;/P&gt;&lt;P&gt;date1-option = 'BT'.&lt;/P&gt;&lt;P&gt;date1-low = sy-datum + 1. "tommorrows date&lt;/P&gt;&lt;P&gt;date1-high = sy-datum + 60. "60 days later.&lt;/P&gt;&lt;P&gt;APPEND date1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date2-sign = 'I'.&lt;/P&gt;&lt;P&gt;date2-option = 'BT'.&lt;/P&gt;&lt;P&gt;date2-low = date1-low + 61. "61days after of tomorrow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MONTH_PLUS_DETERMINE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    months        = '6'&lt;/P&gt;&lt;P&gt;    olddate       = date2-low&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   NEWDATE       = date2-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so any help frnd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Jan 2008 11:13:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-19T11:13:47Z</dc:date>
    <item>
      <title>regarding using ranges for parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257162#M777911</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;          I have a requirement where i have to get the below using ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me what shuld be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	For existing program Z_AVAILABILITY, create parameter selection to run by travel dates. Must have ability to run nightly (travel date range: tomorrow&amp;#146;s date to 60 days later) and weekly (travel date range: 61days after of tomorrow to 6 month after of today&amp;#146;s date).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eventual i have to use this in select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frnds plzz help me its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 10:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257162#M777911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T10:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: regarding using ranges for parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257163#M777912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check solution which I've sent you yesterday? OR your requirment is something else????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4741084"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 10:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257163#M777912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T10:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: regarding using ranges for parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257164#M777913</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;first declare ranges like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges:&lt;/P&gt;&lt;P&gt;  r_tdlnr for lfa1-lifnr,              " Forwarding agent number&lt;/P&gt;&lt;P&gt;  r_scacd for lfa1-scacd.              " Standard carrier access code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that assisgn values into it like this  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: 'I'  to r_tdlnr-sign,&lt;/P&gt;&lt;P&gt;        'EQ' to r_tdlnr-option,&lt;/P&gt;&lt;P&gt;        t_lfa1-lifnr to r_tdlnr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally write select statement like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vttk~tknum                    " Shipment number&lt;/P&gt;&lt;P&gt;         vttk~tpbez                    " Transport description&lt;/P&gt;&lt;P&gt;         vttk~tdlnr                    " Forwarding agent number&lt;/P&gt;&lt;P&gt;         vttp~tpnum                    " Shipment line item&lt;/P&gt;&lt;P&gt;         vttp~vbeln                    " Delivery number&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        vttp~zseq_num                 " Delivery stage sequence number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    into table t_vttk_vttp&lt;/P&gt;&lt;P&gt;    from vttk inner join vttp&lt;/P&gt;&lt;P&gt;      on vttp&lt;SUB&gt;tknum eq vttk&lt;/SUB&gt;tknum&lt;/P&gt;&lt;P&gt;     for all entries in t_lips_vbak    " for all deliveries&lt;/P&gt;&lt;P&gt;   where vttk~tdlnr in r_tdlnr         " with valid forwarding agents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz reward if it is usefull to u...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 10:50:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257164#M777913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T10:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: regarding using ranges for parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257165#M777914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi perez,&lt;/P&gt;&lt;P&gt;               I have checked ur solution but my requirement is like i have to use ranges which i have tried the same way as u suggested and got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i m in confusion that how shuld use these ranges in parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and eventually use these in the select statement where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i have done i m putting through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges : date1 for sy-datum,&lt;/P&gt;&lt;P&gt;         date2 for sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date1-sign = 'I'.&lt;/P&gt;&lt;P&gt;date1-option = 'BT'.&lt;/P&gt;&lt;P&gt;date1-low = sy-datum + 1. "tommorrows date&lt;/P&gt;&lt;P&gt;date1-high = sy-datum + 60. "60 days later.&lt;/P&gt;&lt;P&gt;APPEND date1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date2-sign = 'I'.&lt;/P&gt;&lt;P&gt;date2-option = 'BT'.&lt;/P&gt;&lt;P&gt;date2-low = date1-low + 61. "61days after of tomorrow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MONTH_PLUS_DETERMINE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    months        = '6'&lt;/P&gt;&lt;P&gt;    olddate       = date2-low&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   NEWDATE       = date2-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so any help frnd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 11:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257165#M777914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T11:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: regarding using ranges for parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257166#M777915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help frnds.&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;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 11:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257166#M777915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T11:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: regarding using ranges for parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257167#M777916</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;field-symbols : &amp;lt;fs&amp;gt; type any,&lt;/P&gt;&lt;P&gt;                &amp;lt;type_val&amp;gt; type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign gv_field to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;          assign (&amp;lt;fs&amp;gt;) to &amp;lt;type_val&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare a field symbol like this and populate the ranges value into parameter and the while defaulting the value ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the value &amp;lt;type_val&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumanjeet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 10:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257167#M777916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T10:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: regarding using ranges for parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257168#M777917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnks.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 10:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-using-ranges-for-parameters/m-p/3257168#M777917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T10:26:45Z</dc:date>
    </item>
  </channel>
</rss>

