Conversion of EUR into USD

Hi all
can anybody help me in converting the EUR values to USD
for example the value is 32.000,00 in EUR and this EUR value i need to convert into USD.
thanks in advance
anju

See this code
http://www.sapdevelopment.co.uk/country/country_curr.htm
DATA: gd_fcurr TYPE tcurr-fcurr,
      gd_tcurr TYPE tcurr-tcurr,
      gd_date  TYPE sy-datum,
      gd_value TYPE i.
gd_fcurr = 'EUR'.
gd_tcurr = 'GBP'.
gd_date  = sy-datum.
gd_value = 10.
PERFORM currency_conversion USING gd_fcurr
                                  gd_tcurr
                                  gd_date
                         CHANGING gd_value.
* Convert value to Currency value
*&      Form  currency_conversion
*       text
*      -->P_GD_FCURR  text
*      -->P_GD_TCURR  text
*      -->P_GD_DATE   text
*      <--P_GD_VALUE  text
FORM currency_conversion  USING    p_fcurr
                                   p_tcurr
                                   p_date
                          CHANGING p_value.
  DATA: t_er        TYPE tcurr-ukurs,
        t_ff        TYPE tcurr-ffact,
        t_lf        TYPE tcurr-tfact,
        t_vfd       TYPE datum,
        ld_erate(12)   TYPE c.
  CALL FUNCTION 'READ_EXCHANGE_RATE'
    EXPORTING
*       CLIENT                  = SY-MANDT
      date                    = p_date
      foreign_currency        = p_fcurr
      local_currency          = p_tcurr
      TYPE_OF_RATE            = 'M'
*       EXACT_DATE              = ' '
   IMPORTING
      exchange_rate           = t_er
      foreign_factor          = t_ff
      local_factor            = t_lf
      valid_from_date         = t_vfd
*       DERIVED_RATE_TYPE       =
*       FIXED_RATE              =
*       OLDEST_RATE_FROM        =
   EXCEPTIONS
     no_rate_found           = 1
     no_factors_found        = 2
     no_spread_found         = 3
     derived_2_times         = 4
     overflow                = 5
     zero_rate               = 6
     OTHERS                  = 7
  IF sy-subrc EQ 0.
    ld_erate = t_er / ( t_ff / t_lf ).
    p_value = p_value * ld_erate.
  ENDIF.
ENDFORM.                    " currency_conversion

Similar Messages

  • Currency translation from EUR to USD

    Dear all,
    Our local currency is TWD and we need to convert document currency in sales order from EUR to the third currency (e.g. USD) when executing BW query in BEx Analyzer. Currently we only have exchange rates for all currencies to TWD in exchange rate table. Except for defining exchange rate of EUR to USD in exchange rate table, is it possible to convert EUR to USD (e.g. convert EUR to TWD first and then convert TWD to USD)?

    Hi,
    This info may be of help for you.
    Check these tables Exchange rates are maintained here.
    Table TCURR - Exchange rates
    Table TCURF
    Table TCURV - Exchange rate types for currency translation
    Table TCUR*
    Table TCURC - Currency Codes
    The update of exchange rates is updating tables TCURR and TCURV. If you run at the same place the transfer of global settings, the tables TCURF, TCURS, TCURT, TCURV, TCURW, TCURX, TCURC and TCURN are updated.
    For details check the programs RSIMPCUST (global settings) vs. RSIMPCURR (exchange rates).
    You can maintain exchange rate factors in TCURF table via RSA1>source system>context menu (transfer global settings check only currencies)/transfer exchange rates, this updates TCURF table but also updates all currency related tables. You need to check what all tables you need to update. Also you can look into standard program RSIMPCUST to know what all currency tables will be updated.
    If you want to maintain them directly in BW then go to SPRO > Genral settings and Currencies (SPRO -> Global Settings -> Currencies).
    OB08 maintains the enties for currency conversion, here you can check whether the exchange rate is maintained to convert the currency from one curr to other.
    Thanks,
    JituK

  • How can I move my left over money from my UAE account into USD for my American itunes account?

    How can I move my left over money from my UAE account into USD for my American itunes account?

    How can I go back to my US account then?? I only have .03 aed left..

  • Direct Conversion of smartform into PDF system has to take spool request ?

    does anybody know:
    Direct Conversion of smartform into PDF, system has to take spool request dynamically..
    i don't mean to use the SE38 calling PRG RSTXPDFT4 to transfer SAP sript into PDF.
    thanks
    SRIDHAR

    --strike Yes this is what I understood.
    In the structure job_output_info of your function you'll find your OTF data :
    st_ssfcrescl-otfdata --
      CALL FUNCTION smartform_fonction_name
            EXPORTING
    *     ARCHIVE_INDEX              =
    *     ARCHIVE_INDEX_TAB          =
    *     ARCHIVE_PARAMETERS         =
          control_parameters         = st_ssfctrlop
    *     MAIL_APPL_OBJ              =
    *     MAIL_RECIPIENT             =
    *     MAIL_SENDER                =
          output_options             = st_ssfcompop
          user_settings              = ' '
        IMPORTING
         document_output_info        = st_ssfcrespd
         job_output_info             = st_ssfcrescl " This is the one which contains OTF data
         job_output_options          = st_ssfcresop
        TABLES
       EXCEPTIONS
         formatting_error           = 1
         internal_error             = 2
         send_error                 = 3
         user_canceled              = 4
         OTHERS                     = 5.
    -- Then you just have to convert, using something like that : --
    * Convert OTF to PDF
      LOOP AT otf_data INTO w_otf.
        CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
        INTO w_pdf.
        APPEND w_pdf TO i_content_txt.
      ENDLOOP.
      CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
        EXPORTING
          format_src      = 'OTF'
          format_dst      = 'PDF'
        CHANGING
          transfer_bin    = w_transfer_bin
          content_txt     = i_content_txt
          content_bin     = i_content_bin
          objhead         = i_objhead
          len             = v_len_in
        EXCEPTIONS
          err_conv_failed = 1
          OTHERS          = 2.
      v_size = v_len_in.
      pdf_itab_size = v_size.
      it_pdfout[] = it_pdf[].
    * Create the PDF File
      CLEAR it_pdfdata.
      REFRESH it_pdfdata.
    *  it_pdfdata[] = it_pdfout[].
      LOOP AT it_pdfout.
        MOVE it_pdfout-tline TO it_pdfdata-line.
        APPEND it_pdfdata.
        CLEAR it_pdfdata.
      ENDLOOP.
    -- The smartform creation and the PDF creation are done in the same time...--
    OK, So what do'nt you want to use the RSTXPDFT4 program ?
    Hope this helps,
    Erwan
    Edited by: Erwan LE BRUN on Aug 28, 2008 12:02 PM
    Edited by: Erwan LE BRUN on Aug 28, 2008 12:03 PM

  • Conversion of FG into Scrap

    Dear All,
    Conversion of FG into Scrap.
    one step process (mvt. type 309)
    Accounting entry   
    scrap inventory a/c dr
    gain /loss on scrapping a/c dr.
    To, FG inventory a/c cr.
    two step process
    scrapping through 551 movt type -
    gain/loss on scrapping a/c dr.
    To, FG inventory a/c cr.
    generating scrap 902 movt. type  (customized) -
    scrap inventory a/c dr
    to gain/loss on scrapping cr.
    my question is our client is following two step proces is it correct. moreover gl getting hit is price difference instead of loss on scrapping. what is the correct scenario and which movement type should be involved.
    Regards,
    Divraj

    Hi Divraj,
    We follow the first step and i personally feel that this is the best method of scrapping of Finish Good.
    As the difference between the cost of FG and Scrap is going in Gain and Loss Account. IT IS NOT A PRICE DIFFERENCE.
    Regards,
    Shayam

  • Problem in price conversion from INR to USD- Urgent

    Dear All,
    In the export sales scenario, we are having the contract with customer in INR and based on that value only the excise invoice should be raised. After 2-3 days commercial invoice is to be raised based on the exchange rate applicable on that date.
    I have created sales order in INR, did proforma invoice based on order then delivery document & then excise invoice based on proforma order. Then to raise the commercial invoice, i go to change mode of order to change the currency from INR to USD. The conversion from INR to USD is not happening correctly, it is showing the lesser value than the actual value.
    I have maintained exchange rate type as BLB under CIN company code settings & then assigned same in sales data of customer master. The exchange rate is also maintained in OB08 for M as well as BLB type but still the conversion is not happening correctly.
    Can anybody please suggest me the cause & solution for this urgently.
    Thanks & Regards,
    Antima

    Hi
    When you change the copy control settings it will consider the exchange rate that is maintained at the time of billing.
    i.e. if you have order of a previous day and billing of some other day then in that case if the exchange rate is changing on the billing date then it will consider the exchange rate of the billing date.
    Hence when you are creating the billing document check the exchange rate getting picked (Whether it is on the billing date or order date).
    I didnt get your other problem. Do you want to change the decimal places in the Currency? (You are in big trouble. If that is so). The settings for the same is available in customising SAP Netweaver > General Settings > Currencies > Set Decimal Places.
    BE EXTREMELY CAREFUL BEFORE USING THIS.
    Please clarify your doubt if that is not the case.
    Regards
    Sunil

  • Translation from EUR to USD between two Banks

    user having two accounts
    bank of india (EUR) and bank of india (USD)
    now he wants to transfer amount from EUR to USD
    i did configuration, but while posting in f-02, i entered currency as EUR and inline item it is converting to local currency (INR),
    But i want to convert EUR to USD
    how to do it. anybody send me the step by step process
    URGENT PLEASE

    Hi
    If the bank account is in foreign currency , the GL account assinged to the bank account (USD bank account) should also be created with same currency.
    Please check the currency of the Gl accounts assinged the bank account.
    Regards
    Ashok

  • Conversion of string into XML object

    Hi
    I am having some problems with conversion of string (containing XML data) into Flex XML object and binding it later to UI elements to output/maintain this data.
    Binding of XML structure to UI elements works perfectly fine if I will do following:
    1)      Hardcode XML object within Flex file
    2)      Read xml file from repository (xml file inside the Flex project)
    3)      Use HTTP request to retrieve XML data
    Unfortunately none of the above scenarios suits my solution.
    I am developing a prototype application for processing Flex forms inside SAP system. I have decided to make data bindings using XML structure stored in Data Base. When rendering form inside web browser based application I am retrieving corresponding XML schema (empty for new forms and populated for saved forms) and pass it to Flex form as a string type import parameter. Data is being passed correctly (I can display it on TextArea control for instance) but after conversion to XML and binding to DataGrid I am not getting any results.
    I am converting string (containing XML) to XML object in following way:
    Private var xml_obj:XML = new XML(string_xml );
    I am catching any potential errors but conversion is going well. After conversion I am not getting any results after binding it to DataGrid control and I am not able to access any of the nodes using AS code either. At the same time variable xml_obj is not empty (not null).
    Any help would be much appreciated.
    Regards
    Michael

    David
    First of all sorry for not stating it clearly but I am using Flex 3 for this development (at the moment it is the only choice when embedding Flex objects inside SAP applications).
    You must have missed the bit where I am describing how this XML data finds its way inside Flex. I am passing it to Flex as String type parameter during rendering (directly from DB where it is stored).
    Now, following code works perfect (XML is embedded inside Flex project):
                    <mx:XML id="form_data" source="../assets/example_xml_data.xml"/>
                    <mx:Script>
                                    <![CDATA[
                                                    import mx.collections.XMLListCollection;
                                                    import mx.controls.Alert;
                                                    [Bindable]
                                                    public var XML_list:XMLListCollection;
                                                    private function setParameters():void
                                                                   XML_list = new XMLListCollection(form_data.*);             
                                    ]]>
                    </mx:Script>
                    <mx:DataGrid id="myDataGrid" dataProvider="{XML_list}">
                                    <mx:columns>
                                                    <mx:DataGridColumn dataField="COMMON" headerText="Popular name"/>
                                                    <mx:DataGridColumn dataField="BOTANICAL" headerText="Botanical name"/>
                                                    <mx:DataGridColumn dataField="ZONE" headerText="Zone"/>
                                                    <mx:DataGridColumn dataField="LIGHT" headerText="Light"/>                                                                                                                                               
                                                    <mx:DataGridColumn dataField="PRICE" headerText="Price"/>                                               
                                                    <mx:DataGridColumn dataField="AVAILABILITY" headerText="Availability"/>                                    
                                    </mx:columns>               
                    </mx:DataGrid>
    But following code does not work (XML passed to Flex form as String input parameter):
    import sap.FlashIsland;
    import mx.controls.Alert;
    import mx.collections.XMLListCollection;
    [Bindable]
    public var xml_data:String;
    private var form_data:XML;
    [Bindable]
    private var XML_list:XMLListCollection;
    private function initApp():void
                    FlashIsland.register(this);
    private function setParameters():void
                    try
                                    form_data=new XML(xml_data);
                    catch (error:Error)
                                    Alert.show(error.toString());
                      XML_list = new XMLListCollection(form_data.*);           
    XML string does find its way inside Flex form. I can display content of variable xml_data in TextArea and all looks fine. Conversion to XML (variable form_data) goes well (no error)
    Please helpJ
    Regards
    Michael

  • Exporting ProRes conversion of HDV into Motion 3 darkens image

    When I export an HDV clip from FCP into Motion 3, apply Optical Flow frame blending, then export to FCP as an HDV file, the brightness and saturation of the resulting QT HDV file are essentially identical to the original. But when I begin by exporting the original clip to ProRes(HQ) via QT conversion or Compressor, bring the ProRes file into Motion and afterwards export to FCP as HDV, the resulting clip is considerably darker (and maybe more saturated) than the original. In the QT conversion, I'm not applying any brightness or contrast filtering. Any clues about what I'm doing wrong?
    Alfred Guzzetti

    hi,
    why do you need to convert the codec into motion and then back again into FCP. Why not send to motion from fcp keeping the same format, and then drop thew motion file itself onto the fcp timeline and use it as a clip. ( although the need to render it everytime something moves can be a pain I know). I find that the less codec changes in a work flow the better.
    hth
    adam

  • Radial gradient corrupted during conversion from EPS10 into bigger JPEG

    I use Illustrator CS4 and Photoshop CS4 extended.
    recently came scross rasteirizing of radial gradient when convert from AI CS4 file to EPS10 file and then buyer converts it into big 4000x4000 pxls JPEG. Never experienced that before.
    It is visible only after conversion EPS into big JPEG.
    Linear gradients are all smooth after conversion but radial is corrupted.
    I clean my illustration before saving as EPS.
    When I save my illustration AICS4 as EPS10,  I check:
    -preview-transparent;
    -transparency preset : high resolution 100%,
         -convert all strokes in outline,
         -convert text in outline (if I have it in my illustration);
    -include CMYK PostScript in RGB file,
    -Compatible Gradient and Gradient Mash Printing.
    I check then EPS file for rasteirizing : window-links.
    No sign of any rasteirization. All nice and smooth.
    here, how looks corrupted radial gradient after conversion to big JPEG from small EPS10. Note, that on the bottom of image  linear gradient is almost ok.
    What I am doing wrong?
    When I upsize my AI CS4 file to 4000x4000pxls and then convert to EPS10, and then into JPEG of the same size, - Radial gradient is smoother, almost perfect. But the size of of EPS file is too big and out of acceptable limits.
    Jim

    Thank you for reply.
    Now I see that I did not explain it properly.
    Sorry for that.
    I need to provide my illustration saved as EPS10 with small Jpeg for preview via internet to the client, the way he requires to have it. I do not know why he wants it that way.
    After receiving my EPS file with small Jpeg, he is making from that EPS10 file a big JPEG for  his needs. It is what he wants.
    When he is convertin' EPS10 file into big JEPEG, radial gradient becomes corrupted.
    I followed his steps to try to undertstand what went wrong and got the same corrupted radial gradient in JPEG file, as you see on provided image.
    What I want to know is how to accomplish what he wants without loosing quality.
    Could you tell me, please, how to save illustration as EPS10 in Illustrator CS4 proper way.
    Thank you.

  • Regarding conversion of idoc into xml/edifact

    hi everyone, i am using 5.0 version and i want to know that without using subsystem can be change my idoc into xml/edifact, if yes then plz let me know procedure
    regards,
    vimarsh

    Hello Vimarsh
    Basically you have to following steps in the EDI conversion process:
    (1) Send business object (e.g. invoice) as IDoc-XML to external system
    (2) EDI converter converts IDoc-XML to EDIFACT (flat file) (e.g. Seeburger, mendelson, etc.)
    (3) Send EDI file to EDI provider (e.g. GXS, IBM-IE, Tradanet, etc.)
    In our case the EDI conversion takes place on SAP-XI (Note: the EDI converter is not part of SAP-XI but a third-party product). The EDI file is placed on a FTP server and then send via ODEX / OFTP to an EDI provider.
    Regards,
      Uwe

  • EUR to USD

    Hi can anybody please advise on this
    Please advise in due time what needs to be set up so that US 10 will bill in USD to BAG starting in FY09. is it sufficient that new POs are placed in USD? can existing POs be translated to USD from Euro?
    Raju

    HI
    What I could understand from the problem statement was that you have a Company code for which the local currency is USD and want the flexibility to create PO in EUR.
    Please setup the Exchange rates and exchange ratios. Once that is done you will be able to create your PO in any transaction currency for which the exchange rates were maintained.
    If no activity has happened on the PO you can try and change the currency to EUR. That should work, once the exchange rates have been maintained.
    Regards

  • UOM Conversion from PO into SO

    Can anyone tell me how to convert the unit of measure of the material from what is coming in 850 into the uom of the sales order uom.
    thought would use a user exit and a function module Material_unit_conversion.
    but wat user exit should be used?
    Suggestions greatly appreciated.
    Michelle.

    Define the UOM conversion in Oracle.
    Also if you are in R12, then you may setup the primary and secondary UOMs at the item master level to deal with both UOM.

  • Conversations splitting msgs into 2 SMS's

    Running Symbian Anna on Nokia C7-00. Conversations is doing a weird thing where it will inconsistently breakup outgoing messages into multiple SMSes. This happens long before 140 or 160 characters is hit.
    For example, I just sent this message to Twitter (forgive the lack of context):
    "@mister_aok i have the same vague memory but haven't been able to conjure it from the net yet!"
    But Twitter received (and tweeted!) the following 2 messages:
    1. "@mister_aok i have the same vague memory but haven't been able to c"
    2. "onjure it from the net yet!"
    Obviously, this is undesirable behavior - not only because it uses up my SMSes but because it is confusing for the recipient.
    Anyone else experiencing this? Any advice?

    Try uninstalling the conversation application and conversation server from your installed application and check for software updates. If they're still available in the servers, you should get them back again. Install them and see whether the problem is corrected or not. Seems like a corrupted installation of conversations application.
    blitZkid
    Nokia C7: Running on Nokia Belle
    "If I'm helpful in anyway, a click of appreciation on the star would be nice"

  • Conversion of string into date????????????

    Can anyone tell how to convert a String into date??
    if the string is in the format "Thu Mar 25 17:11:34 GMT+05:30 2004"
    i have converted it. code is
    SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM d yyyy HH:mm:ss");
         dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+00:00"));
    Date date = null;
    try
              //date = dateFormat.parse(new Date().toString());
              date = dateFormat.parse(dateLine);
         catch(ParseException ex)
    but i am not able to specify the year.
    so when i getYear on the new Date it return 1970.

    @duffymo, I'm pretty sure "d" is good for a two digit date, "dd" gives you zero-padding.
    The problem, presumably, is that the format string "EEE MMM d yyyy HH:mm:ss" does not match the actual format "Thu Mar 25 17:11:34 GMT+05:30 2004".
    The correct format string would be "EEE MMM d HH:mm:ss z yyyy"

Maybe you are looking for

  • Excise duty is not calulating

    Dear All, if i am creating sales order excise duty is not calculating.there is message which is i'm getting.No add. Vendor / Customer data maint. for  -Please maintain J_1IMOVEND. Regards Ajit Jaiswal

  • Why can't i access my app store on my iPod?

    Why can't i access my app store on my ipod 4th generation? I click on it and it won't let me access my app, itunes, or any app like social media apps with internet, but I can still access my games that have internet. It confuses me and i dont know wh

  • New language

    Hi, I want to know how to add a display language (spanish). I have downloaded Device Software and a .exe from a spanish company (http://www.blackberryfaq.com/index.php/BlackBerry_Operating_System_Downloads), but I can't install in the BB. Thanks. BB

  • Help. How do I deactivate my license if my CS4 is blocked?

    I have just restored my Mac using Time Machine and of course Adobe CS4 no longer works (Problem 150:30). I have the key for the suite but I am supposed to delete the key from my system before I can install on "another" system. To delete the activatio

  • N9 Can Not Detect the Sim Card

    Hi Guys, I have N9 which was dead due to some reasons, I just gave to Nokia Care and they have reinstalled the software and returned to me. I insereted my microsim and it didn't detected, they Nokia people used their sim card and that worked. I just