<?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 upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464818#M553376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In uploading file I have a field contains the value 1,600.00 and currency is USD. Suppose if I upload this file in EUR currency then I need to convert above 1,600 dollars automatically to EUR. How to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 07:39:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-25T07:39:34Z</dc:date>
    <item>
      <title>upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464818#M553376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In uploading file I have a field contains the value 1,600.00 and currency is USD. Suppose if I upload this file in EUR currency then I need to convert above 1,600 dollars automatically to EUR. How to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464818#M553376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464819#M553377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can't convert the value directly. First upload the file to an itab. then do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : L_NETWR TYPE VBAP-NETWR.
loop at itab.
if itab-waers ne 'USD'.

CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
     EXPORTING
          DATE             = SY-DATUM
          FOREIGN_AMOUNT   = '10.00'   " Amount from itab
          FOREIGN_CURRENCY = 'EUR'
          LOCAL_CURRENCY   = 'USD'
     IMPORTING
          LOCAL_AMOUNT     = itab-NETWR
     EXCEPTIONS
          NO_RATE_FOUND    = 1
          OVERFLOW         = 2
          NO_FACTORS_FOUND = 3
          NO_SPREAD_FOUND  = 4
          DERIVED_2_TIMES  = 5
          OTHERS           = 6.
modify  itab.
endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VAsanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:45:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464819#M553377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464820#M553378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem  is due to the Std price format of US. It appears as 1,660.00 in the upload file, whereas the program tries to read this in European format.How to correct this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464820#M553378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464821#M553379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   First upload the file in original currency ( Here USD ) with the help of &lt;/P&gt;&lt;P&gt;FM 'GUI_UPLOAD' to an internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now loop this internal table and convert the values to the target currency&lt;/P&gt;&lt;P&gt;using the FM 'CONVERT_TO_FOREIGN_CURRENCY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check other FMs for conversion .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;convert&lt;/STRONG&gt;currency* and do an F4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~ Laxmi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reward all helpful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464821#M553379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464822#M553380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bharat,&lt;/P&gt;&lt;P&gt;   u can use the function module CURRENCY_CONVERT_TO_EURO for ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r else u can go the fm convert_to_local_currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload/m-p/2464822#M553380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:51:57Z</dc:date>
    </item>
  </channel>
</rss>

