<?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: select-option parameter passed to function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968847#M947997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at date.&lt;/P&gt;&lt;P&gt;date-high = date-high+1.&lt;/P&gt;&lt;P&gt;date-low  = date-low+1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify date index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2008 11:58:41 GMT</pubDate>
    <dc:creator>former_member195383</dc:creator>
    <dc:date>2008-06-19T11:58:41Z</dc:date>
    <item>
      <title>select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968844#M947994</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 passed the select-option parameter as a table to my function module,&lt;/P&gt;&lt;P&gt;suppose i have passed it as date(it contains field date-high and date-low)&lt;/P&gt;&lt;P&gt;In my function module while i am looping the table and selecting the data according to date_low,it is going to select only the data according to date_low.&lt;/P&gt;&lt;P&gt;since the table contains only one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at date.&lt;/P&gt;&lt;P&gt;select the data according to date_low.&lt;/P&gt;&lt;P&gt;,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date_low = date_low +1.&lt;/P&gt;&lt;P&gt;modify date_low.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;how can i select all the data from date_low and date_high?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 11:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968844#M947994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T11:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968845#M947995</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;Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while date-low LE date-high.&lt;/P&gt;&lt;P&gt;select the data according to date_low.&lt;/P&gt;&lt;P&gt;,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date-low = date-low +1.&lt;/P&gt;&lt;P&gt;endwhile.&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;&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 11:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968845#M947995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T11:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968846#M947996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;explain reason. why you are looping by internal table?&lt;/P&gt;&lt;P&gt;where will you use that range of values between &lt;EM&gt;date-low&lt;/EM&gt; and &lt;EM&gt;date-high&lt;/EM&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 11:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968846#M947996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T11:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968847#M947997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at date.&lt;/P&gt;&lt;P&gt;date-high = date-high+1.&lt;/P&gt;&lt;P&gt;date-low  = date-low+1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify date index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 11:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968847#M947997</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-06-19T11:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968848#M947998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Instead of looping at select option table u can specify date table with select query itself&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;Select * from table into internal_table&lt;/P&gt;&lt;P&gt;   where xyz_date in date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rizwan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968848#M947998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968849#M947999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't pass the date range as separate tables, rather pass it as range table and select the data as using select option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:21:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968849#M947999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968850#M948000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there is issue  design of ur FM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to put 2 table parametrs or 2 import paremeters in the FM ,after that with in the Function module fill the internal table of type ranges (say itab).&lt;/P&gt;&lt;P&gt;After filling the ranges internal table, this can be used in ur select stament just as select option ( select ...where podat in itab)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revrt back if any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968850#M948000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968851#M948001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using it for RFC,that's why i have used as select-option statement and passed&lt;/P&gt;&lt;P&gt;it as itab,for range also i have to pass it as itab.I can pass the itab,but the problem is &lt;/P&gt;&lt;P&gt;I am not able to loop it,it is going to select only date_low&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968851#M948001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: select-option parameter passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968852#M948002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your FM declare a range and populate your low and high&lt;/P&gt;&lt;P&gt;date , use this range in select ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges : r_date for sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_date-sign = 'I' .&lt;/P&gt;&lt;P&gt;r_date-option =  'BT'.&lt;/P&gt;&lt;P&gt;r_date-low = date_low.&lt;/P&gt;&lt;P&gt;r_date-high = date_high.&lt;/P&gt;&lt;P&gt;append r_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt; into ...&lt;/P&gt;&lt;P&gt;            where date in r_date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-parameter-passed-to-function-module/m-p/3968852#M948002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:51:21Z</dc:date>
    </item>
  </channel>
</rss>

