<?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: Multiple value parameter.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967282#M700261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are tow ways,&lt;/P&gt;&lt;P&gt;Either declare it as of table type and pass the table to the FM.&lt;/P&gt;&lt;P&gt;Or declare it of select option type and pass that to FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2007 03:09:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-25T03:09:53Z</dc:date>
    <item>
      <title>Multiple value parameter....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967281#M700260</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;I developed a Function Module where I have to pass a parameter with mulitple values.....similar to the one we use in Data Browser (SE16) for multiple values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select records from a table depending on the document type of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will pass the document types which can be one type or two or any number of types.If its two then the FM should return all the records with those Document types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document types and the number of Document types to be passed are dynamic and are not consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 03:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967281#M700260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T03:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value parameter....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967282#M700261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are tow ways,&lt;/P&gt;&lt;P&gt;Either declare it as of table type and pass the table to the FM.&lt;/P&gt;&lt;P&gt;Or declare it of select option type and pass that to FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 03:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967282#M700261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T03:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value parameter....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967283#M700262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that too.there are two problems in it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) In Function Module I am not able to declare Select-Options&lt;/P&gt;&lt;P&gt;(2) Even if possible select options takes only continuous multiple values i.e. as a range between From value and To value.But i want to pass discrete values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I pass a table as a parameter to where clause,I get a error message that only table with range or select option structure can be used in where clause with "IN" in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 03:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967283#M700262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T03:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value parameter....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967284#M700263</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;For which field you want select-option. There are lots of structure of type select option. If you can tell me field I can tell you if one availble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg see ROIO_SEL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 03:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967284#M700263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T03:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value parameter....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967285#M700264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just need to pass the parameter of type ROIO_T_SEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 03:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967285#M700264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T03:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value parameter....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967286#M700265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options takes discrete values. U can specify range or even enter different values and then use IN clause in the where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example  :&lt;/P&gt;&lt;P&gt; Data : w_werks type marc-werks.&lt;/P&gt;&lt;P&gt; select-options : s_werks for w_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; s_werks-sign = c_i.&lt;/P&gt;&lt;P&gt;  s_werks-option = c_eq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  s_werks-low = c_1017.&lt;/P&gt;&lt;P&gt;  APPEND s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  s_werks-low = c_1051.&lt;/P&gt;&lt;P&gt;  APPEND s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  s_werks-low = c_1018.&lt;/P&gt;&lt;P&gt;  APPEND s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  s_werks-low = c_1019.&lt;/P&gt;&lt;P&gt;  APPEND s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  s_werks-low = c_1070.&lt;/P&gt;&lt;P&gt;  APPEND s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR s_werks.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;See in this example, we are passing different plant values to select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u can use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM marc WHERE werks IN s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Harimanjesh AN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 22, 2008 4:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 03:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967286#M700265</guid>
      <dc:creator>harimanjesh_an</dc:creator>
      <dc:date>2007-10-25T03:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value parameter....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967287#M700266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I am closing this thread&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 21:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-value-parameter/m-p/2967287#M700266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T21:06:53Z</dc:date>
    </item>
  </channel>
</rss>

