Questions regarding currency conversion using SPRUNCONVERSION.

Hi all,
I have implemented currency conversion using SPRUNCONVERSION stored procedure. I have following questions regarding how does it work.
1. Is it mandatory to create FxTrans Business Rules with SPRUNCONVERSION?
2. How does it work internally? How does it look up rate from the rate application?
Any help will be greatly appreciated. Any reference to any documents will help.
Thanks&Regards,
Diksha.
(PS: How to document does not explain about how it works).

Hi Diksha,
1. Yes since it will base it's translation rules based on what is defined on the currency conversion business rules.
2. The stored procedure SPRUNCONVERSION scans all records found in the selected region of data and translates them according to the RATETYPE property assigned to the ACCOUNT specified in each record, based on the following mechanism:
Note:
All ACCOUNTS with no RATETYPE (ratetype = blank) will be translated with a factor of 1
All ACCOUNTS with the reserved RATETYPE = NOTRANS will not be translated
All other ACCOUNTS will be translated according to the definitions contained in the table of parameters called clcFXTRANS.
How the RATE table is selected
While most customers require a single table of rates, there are situations when more than one set of rates is required. In this situation, the translation procedure uses the RateEntity dimension to select the correct table of rates to use.
Whenever a destination currency is selected, the procedure searches for a RateEntity member flagged with this currency in the Currency property. For example, if translating into USD, the system uses the RateEntity member that has the Currency property set to USD.
If there is no RateEntity flagged as the destination currency, the system will use the RateEntity with Currency = 'u2019 (blank).
In addition to this, some exceptions by ENTITY can be applied. For example, some entities just entering in the consolidation perimeter may need to be converted at their own specific set of rates. These entities may have a corresponding RateEntity member in the RATE cube. All ENTITIES having a corresponding RateEntity member in the RATE cube will use that member as rate table. For example, if there is a RateEntity member named like the ENTITY USOps, the RateEntity member USOps will be used to translate the values of entity ENTITY USOps.
The RateEntity member, when representing an ENTITY, may be any of the following:
A valid base level or parent member ID from the ENTITY dimension of the main cube
A list of members of the ENTITY dimension, as defined filtering the members using a value of the DIMLIST property (or any property whose name begins with "DIMLISTu201D) of such dimension.
For more info, you could refer to the Administration Help found on the Admin console.
Hope this helps,
Marvin

Similar Messages

  • Issue regarding currency conversion

    Hi Experts,
    I'm having issue with currency conversion. Default report output values are displaying in 'EURO' and I had created a toolabar with currency conversion buttons. When this button is selected, values has to be changed into user select currency like INR, USD, AUD. Here im triggering with issues, all the values are converted into 0's. Total value is only converting for first time. From next time. its not converting. I'm using FM's  CONVERT_FOREIGN_TO_FOREIGN_CUR,CONVERT_TO_LOCAL_CURRENCY,READ_EXCHANGE_RATE.
    Please provide ur solutions to solve the issue.  
    Thanks and Regards,
    Bharat

    Hi ,
    You can use this block of code..It is used in our project.
      data : l_rate type ukurs_curr,           "Exchange rate
             l_rate_type type kurst_curr,      "Type of rate
             l_l_fact type i,                  "Local factor
             l_f_fact type i.                  "Foreign factor
    check local currency ,foreign currency local amount are not initial
      check foreign_currency is not initial and
            local_currency is not initial and
            local_amount is not initial.
    Calculate exchange rate
        if local_currency = 'MXN' and foreign_currency = 'USD'.
          l_rate_type = 'MXNT'.
       else.
         l_rate_type = 'M'.
       endif.
    *Call FUNCTION module to get exchange rate
      call function 'READ_EXCHANGE_RATE'
        exporting
          date                    = sy-datum
          foreign_currency        = local_currency
          local_currency          = foreign_currency
          type_of_rate            = l_rate_type
       importing
         exchange_rate           = l_rate
         foreign_factor          = l_f_fact
         local_factor            = l_l_fact
       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.
    if l_rate le 0.
      l_rate = l_rate * -1.
    endif.
    Foreign amount
      if l_rate_type = 'MXNT'.
        foreign_amount = local_amount / l_rate .
      else.
        foreign_amount = local_amount * l_rate .
    endif.
      endif.

  • Currency Conversion using RRC1-Urgent!!

    I have a requirement where I need to create a new currency conversion type. The query displays invoices posted in a particular period and their value in USD. The conversion rate gets posted somewhere in the middle of the period.The conversion happens such that the invoices posted before the date on which the rate was posted pick the previous period's rate, which those posted after that date use the new rate.
    Business requires all invoices falling in a period to use the rate posted in that period and to use the previous month's rate only when the new rate is not available. Can someone let me know what variable time ref. I am supposed to use to acheive this.Any kind of response will be greatly appreciated as this is pretty urgent.
    Thanks
    Akhila.

    Hi Akhila,
    I did not want to say, that the currency rates have to be maintained at a certain date. What I wanted to know is, if the <b>validity date</b> could be influenced as this would be the simpliest solution.
    Nevertheless, what you need is a currency conversion type, that has a variable time reference and is based on 0CALDAY (or another appropriate time InfoObject). Check the period definiton for the time reference. Maybe, "End Month" (respectively "End of Period", ...) could solve the problem. As you probably know, all this has to be done in transaction RRC2.
    If this does not help, it could be useful to describe the currency conversion type's definition as well as a description what validity date is stored in table TCURR.
    Kind regards,
    Stefan

  • Question regarding Currency translation

    Hi Experts,
    I have set fixed USD translation in keyfigure properties, but the user wants to check data in local currency by using right context menu on the report with data base currency. But it is not converting to local currency. Please suggest if we set in keyfigure properties will data base currency will not work at query run time. Thank you
    Regards,
    Manju

    Hi Manju
    Are you using BW 3.5 or BI 7.0?
    Currency translation will work in workbook level also but first you have to disable the currency conversion already applied on the query level. In BI 7.0 you can do that when you right click on the query ->Query properties ->Currency conversion -> Uncheck the check box and choose the currency and translation type.
    Regards,

  • Currency Conversion using RSW_CURRENCY_TRANSLATION

    Hi all,
    I have the following scenario:
    We want to do currency conversion in the update rules between a cube A and a cube B using a start routine. Both cubes have exact the same structure. All key figures are of currency 0CURRENCY. In cube A all values are in EUR, meaning that 0CURRENCY is always 'EUR' for each record. We want to convert to a local currency (determined via "Company Code"), meaning that in the cube B the record should arrive with different key figure amounts and 0CURRENCY='LocalCurrencyAccordingToCompanyCode'.
    We'd like to use a currency translation type, which is defined as follows:
    Tab "Exchange Rate"
       --> Exchange Rate Type = EURX
       --> Dyn. Ex. Rate Determinatn (marked)
    Tab "Source Curr."
       --> Source Curr. from Data Rec (marked)
    Tab "Targ. Curr."
       --> InfoObject for Determining Tar. Currency = 0COMP_CODE
    Tab "Time Ref."
       --> Variable Time Ref. (marked); Value set to 4 (= Beginning of period)
       --> Standard InfoObject (marked); Value set to '0FISCPER'
    We have maintained EURX exchange rate for direction LC->EUR, meaning that in TCURR there are no entries for source currency 'EUR', but only for local currencies like GBP, USD, etc. How can we achieve, that the table is read "inverse" during currency conversion and that the conversion takes the inverse rate. Is it necessary to adjust the currency translation type and mark the "Inverse Ex.Rate" checkbox on the "Exchange Rate"?
    Then, it is still unclear for me, how to exactly call the function module. I have tried in different ways, but mostly get a TCUR_CONFLICT exception. I also debugged the function module and it seems like he cannot determine the target currency correctly. But I think, I do not call the FM in the correct way. I have read various posts; the explanations on how to call the FM are not harmonized
    Can you help me out?
    Thanks to any answers in advance and kind regards,
    Philipp

    I found a solution. Indeed, we passed wrong parameters when calling the FM.

  • Currency Conversion using third party tool

    Hi,
    I am trying to access BW from a third party tool and so far been quite successfull accessing BW Infocubes and Bex Queries by using OLAP BAPIs. However my customer wants to use currency conversion as it is available in BEX in the third party tool as well. I need some thoughts in this direction from experts who have worked on Business Objects and BW integration.
    I believe Business Objects has a similar interface with BW using OLAP BAPIs. Is there a currency conversion functionality available in Business Objects for BW? Would really appreciate if somebody, who has tried out this feature, can share some of his/her experience.
    Thanks,
    Anurag.

    Jean,
    We use Maestro for all our scheduling scripts. To start\stop the
    environment and start\stop applications. We create a shell script that uses
    escript to start/stop applications. Maestro just calls the shell scripts
    and monitor it for completion. I think you have to write the shell script
    in a standard way to return an error if it does not finish properly. Here
    is an example:
    #!/bin/csh
    source /appls/forte/fortedef.csh
    $FORTE_ROOT/install/bin/start_nodemgr -fm "(x:300000)" -e TR2ProdEnv
    ps -fu forte | grep -v grep|grep nodemgr>/appls/forte/production/scripts/KBB
    set KBB=/appls/forte/production/scripts/KBB
    if (-z $KBB) then
    exit 1
    else
    exit 0
    endif
    Hope this helps.
    ka
    Kamran Amin
    Forte Technical Leader, Core Systems
    (203)-459-7362 or 8-204-7362 - Trumbull
    [email protected]
    From: Jean Mercier[SMTP:[email protected]]
    Sent: Monday, April 12, 1999 10:36 AM
    To: Forte-Users (E-mail)
    Subject: Using third party tool to initiate a Forte batch program
    Hello Forte Users,
    Our company has acquired a software product called Maestro. It's a
    production scheduling facility that manages tasks for batch mode
    execution.
    We would like to know if anyone out there has had any experience using
    this
    product with Forte. One recommendation that we discussed was to have
    Maestro start a script on Escript to communicate to an agent that would
    start the batch process at a specified time. Has anyone done something
    similar or can offer any suggestions ?
    Thanks in advance,
    Jean Mercier
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Currency Conversion using RATEENTITY

    Hi,
    We have the following requirement at our Client:
    Entities in the same country uses different Exchange rates, example : 2001 " Mexico" and 2002 " Mexico" uses two different exchange rates.
    To achieve the above requirement I configured NW BPC 7.5 with patch level 9 to use RATEENTITIES.
    Example
    There will be two rate entities like
    1) Global - being used for Company Code 2001
    2) P_2002 - being used for Company code 2002.
    So I maintained different rates for Mexican Pesos in Global and P_2002  RATEENTITIES.
    In ENTITY master we maintained a property - RATEENTITY and maintained the values as GLOBAL for entity 2001 and P_2002 for entity 2002.
    I used the following Script Logic:
    XDIM_FILTER ENTITY = ENTITY.PROPERTIES(u201CRATEENTITYu201D) = u201CP_2002u201D
    *RUN_PROGRAM CURR_CONVERSION
         CATEGORY  = %CATEGORY_SET% 
         TID_RA = %TIME_SET%
         CURRENCY = %RPTCURRENCY_SET%
         ENTITY = %ENTITY_SET%
         RATEENTITY = P_2002
    *ENDRUN_PROGRAM
    *COMMIT 
    So even after using this setup, BPC is converting values for both ENTITIES (2001 and 2002) using rate from RATEENTITY P_2002.
    I also tried to run Currency Conversion by hard coding company code by enter ENTITY = 2002 and that did not work either.
    Is there a way to achieve this requirement.

    Hi,
    Whatever you define in the RUN_PROGRAM it will use as parameters to convert LC to GC, so your script logic set up like this will exchange all entities using the RATEENTITY P_2002.
    First thing you should do is the RATEENTITIES should be valid members of your ENTITY dimension. So if your entity is 2002, there should be a member of the RATEENTITY dimension called 2002, not P_2002. You should then remove the RATEENTITY=P_2002 parameter from the RUN_PROGRAM completely (if it doesn't run without the parameter, try putting it back with GLOBAL as the value).
    With both of these things done, when currency conversion is called for a particular entity it will look for a corresponding entry in the RATE application against the same entity, otherwise it will use what is stored in GLOBAL.
    Let me know if that solves your problem.
    Tom.

  • Question on Currency conversion

    The data from source system is coming with Local currency and reporting currency.
    For some of the accounts such as goodwill, stock..we don't want the translation to be run again in BPC...
    Hence for these accounts I have mentioned the rate type as NOTRANS/HIST. But translation blanks out the historical reporting currency amount.
    How to make sure that some of the accout never gets translated, but is maintained as received from source system..
    Appreciate inputs..

    The problem is, is that in multicurrencytrans.lgl BPC will mark the reporting currency as a calculated member.
    typically this file is located in the SystemLibrary\Logic Library folder within the webfolder of your appset
    i.e:
    D:\BPC\Data\Webfolders\ApShell\SystemLibrary\Logic Library\multicurrencytrans.lgl
    the second before bottom line reads:
    *FOR %CURR%=%REPORTING_CURRENCIES%
         [CURRENCYDIM].[#%CURR%]=null
    *NEXT
    you can comment this out, you may need to reprocess your application before re-running the logic.
    //*FOR %CURR%=%REPORTING_CURRENCIES%
    //     [CURRENCYDIM].[#%CURR%]=null
    //*NEXT
    Finally you should set the translation rate type of the account to blank or notrans (try both iirc).
    If you have an example such as common stock where you have a historic transaction rate that is specific to the transaction - you cannot really use BPC's rate cube to record the historic rate, in this case you can key in or load the translated figure for that account. If in the future you decide to translate that account, you should remember NOT to rerun an FX restatement for historic periods, else you lose your data translated as historic transaction rate.
    Regards,
    Hiren.
    Edited by: Hiren Amin on Oct 2, 2009 11:59 PM
    Edited by: Hiren Amin on Oct 3, 2009 12:00 AM

  • A few questions regarding iPhoto conversion to light room

    Some background. I use Yosemite, LR 5.7, and iPhoto '11. The iPhoto app has been used for organization only. All edits have been done in PS. No smart albums. The file system is simple using only albums, folders, and sub folders. The library contains JPEG, raw, tiff, and psd files. There are about 12k images. My questions:
    1. Does it make any sense, or is it even possible, to migrate the library to LR one album at a time or is it still smarter to move it all at once?
    2. Have the major issues with the importer now part of 5.7 been resolved since it was released last year as a stand-alone plug-in?
    3. Is it now possible to move the psd and tiff files now? I read that originally they would not move. If not, is there a good work around such as moving them through bridge then through to LR?
    4. I read somewhere that apple's upcoming photo app will make the import method to LR easier. Can this be true. I would guess it would be harder.
    Thanks.. I appreciate all this community provides us.

    Lightroom 6 is due very soon. It may be worth waiting to see if it includes an improved interface or plugin for iPhoto and Aperture.

  • Question regarding the FAN used by WD My Cloud EX2

    Hi, I have a WD My Cloud EX2 product. Using the diagnositic tool in the dashboard I noticed the Disks temperature is 57 C° and the FAN "RPM is to 0"!!!! The temperature The entire case is hot. I attached an image in ITALIAN language that show the situation. The temperature is NORMAL but in my opinion there is something strange. Must the NAS reach a particular temperature to start the FAN? Regards, Angelo

    I had the exact same problem.  My unit would give me a warning about "overheating" but my fan speed was always reported as zero.  I was not able to see the fan spinning during normal operations, but this does not mean it was not spinning when I was not looking.  So I ran the built-in diagnostic routine, no problems were reported and I could see the fan moving during the diagnostic routine.  In normal operations when I would get the overheating message, the fan speed was always reported as zero RPM. It seems to me that the diagnostic routine correctly makes the fan spin so no fan problem is then reported, which gives a person a false sense of no fan problem. Two weeks ago I returned my unit for a refund because of the overheating (zero fan RPM) problem and I also had an ongoing problem with the built-in Amazon S3.  I would like to purchase another EX2 because I think the EX2 is a great value, but at this point I'm concerned about the overheating problem and I see other people are having the exact same problem. Certainly it could be a hardware issue, but I wonder if its a software (firmware) issue.  I have no evidence or information to say either way, but in my situation since the diagnostic routine correctly made the fan spin, it makes me think the issue is more software/firmware.

  • Question regarding how to use XHTML format in Form

    I have defined a form where the input interface is iv_text TYPE string and the format of the field in the form is in XHTML.
    But when I set iv_text = '<font face="Times New Roman" color="#ff0000" size="5">Test</font>'. The ADS does not interpret the XHTML and it generates me a PDF file containing this sentence.
    Can someone help me?

    look up for "Using formatters" in the FB help.
    Essentially you'll instantiate a format, NumberFormatter for
    numbers for example, and set it's properties like e.g. showing a
    thousand separator and then one some event of the TextInput --
    valueCommit for example -- you'll do something like:
    ti.text = nf.format(ti.text)
    this is would also give you opportunity to validate user
    input using the same formatter and valid event.
    ATTA

  • Question regarding video conversion

    Recently purchased Kigo Video Converter - iMovie 09 is newly installed on my machine as the hard drive crashed 10 days ago and used to work with iMovie 08 - when downloading an .flv file from YouTube and converting it to MP4 so as to edit footage, iMovie is not importing the file or rather, it's not coming up in the project so that I can edit it... if it is there I am unable to locate it... Any and all help would be greatly appreciated; it is a codec issue or do I need to update something? Register iMovie perhaps... again any help is appreciated with this as I do a lot of editing for Nightclubs and Bars and occasionally have to pull footage off of YouTube... thanks for the hand

    If there's no editing to be done, you can save yourself a lot of time and not tie up your Mac by purchasing a standalsone DVD recorder. I got one just for that purpose and it has really paid off.
    If you are editing the footage, how best to export will depend on which program you're going to use for the DVD authoring (not just for burning).
    -DH

  • Question regarding how to use XHTML format in Form Builder to generate PDF

    Hi,
    I have defined a form where the input interface is iv_text TYPE string and the format of the field in the form is in XHTML.
    But when I set iv_text = '<font face="Times New Roman" color="#ff0000" size="5">Test</font>'. The ADS does not interpret the XHTML and it generates me a PDF file containing this sentence.
    Can some help me?

    Hi,
    I have defined a form where the input interface is iv_text TYPE string and the format of the field in the form is in XHTML.
    But when I set iv_text = '<font face="Times New Roman" color="#ff0000" size="5">Test</font>'. The ADS does not interpret the XHTML and it generates me a PDF file containing this sentence.
    Can some help me?

  • General Question regarding File Conversion

    Does flash pro provide the ability to convert video
    files,such as avi, mpeg, etc to flash video? Thanks for the
    help.

    yes
    Dan Mode
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    "Joe Pau" <[email protected]> wrote in
    message
    news:e94jeq$o0$[email protected]..
    > Does flash pro provide the ability to convert video
    files,such as avi,
    > mpeg, etc to flash video? Thanks for the help.

  • Question regarding standard BAPIs used to change quotes etc.,

    Hello friends
    Are SAP BAPI calls for quote change the same for ECC and CRM?
    We are trying to get more info on standard BAPI such as BAPI_CUSTOMERQUOTATION_CHANGE.  I heard that SAP Accelerator Web Service may not work for changing quotes in CRM.
    Any feedback on comment will be highly appreciated.
    Thanks
    Ram

    Not answered. But closing to make way for new questions

Maybe you are looking for