<?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 currency comaprison in select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969389#M397875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare a internal table with field v_amt type wrbtr.&lt;/P&gt;&lt;P&gt;move the ITAB_IN-VALUE to this field and append the internal table....&lt;/P&gt;&lt;P&gt;now, use this internal table in ur select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2007 10:54:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-21T10:54:13Z</dc:date>
    <item>
      <title>Regarding currency comaprison in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969385#M397871</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 am tring to compare currency field in the selct statement with GT, LT symbols. Its going for dump.&lt;/P&gt;&lt;P&gt; My selct statement is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM ZMM_SIGN_AUTH INTO&lt;/P&gt;&lt;P&gt;          itab WHERE AMOUNT1 LT ITAB_IN-VALUE&lt;/P&gt;&lt;P&gt;         AND AMOUNT2 GT  ITAB_IN-VALUE AND&lt;/P&gt;&lt;P&gt;         PLANT = L_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where amount1, amount2, itab_in-value are curr (15 , 2 decimals).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above selct is going for dump by giving the message that unable to interpret trhe value as number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how compare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969385#M397871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding currency comaprison in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969386#M397872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you declare itab_in-value? it should be the same type as the ZMM_SIGN_AUTH-AMOUNT1 or AMOUNT2 (Which should both be equal as well).&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969386#M397872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding currency comaprison in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969387#M397873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes....I have checked  now....ITAB_IN-VALUE is an char filed then i need to concert that into curr. How to convert a char field to currency field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969387#M397873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding currency comaprison in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969388#M397874</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;Refer this sample code it is working&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: itab LIKE STANDARD TABLE OF EKPO.
DATA: value(15) TYPE c value '2999.00'.
DATA: val LIKE ekpo-netpr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;b&amp;gt;val = value.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM EKPO INTO
         table itab
         WHERE NETWR LT val
         AND BRTWR GT val 
         AND werks = 'IT01'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:53:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969388#M397874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding currency comaprison in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969389#M397875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare a internal table with field v_amt type wrbtr.&lt;/P&gt;&lt;P&gt;move the ITAB_IN-VALUE to this field and append the internal table....&lt;/P&gt;&lt;P&gt;now, use this internal table in ur select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969389#M397875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding currency comaprison in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969390#M397876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the definition itselfm, you have to change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of itab_in...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; value type &amp;lt;ZTABLE&amp;gt;-AMOUNT1,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;end of itab_in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-comaprison-in-select-statement/m-p/1969390#M397876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:58:53Z</dc:date>
    </item>
  </channel>
</rss>

