<?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: Ploblem while using ranges in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136708#M745370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ranges 'LIKE' can not be used....use 'IN' statement&lt;/P&gt;&lt;P&gt;as you inserted % in ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2007 10:01:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-06T10:01:39Z</dc:date>
    <item>
      <title>Ploblem while using ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136707#M745369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use ranges in function module. If so, how to use it in Select statement.&lt;/P&gt;&lt;P&gt;For example, i want to exclude some datas while fetching. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if  P_S_AREA is initial.&lt;/P&gt;&lt;P&gt;    r_btrtl-low  = '%'.&lt;/P&gt;&lt;P&gt;    append r_btrtl.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   clear  r_btrtl.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    r_btrtl-low =  P_S_AREA.&lt;/P&gt;&lt;P&gt;    append r_btrtl.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   clear  r_btrtl.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;when i pass this range in my select statement its not fetching the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT A~PERNR INTO CORRESPONDING FIELDS OF TABLE IT_EMP&lt;/P&gt;&lt;P&gt;   FROM PA0000 AS A INNER JOIN PA0001 AS B ON A&lt;SUB&gt;PERNR = B&lt;/SUB&gt;PERNR&lt;/P&gt;&lt;P&gt;   WHERE A~PERNR LIKE WK_EMP_NO&lt;/P&gt;&lt;P&gt;   AND   B~BUKRS LIKE WK_BUKRS&lt;/P&gt;&lt;P&gt;   AND   B~WERKS LIKE WK_WERKS&lt;/P&gt;&lt;P&gt;   AND   B~BTRTL LIKE r_btrtl&lt;/P&gt;&lt;P&gt;   AND   A~ENDDA = '99991231'&lt;/P&gt;&lt;P&gt;   AND   A~STAT2 LIKE WK_STATUS&lt;/P&gt;&lt;P&gt;   AND   B~ENDDA = '99991231'&lt;/P&gt;&lt;P&gt;   AND   A~AEDTM LIKE WK_DATE&lt;/P&gt;&lt;P&gt;   AND   B~AEDTM LIKE WK_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this problem, its very urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 09:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136707#M745369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T09:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ploblem while using ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136708#M745370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ranges 'LIKE' can not be used....use 'IN' statement&lt;/P&gt;&lt;P&gt;as you inserted % in ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 10:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136708#M745370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T10:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ploblem while using ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136709#M745371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In function module it's not allowing to use IN. But it's permitted in reports.&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;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 10:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136709#M745371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ploblem while using ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136710#M745372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure y FM is not allowing IN syntax..if thats the case..u can always use a PERFORM and write select statements in includes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 10:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ploblem-while-using-ranges/m-p/3136710#M745372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T10:48:13Z</dc:date>
    </item>
  </channel>
</rss>

