<?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: jpy currency problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063665#M1612928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try validating the fields in such a way that currency should be validated first then price. So once if currency got validated, fare will be entered according to currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jul 2011 06:47:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-29T06:47:38Z</dc:date>
    <item>
      <title>jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063662#M1612925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;          I am workin as a abap programmer &lt;/P&gt;&lt;P&gt;          I recently got a mini project in which i had to maintain the flight details. i did the project in module pool programming trhere i encountered a problem with the japanese yen currency, the price when saved in the database gets divided by 100(eg 8 gets stored as 0.08) and when i retreive it gets multuiplied by 100. Now the problem is tht whenever i press enter or anything the price on the screen keeps on getting multiplied by 100. How can i avert this situation. Pls help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S i am not geting the above said problem for my total field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 05:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063662#M1612925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-29T05:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063663#M1612926</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;  Dont do the manual calculation like multiply by 100. use the function module CURRENCY_AMOUNT_SAP_TO_DISPLAY pass the currency key and amount you can correct amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_DISPLAY' "
EXPORTING
currency =  tcurc-waers " example 'JPY'
amount_internal =  wmto_s-amount "100
IMPORTING
amount_display =  wmto_s-amount "10000
EXCEPTIONS
INTERNAL_ERROR = 1 "

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use 'BAPI_CURRENCY_CONV_TO_EXTERNAL' pass the currency key and amount you can get correct amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhina DMD on Jul 29, 2011 8:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 06:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063663#M1612926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-29T06:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063664#M1612927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;currencies like jpy are stored divided by 100 at the frontend.&lt;/P&gt;&lt;P&gt;But are stored with there actual values at backend.&lt;/P&gt;&lt;P&gt;Are you multiplying the amounts by 100 before displaying? then its possible that the operation repeats everytime you press enter, owing to the event at which you are performing the operation.You can debug and clarify the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would suggest use the FM as mentioned above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 06:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063664#M1612927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-29T06:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063665#M1612928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try validating the fields in such a way that currency should be validated first then price. So once if currency got validated, fare will be entered according to currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 06:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063665#M1612928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-29T06:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063666#M1612929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no i am not multiplying the price field by 100. i am using a table control nd in tht when the price field is displayed it gets multiplied by 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 06:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063666#M1612929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-29T06:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063667#M1612930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;    Since u are using table control u mite be displaying the price field before the currency field&lt;/P&gt;&lt;P&gt;    in ur PAI try validating the currency field before u display the price field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 06:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063667#M1612930</guid>
      <dc:creator>nandakumar_sasidharan</dc:creator>
      <dc:date>2011-07-29T06:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063668#M1612931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks it proved helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 06:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063668#M1612931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-29T06:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: jpy currency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063669#M1612932</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;in your Table control Structure ,maintain field for Currency ,and assign this currency field as a Currecy key field to the amount field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so system will do the amount converion based on the currency key attached to it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 07:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/jpy-currency-problem/m-p/8063669#M1612932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-29T07:01:13Z</dc:date>
    </item>
  </channel>
</rss>

