<?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: value after currency conversion for JPY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581972#M23126</link>
    <description>&lt;P&gt;Hello Himanshu,&lt;/P&gt;
  &lt;P&gt;Thank for your answer. When I am debugging the value is 12346 only but it prints as 12346.00&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;This is the issue.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 10:44:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-04-23T10:44:52Z</dc:date>
    <item>
      <title>value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581970#M23124</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The USD amount is multiplied by JPY exchange rate and value is like 12345.67899&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The requirement is to have the amount as 12346.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I am able to round off the value, however it comes out as 12346.00&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The amount 12346.00 is a global variable and declared as a Type C.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;This should be true only when it is JPY.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Any help, how to do it.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Already searched the forum could not find the solution.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 10:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581970#M23124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581971#M23125</link>
      <description>&lt;P&gt;Hi Pooja, &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;during round off, use the variable type as int as staging variable. it will take out decimals from it. &lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 10:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581971#M23125</guid>
      <dc:creator>former_member564522</dc:creator>
      <dc:date>2018-04-23T10:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581972#M23126</link>
      <description>&lt;P&gt;Hello Himanshu,&lt;/P&gt;
  &lt;P&gt;Thank for your answer. When I am debugging the value is 12346 only but it prints as 12346.00&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;This is the issue.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 10:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581972#M23126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581973#M23127</link>
      <description>&lt;P&gt;Pooja,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Don't we know need to convert USD to JPY first and then multiply with the JPY exchange rate ? JPY doesn't have decimals.&lt;/P&gt;
  &lt;P&gt;Kindly check in SCN regarding JPY currencies, you will get more info.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;K.Kiran.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 10:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581973#M23127</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2018-04-23T10:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581974#M23128</link>
      <description>&lt;P&gt;Hello Kiran,&lt;/P&gt;
  &lt;P&gt;I have already checked in the SCN could not get any satisfactory answer that is why i have posted. Conversion is done. It is only the issue with the decimals getting displayed.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 10:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581974#M23128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T10:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581975#M23129</link>
      <description>&lt;P&gt;For ex &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://blogs.sap.com/2018/04/19/loading-jpy-currency-amount-in-sap-bw/" target="test_blank"&gt;https://blogs.sap.com/2018/04/19/loading-jpy-currency-amount-in-sap-bw/&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 10:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581975#M23129</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2018-04-23T10:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581976#M23130</link>
      <description>&lt;P&gt;You wrote "The amount 12346.00 is a global variable and declared as a Type C." so how could it be "12346" in debug and "12346.00" output; should be two different variables. &lt;/P&gt;
  &lt;P&gt;Do you use CONVERT_TO_FOREIGN_CURRENCY and do you use a WRITE &amp;lt;amount_field&amp;gt; CURRENCY 'JPY' TO &amp;lt;char_field&amp;gt; or a tool like BAPI_CURRENCY_CONV_TO_[EX,IN]TERNAL. &lt;/P&gt;
  &lt;P&gt;Could you post your code and the DATA definitions?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 11:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581976#M23130</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-04-23T11:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: value after currency conversion for JPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581977#M23131</link>
      <description>&lt;P&gt;Here is the code&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;DATA: wa_input TYPE P DECIMALS 8,&lt;BR /&gt; wa_output TYPE P DECIMALS 0.&lt;BR /&gt; &lt;BR /&gt; wa_input = va_price.&lt;BR /&gt; &lt;BR /&gt; CALL FUNCTION 'ROUND'&lt;BR /&gt; EXPORTING&lt;BR /&gt; INPUT = wa_input&lt;BR /&gt; IMPORTING&lt;BR /&gt; OUTPUT = wa_output&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; INPUT_INVALID = 1&lt;BR /&gt; OVERFLOW = 2&lt;BR /&gt; TYPE_INVALID = 3&lt;BR /&gt; OTHERS = 4.&lt;BR /&gt; &lt;/P&gt;
  &lt;P&gt;va_price = wa_output.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;In global variable declaration it is like &lt;/P&gt;
  &lt;P&gt;va_price(20) type c, " Price.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Now va_price gets the value 12346 but when it prints in report it is 12346.00&lt;/P&gt;
  &lt;P&gt;va_price initially is 12345.67899 after conversion.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 11:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-after-currency-conversion-for-jpy/m-p/581977#M23131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-23T11:06:38Z</dc:date>
    </item>
  </channel>
</rss>

