Currency Conversion terminates the query execution

Hi friends,
When I execute a query it terminates due to the following error in currency conversion. "Abort System error in program CL_RSR_RRK0_CURR and form FILL_CUDIM_02-04 (see".
conversion works fine and gives correct values in target currency when the source currency is say thailand bhat, malaysian ringett, philippino peso etc.., but when i use the source currencies of zimbabwe or kenya i get this error and next the query terminates.
Can any one of you suggest me what could be the problem. How do i systemtically approach to solve this problem.
Thanks
Raj

Hi Serjio
All the currencies mentioned currencies are available in the TCURR table including the exchange rates from those currencies to USD.
Hi Sven,
I am sorry, I really didnot understand when you say "set the flag for protocol to X". You may throw more light on this. I tried debugging the program RSW_CUR_TRANSLATION_RATE_GET in the past step-by-step. This leads to lots of other programs and i was really lost in them. Pls guide me to debug it effectively.
Hi Serjio/Sven,
Further, i missed out to mention the following details in my post. We have two version of a this COPA query. One is older and the other is newer. Both were created before we upgraded from 3.1C to NW2004s.
The older version works fine. The conversion from source to target currencies is good for the african currencies also besides the asia-pacific (AP) currencies. However, the newer version throws out the error message i have mentioned in the post for african currencies but works fine for asia-pacific currencies. Even the newer version was working fine before we upgraded from 3.1C to NW2004s. Its only after the upgrade that we are encountering this problem.
In the query we are also converting the data to SGD (singapore dollar), besides USD. As i donot require this data i have hided the values in SGD. As a reason we have never maintained conversion rates/factors for converion from any of the AP or African currencies to SGD. Due to these missing rates I get an Information message to maintain the conversion rates/conversion factors for AP/African curr to SGD. This message appears along with the error message(mentioned in my post) on the same screen. This information message also appears for the older version of my query, which is currently giving correct $values. But I think we can ignore this message. Else do you think, in some way these missing rates are responsible for the trouble??.
But more surprisingly why is that the older version is not impacted by the upgrade while the newer is affected?
Pls share your views
Thanks
Raj

Similar Messages

  • Currency conversion in the query designer level

    Hi
    Iam calculating the 'Financial Loss' in the Formula in the query designer.And it comes in SAR(Saudi Riyals).
    But i want the 'Financial Loss' in USD in the Query Designer. Because i want the USD Financial Loss to be use in some other calculation.
    Please let me know how can we do this one in the query designer. I really appreciate for it .
    Regards
    Kumar

    Dear Ravi,
    Basically there are 2 ways to do it: routine & query level.
    If query level, you need to maintain it first using tcode RRC1, then you use it in your KF in your query. .
    Routine level,
    You can create new KF in info-provider, then in the update rules routine, you can use this function to convert the currency :
    CONVERT_TO_LOCAL_CURRENCY
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks for any points you choose to assign.

  • Currency conversion in a query.

    Hi,
    I have a requirement where I need to give the facility of currency conversion of some of the key figures in a query.
    There is no key date specified in the Functional specs based on which I can create the currency conversion thing.
    What I want to know
    1)Is there any other way we can do currency conversion if we dont have a Key date.
    2)Also is it essential to restrict all the key figures which require currency conversion with the key date variables.
      If we don't restrict the key figures will the currency conversion thing be still valid.
    Please advise.
    Kind Regards,
    Kate.

    Kate,
    Hope this would help you:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a
    http://wiki.sdn.sap.com/wiki/display/BI/HowtocreateasimplecurrencyconversioninBEx
    ~AK

  • Unit Conversion in the Query

    Hello Experts.
    I have a situation where I need the units of quantity to be converted at the query level. For e.g. if the value of the keyfigure is stored in litres in the Cube, then at the time of the query execution this value should be converted in gallons.
    I cannot use the following options in this case:
    1) The Solution for alternate UOM using the How-to guide for the same as the conversion from liters to gallons is not maintained at the material master level in my case
    2) I cannot use the Unit Conversion in the Conversion tab because gallons won't be the only target unit in my report, it will depend on the type of material select by the user.
    Please let me know about the options in this case. Any sort of help is appreciated and points will be duly rewarded.
    Thanks,
    Rishi

    Hi Prasad,
    In both of the ways, there should be only one target unit for them to work which is not the case in my situation. I want only specific material types to be displayed in gallons. If the User selects a different Material type then the target unit will be different.
    Any other possible solution on this one.
    Thanks,
    Rishi

  • Oracle View that stores the Query execution time

    Hi Gurus
    i m using Oracle 10G in Unix. I wudiold like to know which Data dictionary view stores the execution of a query. If it is not stored then hw to find the query execution time other than (Set timing on) command. What is the use of elapsed time and what is the difference between execution time and elapsed time? How to calculate the execution time of a query.
    THanks
    Ram

    If you have a specific query you're going to run in SQL*Plus, just do
    a 'set timing on' before you execute the query.
    If you've got application SQL coming in from all over the place, you can
    identify specific SQL in V$SQL/ and look at ELAPSED_TIME/EXECUTIONS
    to get an average elapsed time.
    If you've got an application running SQL, and you need to know the
    specific timing of a specific execution (as opposed to an average),
    you can use DBMS_SUPPORT to set trace in the session that your
    application is running in, and then use TkProf to process the resulting
    trace file.

  • How to terminate the jsp execution

    Hi, I've an problem to terminate the jsp execution.
    I've tried to use the following code: out.close();
    but the jsp (I use the servlet engine version 2.0) page continue the execution.
    How I can terminate this execution?
    Thanks

    Hello,
    i haven't this tried out yet, and i even do not have Time to test it,
    but if you use a Custom Jsp Tag, then you can set the return Type of
    the doEndTag() Method to SKIP_PAGE.
    This should stop the Evaluation of the Rest of Page.
    Good Luck !
    Best regards
    jherunter

  • Currency conversion in the Business Explorer(Query design)

    Hi Experts,
    How to convert currencies from CAD to USD using the “Current exchange rate 0011” for a particular record in the Business Explorer (Query Design).
    Any useful answer will be rewarded with suitable points.
    Thanks!
    Rohan

    Create a currency coversion type for the exchange rate
    Go to RRC1, enter a  name for your new currency conversion type
    on the exchange rate tab mark the radio button Exchange Rate Type.
    enter the exchange rate type there
    enter the target curr in the tar curr tab as USD
    similarly in the query also enter the curr conversion key.
    hope it helps,
    assign points if useful

  • How to turn off Currency Conversion within the execution of Fox code

    Hi All:
    We have a number of custom key figures defined in a Planning Layout.
    We had wanted to define those fields as type CURR with 4 Decimals, however it appeared that 2 Decimals was the maximum we could specify.  We therefore wound up using Type FLOATING POINT with 16 Decimals.
    In some Fox code that calculates these custom key figures we then use a ROUND statement to produce values such as 3.2735000000000000.
    When this Fox code executes in debug mode, I see a generated ABAP program running which includes Include programs RUPFGENTOP and RUPFGEN00.   This program executes a Form F_00001, which is essentially the Fox code. Here I can see the ROUND statement producing the desired result.  Right after though a Form TCURX_CONVERSION executes, which often reintroduces all 16 decimals, and I might get values, such as 3.2735000000000001 or 3.2734999999999998.   These small fractions cause other issues later on in the process.
    In our case we are not trying to convert an amount from one currency to another, so we don't understand why it even would try to do a currency conversion.
    My question:  is there any way to "turn off" this currency conversion routine?
    Please advise - any suggestions would be most welcome.
    Many thanks in advance,
    Robert van der Kam

    Hi Robert,
    the solution suggested by Anass only works for key figures of type number. For key figures of type amout or quantity it is not allowed to change the number of decimals. Especially for amounts the number on the DB can only be intepreted correctly knowing the currency. Depending on the currency the value 1 on DB may be 100. This is why the FOX does the TCURX_CONVERSION, a better word would be currency shift since currency values have to be scaled depending on the values maintained in table TCURX. Since FOX needs one common number type for calculations the shift is neccessary.
    This is the reason why amounts have only 2 decimals on DB, the real number of decimals comes from TCURX; no entry there means 2 decimals, i.e. not scaling is neccessary. This is why changing the number of decimals via domains might corrupt all data.
    It seems that you are using release 7.0x, in releases 7.3x internally uses DECFLOAT data type, thus the 'problems' coming from binary arithmetic in ABAP FLOAT will not occur any more.
    Regards,
    Gregor

  • Sorting Currency conversion Variables in Query Selection screen

    Hi Experts,
    I have an issue in sorting variables.
    A Currency translation is used here which has two selection options here, one for "Currency" and one for "Currency conversion date". They just pop in somewhere in the selection screen with out order. I want to put them together either in the middle or at the bottom.
    They are not visible in the Variable sequence tab of query properties.
    I changed the text for each of them (Ex. "XCurrency"), so that it sorts alphabetically, but no difference.
    Had anybody come accross this issue before.
    regards
    G Rai

    Hi,
    This seems strange that the variable does not show in the query properties. One thing I can suggest it to try changing the technical name/desciption of the variable if that changes the order.
    Please update back the thread if that helps.

  • Currency conversion with the wrong exchange rate type

    Hi,
    I need a currency conversion in my bex query. I have defined a currency translation key with a assignment to the exchange rate type "M".
    When I check the results in the query it works with exchange rate type "EURX".
    Exchange rates are in the TCURR.
    Can anyone help me.
    Thanks in advance
    Jürgen

    Hello,
    We just had the same issue, and in checking the Currencies: Translation Ratios in transaction OBBS, I noticed that the currency translation key in question was set up with an entry of "EURX" in the "Alt. ERT" column.
    I copied the line and created a new entry with a "Valid From" date of the current month, but without the "EURX" Alt. ERT alternate and that seemed to solve it. 
    Anything entered with a date after the new Valid From date would use the manually entered exchange rate, while anything with a prior date continued to use the EURX rate.
    It appears to me that the "Alt. ERT" functions more as an override than an alternate, so if you want the system to actually use the "M" rate, I believe you have to ensure there is nothing in the "Alt. ERT" column.
    I hope this helps.
    Blaine

  • Currency Conversion in BeX Query

    Hello Experts
    I want to have corrency convetion option in Bex Query and have few questions regardig that.
    i am using key figure 0DEB_CRE_LC which has currency as    0LOC_CURRCY.
    1. how do i allow user to enter currecny, using some input variable for currency char.?
    2. do i need to associate some date for this conversion?
    3. what exchange rate will be used?
    Thanks in advance
    Regards
    Sudeep

    Hello Sudeep,
    1. how do i allow user to enter currecny, using some input variable for currency char.?
    Answer: Create a variable on 0Currency and select the conversion type which you have maintained in RSCUR tcode. Make this variable as input ready. This will give the user the flexibility to enter the Currency.
    2. do i need to associate some date for this conversion?
    Answer: Yes you need to associate the Currency conversion type to your conversion. Same can be maintained in RSCUR tcode.
    3. what exchange rate will be used?
    Answer: In RSA1, goto source system tab and right click on the Source system. Select "Transfer exchange rates". This will transfer the exchange rates which are maintained in your ECC side. The exchange rates are maintained in table TCURR. you can check the table in SE16.
    Regards,
    Satyam

  • Currency Conversion problem in query designer

    Hi,
    A requirement has come that infoobject which contain multiple currency type, need to convert into a single currency type in Bex reporting as user want to see only one currency value in report.
    There are three keyfigures refering different calenders for conversion. For examle . GR amount is based on GR date, IR amount is based on IR date and PO amount is based on Doc date. Query is build based on a infoset.
    I am doing following steps to achieve the task::
    1. In TCODE - RSCUR, created three Currency Conversion Type each for GR, IR and PO and each one refering different 0calday calender
    2. Defined exchange Rate Type as "M"
    3. Currency Tab -> Source Currency = "Source Currency from data Record"
        Target Currency -> Fixed Target Currency = "USD"
    4. Time Ref. Tab -> Fixed Time ref. = "Current Date"
        Variable time reference = "To the exact day"
        Special InfoObject = <InfoObject name>
    5. In query designer, Key figure property for GR amount -> Conversion -> Conversion type = <Name of Currency Conversion Type which defined in RSCUR>
    6. Repeated the same for IR Amount and PO Amount key figure
    While saving, getting following error::
    *Cannot apply Currency translation type <Currency type name> in Infocube <Infoset name>. *
    Diagnosis
    You tried to translate a query element with the currency translation type <Currency type name>. The translation type <Currency type name>, however, has variable time reference or variable target currency relevant to characteristic Document Date. Characteristic Document Date is also not available in InfoProvider <Infoset name> and it references either none or more than one characteristic () of the InfoProvider for Document Date, or Document Date is not a base characteristic.
    System Response
    Procedure
    Adjust the query definition or create a special currency translation type for one of the characteristics .
    Please help!
    Please note that there are three key figures which need conversion using different calenders.
    Sanjiv

    Hello,
    I have done the same what you said, but same error still showing.... 
    I also tried to change from "Special InfoObject" to Infoset level and it works with one KF. Since all three KF are under one Infoset and there is limitation that if Currency Conversion Type is defined on Infoset level then only one KF will be assigned for a Infoset where as I am using three KFs with three relevant time characteristic.
    Any suggesion from others?
    Sanjiv

  • How to get the query execution time

    Hi,
    I am new to oracle and I am trying to get the execution time of a query.I tried the command set timing on and executed the query.But,the time it gives me is including the display of results.In my case,I ran a query against 50 million records and it is taking around 5 hours to display all the results.I like to know,how much time it take just to execute the query?Please help.
    Thanks
    Ravi.

    Maybe this way ?
    TEST@db102 SQL> set timing on
    TEST@db102 SQL> set autotrace traceonly
    TEST@db102 SQL> select * from foo;
    332944 rows selected.
    Elapsed: 00:00:29.04
    Execution Plan
    Plan hash value: 1245013993
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |   274K|    46M|  1071   (5)| 00:00:13 |
    |   1 |  TABLE ACCESS FULL| FOO  |   274K|    46M|  1071   (5)| 00:00:13 |
    Note
       - dynamic sampling used for this statement
    Statistics
            288  recursive calls
              0  db block gets
          26570  consistent gets
           4975  physical reads
              0  redo size
       35834383  bytes sent via SQL*Net to client
         244537  bytes received via SQL*Net from client
          22198  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
         332944  rows processed
    TEST@db102 SQL>                                                                               

  • BI SDK/XMLA (MDX) - Does the query execution go through SAP BI Accelerator?

    Environment : Portal - EP7.0 SPS 14, BI 7.0 SPS17
    I have written customer report views which uses the BI SDK to execute BI querries through the portal.
    Following link provides the detail about configuring the portal to access the BI system and execute queries through XMLA which used MDX statements on the BI system...
    http://help.sap.com/saphelp_nw04s/helpdata/en/ba/e380e03c3a4dbf8cf082f0c910f9cf/frameset.htm
    Does the the BI XMLA interface go though the SAP BI Accelerator to speed up query execution? I have provided the link below about SAP BI Accelerator...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3604c604-0901-0010-f0aa-b37378495537
    If the answer is yes, how do I prove it?
    Any help is really appreciated.
    Thanks
    Bhabesh Patel

    You prove it because SAP said so:
    /docs/DOC-7992#section7
    just kidding
    You can also run an ST05 trace (with RFC on) and look for the RFC call TREX_RFC_AGGREGATE_SP5

  • Currency Conversion at the time of Invoice Print Document Creation

    Hi,
    In our system for some accounts we receive payments in USD (foreign currency) and at the time of posting, the amounts are stored in both transaction currency and local currency (CAD).
    We have a scenario as follows:
    Payment is posted as a payment on account (sitting as open credits)
    At the time of invoicing, these items are picked up to be included in the bill
    Now while calculating the invoice amount, these payments are again converted into local currency by using the configured exchange rate (SAP NetWeaver>General settings>Currencies)
    For e.g.
    Document
    Amt in USD
    Amt in CAD at posting
    Amt in CAD at invoicing
    300000000
    200
    214
    220
    300000001
    144
    145
    159
    The print document calculates the invoice amount using (220+159) which is not in sync with what we see in FPL9 (214+145). It also causes the invoice to go out of balance as print workbench is picking up the amounts from the table.
    My understanding is that we should be able reconcile the invoice header amount with the account balance in FPL9. In such cases, depending on when the invoice is created (cancel/rebills etc) the amounts will always be out of sync as the exchange rate changes frequently.
    Is there a way this functionality can be controlled from the invoicing side? Or does the PWB code have to be modified to handle this situation.
    Thanks for your time.
    Regards,
    Prashant

    Did you read User Exits For Billing in online help ?
    Regards,
    Raymond

Maybe you are looking for

  • Copy and paste problem in Netcape

    I have a text field on a jsp page, sometimes(not all the time) when I copy and paste text into that field in Netscape it will add spaces in front of the text, it looks like it might be right justifying the text in the textbox. This happens only somet

  • Failure of ACL setting for CIFS share resource on Windows client logined with administrator account

    Hi,   We accounter a puzzle of ACL setting for a CIFS share resource. In our application, we use the administrator account to login a Windows 7 OS which is used as the CIFS client. We can access the share resource by "\\server_ip" on  this CIFS clien

  • Dreamweaver Rollover Issue

    Hi, I usually don't have problems with rollovers since I use Dreamweaver to make them but for some reason this one is stubborn and won't work?? The print page one? http://www.southbeachgroup.com/maps.html Anyone know what's wrong? Thanks, Allie

  • Error installing on windows 8.1

    What version works with 8.1?

  • Show user details in an iview

    Hi, Is there an iview that shows the user details of the currently logged on user? I know the profile iview which is available in the context menu of a user. I'm looking for such an iview, but the difference is that I want to show it on the homepage,