<?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: Problem with Currency Field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575264#M860601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u added the amount field what referance table &amp;amp; referance field you have given ?&lt;/P&gt;&lt;P&gt;in SE11 in that table, click on currency/quantity field tab.&lt;/P&gt;&lt;P&gt;Table for reference field&lt;/P&gt;&lt;P&gt;Definition&lt;/P&gt;&lt;P&gt;A reference table is specified for fields containing currency amounts (date type CURR) or quantities (data type QUAN). This must be a field ( reference field) with the currency key format (data type CUKY) or format for quantity units (data type UNIT). The assignment of the field to the reference field does not take place until runtime and is carried out by a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;If a field with currency amounts is filled, the associated currency from the assigned reference field is determined, that is, the value entered at this time in the reference field determines the currency used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Mar 2008 12:44:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-29T12:44:09Z</dc:date>
    <item>
      <title>Problem with Currency Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575263#M860600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Champs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got one requirement to add the amount field and respective currency field similar to Net Value &amp;amp; Document Currency in ADD Data Tab of Sales Order transaction (VA01 and VA02).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have appended structure to VBAK Table with two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to compare the two fields (Net Value &amp;amp; ZAmtField).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What was the problem I was facing is when I have entered the value in Z field say 9 with Currency field as USD, in background it is saved as 0.09 which is not equal to 9 and if we give it as KRW it is taking as 9.00 which in display it is showing as 900 which will not be equal to 9.&lt;/P&gt;&lt;P&gt;But this is happening for &lt;STRONG&gt;first&lt;/STRONG&gt; time only. If I enter the values differently for the same currency then from the &lt;EM&gt;next&lt;/EM&gt; time it is taking that correctly like 9 as 9.00 in USD and 0.09 which was 9 in KRW format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By checking in different scenario's I think the present value was taking for previous currency which was assigned thats why it is coming only for the first time &amp;amp; from the next time it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply to this thread on an high priorith, I was under high pressure to solve this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Yechuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 21:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575263#M860600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T21:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Currency Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575264#M860601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u added the amount field what referance table &amp;amp; referance field you have given ?&lt;/P&gt;&lt;P&gt;in SE11 in that table, click on currency/quantity field tab.&lt;/P&gt;&lt;P&gt;Table for reference field&lt;/P&gt;&lt;P&gt;Definition&lt;/P&gt;&lt;P&gt;A reference table is specified for fields containing currency amounts (date type CURR) or quantities (data type QUAN). This must be a field ( reference field) with the currency key format (data type CUKY) or format for quantity units (data type UNIT). The assignment of the field to the reference field does not take place until runtime and is carried out by a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;If a field with currency amounts is filled, the associated currency from the assigned reference field is determined, that is, the value entered at this time in the reference field determines the currency used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 12:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575264#M860601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T12:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Currency Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575265#M860602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi before calling the variables  please clear the variables..and use later....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like ...  clear: v_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 13:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575265#M860602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Currency Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575266#M860603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your responce to my query.&lt;/P&gt;&lt;P&gt;I already kept the reference field when I have appended the structure. I thought of the same &amp;amp; it will solve my problem initially but it could not.&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Yechuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 15:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-currency-field/m-p/3575266#M860603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T15:18:03Z</dc:date>
    </item>
  </channel>
</rss>

