<?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 Regarding Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339609#M800534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem in Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to specify range of value in the Function Module and i have to use in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we canot use select option in function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in import parameter i have given&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM_NUMBER&lt;/P&gt;&lt;P&gt;TO_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to select the Number FROM_NUMBER TO TO_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please let me know any select statement is there for selecting rannges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i specify FROM_NUMBER 100&lt;/P&gt;&lt;P&gt;                    TO_NUMBER 150&lt;/P&gt;&lt;P&gt;it should select from 100 to 150.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace.&lt;/P&gt;&lt;P&gt;best Regards,&lt;/P&gt;&lt;P&gt;zubera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2008 15:52:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-24T15:52:43Z</dc:date>
    <item>
      <title>Regarding Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339609#M800534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem in Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to specify range of value in the Function Module and i have to use in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we canot use select option in function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in import parameter i have given&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM_NUMBER&lt;/P&gt;&lt;P&gt;TO_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to select the Number FROM_NUMBER TO TO_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please let me know any select statement is there for selecting rannges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i specify FROM_NUMBER 100&lt;/P&gt;&lt;P&gt;                    TO_NUMBER 150&lt;/P&gt;&lt;P&gt;it should select from 100 to 150.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace.&lt;/P&gt;&lt;P&gt;best Regards,&lt;/P&gt;&lt;P&gt;zubera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339609#M800534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339610#M800535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from table&lt;/P&gt;&lt;P&gt;          into table z_something&lt;/P&gt;&lt;P&gt;          where field1 between FROM_NUMBER and TO_NUMBER'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 16:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339610#M800535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T16:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339611#M800536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zubera,&lt;/P&gt;&lt;P&gt;  well first of all you can pass ranges as a table or export attributes,like &lt;/P&gt;&lt;P&gt;select-options : Matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;export matnr in the function.&lt;/P&gt;&lt;P&gt;then in FM interface in import parameter &lt;/P&gt;&lt;P&gt;define &lt;/P&gt;&lt;P&gt;mara type matnr_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr_type should be defined in top include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : BEGIN OF matnr_type occurs 20, &lt;/P&gt;&lt;P&gt;         SIGN(1), &lt;/P&gt;&lt;P&gt;         OPTION(2), &lt;/P&gt;&lt;P&gt;         LOW  LIKE mara-matnr, &lt;/P&gt;&lt;P&gt;         HIGH LIKE mara-matnr, &lt;/P&gt;&lt;P&gt;      END   OF sel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 16:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339611#M800536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T16:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339612#M800537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi zubera,&lt;/P&gt;&lt;P&gt;          Try to declare import variable type BAPI1026_CONSPARTNER_RA, which is a structure contains fields like sign, option, low, high.  by using this you can very well write select query easyly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import parameters: &lt;/P&gt;&lt;P&gt; V_Number type BAPI1026_CONSPARTNER_RA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;            where &amp;lt;field name&amp;gt;  IN V_Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand. if you still need help, feel free to contact me and &lt;STRONG&gt;Plz dont forgot to reward points&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sreenivasa sarma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 02:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3339612#M800537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T02:12:51Z</dc:date>
    </item>
  </channel>
</rss>

