<?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>Question Re: How to use SQL function CONVERT_CURRENCY in Cloud Application Programming Model in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396793#M4639624</link>
    <description>&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 02:02:17 GMT</pubDate>
    <dc:creator>QuyVu</dc:creator>
    <dc:date>2021-07-06T02:02:17Z</dc:date>
    <item>
      <title>How to use SQL function CONVERT_CURRENCY in Cloud Application Programming Model</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaq-p/12396790</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I'm trying to use &lt;STRONG&gt;Convert_currency&lt;/STRONG&gt; function in my CAP application but I can't find a way to do it.&lt;BR /&gt;Please let me know how to use this function and others.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;LeoVu&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 08:41:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaq-p/12396790</guid>
      <dc:creator>QuyVu</dc:creator>
      <dc:date>2021-07-02T08:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SQL function CONVERT_CURRENCY in Cloud Application Programming Model</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396791#M4639622</link>
      <description>&lt;P&gt;You should try this code to convert SQL function into currency&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Create a table and populate it with two example currency amounts.
CREATE ROW TABLE sample_input (price DECIMAL(15,2),
                             source_unit NVARCHAR(4),
                             target_unit NVARCHAR(4),
                             ref_date NVARCHAR(10)
                             );

 INSERT INTO sample_input VALUES (1.0, 'SRC', 'TRG', '2011-01-01');
 INSERT INTO sample_input VALUES (1.0, 'SRC', 'TRG', '2011-02-01');
&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Jul 2021 09:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396791#M4639622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-07-02T09:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SQL function CONVERT_CURRENCY in Cloud Application Programming Model</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396792#M4639623</link>
      <description>&lt;P&gt;To my knowledge so far no API way exists to use these DB specific function in CAP. &lt;/P&gt;&lt;P&gt;But you can go the way to use it via a HANA &lt;A href="https://cap.cloud.sap/docs/advanced/hana" target="_blank"&gt;Native HANA Artifact&lt;/A&gt;, meaning encapsulate your logic to use the currency conversion function in e.g. a table function and make it usable within CAP. Details are described in the CAP documentation (see link before).&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 12:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396792#M4639623</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2021-07-02T12:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SQL function CONVERT_CURRENCY in Cloud Application Programming Model</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396793#M4639624</link>
      <description>&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 02:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396793#M4639624</guid>
      <dc:creator>QuyVu</dc:creator>
      <dc:date>2021-07-06T02:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SQL function CONVERT_CURRENCY in Cloud Application Programming Model</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396794#M4639625</link>
      <description>&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 02:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396794#M4639625</guid>
      <dc:creator>QuyVu</dc:creator>
      <dc:date>2021-07-06T02:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SQL function CONVERT_CURRENCY in Cloud Application Programming Model</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396795#M4639626</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have similar requirement to do currency conversion from currency A to currency B using Exchange rate type. I am working on CAP project and not finding any API in API hub for this. Could you please confirm how to handle this.&lt;/P&gt;&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;quy_vungoc87&lt;/SPAN&gt;  - Did you manage to resolve currency conversion in CAP application? Let me know how you have handled it?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Deepti&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 05:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-sql-function-convert-currency-in-cloud-application-programming/qaa-p/12396795#M4639626</guid>
      <dc:creator>former_member300761</dc:creator>
      <dc:date>2023-07-05T05:24:47Z</dc:date>
    </item>
  </channel>
</rss>

