<?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: conversion internal to external in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-internal-to-external/m-p/12478011#M2001570</link>
    <description>&lt;P&gt;You must never WRITE external format. WRITE a data object in internal format and it will render the content by automatically converting it to the external format. So, if you don't call BAPI_CURRENCY_CONV_TO_EXTERNAL, it will write 123456 as expected.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 07:53:03 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2021-11-12T07:53:03Z</dc:date>
    <item>
      <title>conversion internal to external</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-internal-to-external/m-p/12478010#M2001569</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
  &lt;P&gt;I want to display 123,456yen.&lt;/P&gt;
  &lt;P&gt;However, the following program display 12,345,600.&lt;/P&gt;
  &lt;P&gt;Please tell me the mistake I made.&lt;/P&gt;
  &lt;P&gt;Also, please tell me when I use the following BAPI and currency.&lt;/P&gt;
  &lt;P&gt;DATA:gv_num1 TYPE p DECIMALS 2 VALUE '1234.56',&lt;/P&gt;
  &lt;P&gt; gv_num2 TYPE bseg-mwsts. &lt;BR /&gt; &lt;BR /&gt;CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL' &lt;BR /&gt; EXPORTING &lt;BR /&gt; currency = 'JPY' &lt;BR /&gt; amount_internal = gv_num1 &lt;BR /&gt; IMPORTING &lt;BR /&gt; amount_external = gv_num2. &lt;BR /&gt; &lt;BR /&gt;WRITE: gv_num2 CURRENCY 'JPY'.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-internal-to-external/m-p/12478010#M2001569</guid>
      <dc:creator>Gaku</dc:creator>
      <dc:date>2021-11-12T07:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: conversion internal to external</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-internal-to-external/m-p/12478011#M2001570</link>
      <description>&lt;P&gt;You must never WRITE external format. WRITE a data object in internal format and it will render the content by automatically converting it to the external format. So, if you don't call BAPI_CURRENCY_CONV_TO_EXTERNAL, it will write 123456 as expected.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-internal-to-external/m-p/12478011#M2001570</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-11-12T07:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: conversion internal to external</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-internal-to-external/m-p/12478012#M2001571</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;CONSTANTS: c_value2 TYPE p LENGTH 10 DECIMALS 2 VALUE '1234.56',&lt;BR /&gt;           c_value3 TYPE p LENGTH 10 DECIMALS 3 VALUE '1234.56',&lt;BR /&gt;           c_value4 TYPE p LENGTH 10 DECIMALS 4 VALUE '1234.56'.&lt;BR /&gt;WRITE / |Original value with 2 decimal places: { c_value2 }, value as a currency without decimal palces: { c_value2 CURRENCY = 'JPY' }Yen|.&lt;BR /&gt;WRITE / |Original value with 3 decimal places: { c_value3 }, value as a currency without decimal palces: { c_value3 CURRENCY = 'JPY' }Yen|.&lt;BR /&gt;WRITE / |Original value with 4 decimal places: { c_value4 }, value as a currency without decimal palces: { c_value4 CURRENCY = 'JPY' }Yen|.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;All decimal places are converted to pre-decimal places, use appropriate data type:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Original value with 2 decimal places: 1234.56, value as a currency without decimal palces: 123456Yen&lt;BR /&gt;Original value with 3 decimal places: 1234.560, value as a currency without decimal palces: 1234560Yen&lt;BR /&gt;Original value with 4 decimal places: 1234.5600, value as a currency without decimal palces: 12345600Yen&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Nov 2021 15:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-internal-to-external/m-p/12478012#M2001571</guid>
      <dc:creator>touzik_itc</dc:creator>
      <dc:date>2021-11-12T15:49:43Z</dc:date>
    </item>
  </channel>
</rss>

