Pointers regarding Currency handling in BI

Hello All,
I am having difficulty in getting to grips with how currency is handled in queries.
There is a vast amount of resource out there but I am just starting out on this road of discovery and am looking for a few basic questions answered and also to be pointed in the right direction towards some good reference material. (the BW305 material does not really go much into currency).
My ultimate aim is to burst a report based on Sales Office. If the Sales Office is in the UK then the values should be in GBP. If the Sales Office is in Ireland then the values should be in EUR.
My begining questions are more basic:
Q1) How does BW store KF's relating to currency e.g Sales Amount. Are they stored in the cube as what? Local currency or document currency?
Q2) If a report prompts for currency input and I enter EUR, is the exchange rate used for conversion the rate at the time the document was created? Or the rate when the report is run? - this is quite important as my query reports on invoice sales for the past year. EUR/GBP rates have been up/down like crazy this year so using the current exchange rate for an invoice from Jan 2009 would not be a good representation of the sales value
Q3) I suspect that a decision has to be made at design stage regarding the currency in which values are stored in the cube. A UK company will generally report in GBP. But if the company has an operation in the Eorozone then those invoices will come in Euros. Being the minority they will be converted to GBP when loading to the cube.
Is my thinnkning on this correct?
Many thanks in advance to all who take a look at this posting and help.

Hi,
I might be able to give you some insight for your doubts.
Q1) How does BW store KF's relating to currency e.g Sales Amount. Are they stored in the cube as what? Local currency or document currency?
ANS: It most probably is stored in document currency. It depends on how you are loading the data. Check your amount key figure to see where the currency is being mapped from. Trace it backwards to the datasource to see which currency is stored in the cube/DSO. That will be the currency stored and it varies by design.
Q2) If a report prompts for currency input and I enter EUR, is the exchange rate used for conversion the rate at the time the document was created? Or the rate when the report is run? - this is quite important as my query reports on invoice sales for the past year. EUR/GBP rates have been up/down like crazy this year so using the current exchange rate for an invoice from Jan 2009 would not be a good representation of the sales value
ANS: The exchange rates are maintained in the table TCURR. you can update this table from R/3 system regularly or even otherwise. In your query, instead of just having a variable for currency type, you could also have a variable for exchange rate type. In that case, the user can choose an exchange rate type which is the right one for his purpose (eg: as of Jan 2009) and select the target currency. The selected amount in this case would be converted based on the selected exchange rate type and the target currency. This becomes pretty flexible for the users.
Q3) I suspect that a decision has to be made at design stage regarding the currency in which values are stored in the cube. A UK company will generally report in GBP. But if the company has an operation in the Eorozone then those invoices will come in Euros. Being the minority they will be converted to GBP when loading to the cube.
Is my thinnkning on this correct?
ANS: Of course this is a design decision but, the minority currency need not be converted to the general currency during data loading process. In your example, they can be stored as euros itself but, converted to GBPs at run time in the report. This is a better way of handling currency conversions. Think of this also. On the day of data load, if you convert euros to GBPs, it will apply some exchange rate and this might (will) vary after sometime. In that case, you will not be able to get the exact conversion at the time you want to see it.So, it is always a better option to keep the key figures in the same currencies and convert them in the reports.
Hope these answers are of some help for you.
Thanks and Regards
Subray Hegde
Somehow, the formatting of this message went for a toss.

Similar Messages

  • General Inquiry Regarding Error Handling with System Exec.vi

    I have a sub vi that uses the System Exec.vi to send SMS messages when triggered. I am confused as to how the error handling works and why all of the errors seem to go to the "standard error" vs the "Error out". The reason I am interested is because I am trying to interrupt the error out of another script to execute a command if error=true.
    I have intentionally created an error to test this, however it does not seem that the signal is ever being sent to the error out, only to the standard error.
    Any help/explanation as to how this works would be greatly appreciated.

    The Facebook discussion board is just a pilot and that functionality is not available yet (as to my knowledge). You will have to use the actual forum thread to add attachments. You can click the arrow just to the right of thread topic in the Facebook thread and that will take you to the ni.com/forums thread. Or you can navigate here:
    http://forums.ni.com/t5/LabVIEW/General-Inquiry-Regarding-Error-Handling-with-System-Exec-vi/m-p/246...
    Having a look at your VI would help to clarify the error handling issue.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • Regarding currency

    Dear folks,
    Could you help me please regarding currency please ..
    My case is like this :
    for the currency : IDR.
    When i enter for the key figure : 125
    It will be displayed in report : 12.500
    After checking to tcurx, it has ration for 100.
    What should i do regarding this ??
    What i want is, when i entry for 125, it's also displayed in report 125 though it's IDR.
    Where should i make routine ?? Could you help me what should i do ??
    Many thanks.
    Regards,
    Niel.

    Dear Tripple K,
    Many thanks for quick response ..
    Basically, after checking to the senior here, i'm forbidden to modify the ratio for IDR (tcurx table).
    When you're telling me about consideration :
    2. Translation ratio ,,,
    What should i do for it ??
    I mean,
    e.g.
    Currency : IDR has ratio : 100
    Then, in the report when i entry for 125, it will come up for 12.500.
    What should i do for it ???
    Should i make a routine in update rule to divide the amount by 100 ?? 
    Still need your guidance ..
    Regards,
    Niel.

  • EDI Inbound Invoice : Currency handling

    Hi ,
    In our system we receive Invoices from Vendors via EDI. The process is working fine.
    However today we came across a situation where PO currency was GBP, Idoc received with currency EUR and it got posted without any coversion/failure.
    Just for sake of example, PO net value was 1000 GBP, for which we got IDOC with currency EUR and value 1030. Which got posted in system to create invoice with value 1030 GBP.
    Does anyone know how SAP handles this currency mismatch, is there any config setting where in we can control this.
    We would ideally like to stop this posting or want an automatic conversion of currecny based on rate maintained in system.
    MESSAGE : INVOIC
    Processing code: INVL
    Regards,
    Pawan.
    Edited by: Pawan Kesari on Sep 8, 2009 3:49 PM

    Hi,
    In general in SAP this currency exchange rates are maintained in OB08(OBZero Eight) T.Code.
    The customer will be assigned to a currency in the customer master.
    The system will check with this currency with the pricing currency and picks up the correct value from the above mentioned table.
    If you open the accounting document using FB03 T.Code and click on display currency,then the currency will be displayed in the original one.
    And the value will be exchanged as the given currency from the exchange table.
    In this billing document,you can copy the exchange rate same as order or as per the date you create the invoice etc..These changes can be maintained in VTFL(if delivery related billing)/VTFA(if order related billing) in the item details.The field is "PricingExchRate type".Press F4 and check for all the options available there.
    Regards,
    Krishna.

  • Regarding currency references in SFP

    Hi,
    I have included only one table (tab1) in the interface.
    In side that the currency fields are referred to the table (tab2) fields( tab2 not included in the interface.
    In SFP, while trying to give references , I am not getting the reference type when I click F4.
    Plz let me know how to handle the problem.
    Thanks and Regards,
    Pavan Meda

    Hi Hans,
    I think the purpose of curr/qty references is,
    If you see any item table ( In se11 ), the curr/qty fields are pointed to Header table curr/qty key fields.
    That means, at runtime the item table curr/qty value will be formated based on the header table curr/qty key field.
    Say, tab1 is item data. tab2 is header data.
    If I include tab1 and tab2 in the interface , i will get the references.
    As i am not using any field from tab2 in the layout, i can't use in the interface (as per quality rules we should not use extra tables in the interface) .
    then how should I proceed.
    if am confusimg, plz let me know

  • 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.

  • Pointers regarding consuming a external web-service from SAP

    Hi All,
            I am trying to consume a web-service from an external system using a URL.
    Our SAP system version is 4.7. I have created a custom program and calling up the web service using HTTP POST method.
    For this I referred the following weblog.
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/847. [original link is broken] [original link is broken] [original link is broken]
    I modified the program according to my requirements and called the web service, but I am facing certain issues.
    1. The if_http_client->send method executed successfully (sy-subrc eq 0). But the next call to the method
        if_http_client->receive the program shows error.The message is very long one and I am not able to see it fully in debugging mode.
    Please help me with the following questions.
    1. Is there any way I can read the message returned from the web-service to see what the error was? In 4.7 we don't have the recording function as in 6.0.
    2. I have disable the login prompt by calling if_http_client->propertytype_logon_popup = http_client->co_disabled.
    If I don't do that it shows me a SAP Web AS login screen. Shouldn't it show me the standard http login screen?
    3.In that login screen if I provide my ID password it returns the following message
    'Business Server Page (BSP) ErrorBSPexception:Access to URL :<Server>:<80>/ORABPEL/DEFAULT/READDATA1/1.0 is forbidden'
    Any pointers what does it mean?
    4. This method seems a very lengthy process to me. Is there any other approach to this issue?
    TIA
    Barada.

    The error for Authorization was because of the HTTP proxy settings for the system.
    I configured the proxy settings in the transaction SICF->Goto->Http Proxy and then the program worked fine.
    Regards
    Barada

  • Regarding Currency issue in SAP BW

    Hello All,
    In R/3, new  currency "RON" has introduced.
    So in BW, i did necessary steps like right click on Source System then transfer Exchange rates
    then  it is showing that
    "RON" is not found in the TCURC inBW side
    but it is present in TCURR.
    Kindly suggest .

    Hi
    Please create an entry for the new currency "RON" has introduced in the table : TCURC.This should solve the issue.
    Regards, Hyma

  • Regarding  currency translation for Display attribute(key figure)

    Hi Gurus,
    How can i do currency conversion for  MATERIAL COST(key figure) ,which is  Display Attribute  of MATERIAL...
    thanks advancely.......
    CHANDRA

    Hi,
    You can create the currency conversion type in the T code RSCURR.
    Here are the steps...
    1.     Transaction for creating currency translation type is RSCURR
    2.     Choose the Exchange rate, Source currency, Target Currency and the Time reference in the respective tabs.
    3.     In the query definition choose the Currency Conversion Key in the properties of the Key-figure.
    Regards,
    Yogesh.

  • Regarding Currency update in  SAP BW

    Hello All,
    I am using SAP BW 3.0.
    In source system, one currency has been introduced. So how can load that  in BW
    I  know manually steps, source system in (RSA1) right click  in global setting n exchange rates.
    but  can we do the same automatic way   like Process chain .....
    Thanks for your reply.

    Hi,
    create a job with abap programm RSIMPCURR
    Regards,

  • Regarding Error handling and customisation in RFC, Idocs and Proxy

    Hi,
    I wanted to compare RFC, Proxy and Idocs on the basis of the amount of customisation required in ECC when sending data from ECC to XI using the above stated means and also the error handling provided in these methods.
    Please let me know in detail if possible.
    Regards,
    Sampada

    Hi ,
    Check this blog to know when to use which adapter:
      /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    we use proxy in sap 6.0 version or higher.
    Basically used for adapter less communication
    & very high volume of data has to be transfered.
    Step for Configuration fo IDOC in R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
                                                                                    Regards,
                                                                                    Vinod.

  • Regarding currency in third party PO

    Hi,
    This is regarding third party purchase.
    I have created a sales order. It's currency is CAD.
    Third party PR is generated.
    Now I am going to create PO wrt this PR.
    Currency of my Vendor is USD.
    But in PO, system is picking CAD. I know it is picking from sales order currency.
    Is there any way by which system will pick Vendor master currency (USD) & not sales order currency??
    Thanks in advance,
    Piyush

    Dear Piyush
    I have tested the scenario in ECC6.0 std system and the currency is picked from Vendor mater record not from Sales order curreny.
    I have maintianed EUR in sales order and USD in Vendor master record. PO created with USD only. The pricing contion pciked in EURO and conveted in to USD at PO line item level automatically.
    I tested in ECC 6.0 ides server.
    warm regards
    Ramakrishna

  • In call transaction not catching error regarding Currency?

    Hi All sap Gurus,
    I am uploading  data using BDC call transaction in the flat file if country is IN it has to accept only INR currency i.e. currency of that particular country but if I gave some different country with wrong currency even though it is accepting that currency. I want to trap that error. I tried a lot but helpless. I ask the help regarding this in SDN but i didn't get helpful answer.
    I DEFINE ONE VARIABLE AS CHARACTER ALSO.
    Thanks In advance.
    Pravin

    hi,
    in SAP you can post any country - any currency combination (most of the time). You have to code the logic on your own: Country and currency are stored in table T005. Load the data from T005 into an internal table and check with the values from the file. Logically don't post the entries, which don't match!
    hope this helps
    ec

  • Regarding Currency Problem

    Hi All,
        Report program is showing the currency in the form 322.500,00 format.I am using CONVERT_TO_FOREIGN_CURRENCY function Module for that local currency to foreign currency. But FM is not taking this format as input.So, I have passed it to CHAR20 variable and then used replace all occurrence of '.' with SPACE and '.' with ','. Then FM works fine it returns variable in form 21567234 then I am passing this to variable currency it returns with 215672.34.
          I also pass it to the same variable type vbdpr-netwr. But it is not converting it in the format 215.672,34 . Please suggest some way to achieve the same format again.
    regards,
    Brijesh Patel

    hi,
    Use the format options that suits your requirement.
    data: v_pack type p decimals 2 value '2345.67'.
    write :/ v_pack.    "2.345,67
    set country 'US'.
    write :/ v_pack.     "2,345.67
    write :/ v_pack no-grouping.   "2345.67
    Regards,
    Sailaja.

  • Regarding Exception handling in ccBPM

    Hello all,
                  I am currently working on a scenario where I require to stop the ccBPM processing for the manual restart "SWF_XI_SWPR" once the data issues are fixed. for the ccBPM to stop I am raising the exception which in not handled in the available exception branches but when I restart after the data fixes it is not proceed rather it goes into state of in process and does not return.
    Any help on this is greatly appreciated....
    Thanks in advance,
    Mahamood.

    If there are any errored entries of your BPM in tcode SWWL then first clear them and then reprocess the message.
    for the ccBPM to stop I am raising the exception which in not handled in the available exception branches
    You seem to be abruptly ending the BPM.....any particular reason of having such a design approach....this may lead to failed instances in SWWL.
    Regards,
    Abhishek.

Maybe you are looking for