Changing TCURR

Hi all,
I've got a Problem with the TCURR.
I want to change the exchange rates by a maintain view.
When I change a rate over the maintain view, I could see the change in the tcurr.
But when I wants to use the new rate in a BW-Query, I get the old rate.
I only get the new (changed) rate when I push the Save-Button in the TA "OB08".
There I get the message "Data already saved".
Is there a pice of coding what I should put in the maintain view to refresh the TCURR?
I hope you can help me!
Thanks!
EL-Q

Hi!
I had create a new transaction with a maintain view of TCURR.
In this View the User only see and change the exchange-rates of this type wich I selected in the view.
So they can't change the exchange-rates of type 0011 or 0023 for example.
The Problem is, that change which are done over my new maintain view don't work in BW.
I can see the change in the TCURR, but the system use the old rate...
...only when I save second in the Transaktion OB08, the System use the new rate.
But the rate already was in the table...so I think I must refresh the TCURR with a pice o code or something like that...?
EL-Q

Similar Messages

  • Prcc error Currency GBP is not in table TCURR

    Hi,
    While importing the credit card transaction using PRCC for canadian employyees an error message was obtained "Currency GBP is not in table TCURR".
    In the table V_PTRV_CCC i can see that there is the orignal GBP amount and also the excahange rate and converted CAD amount.
    There is no GBP to CAD conversion rate in table TCURR.
    My question is why do we need to have entry in table TCURR when Diner credit card is providing the excahnge rate and converted amount?
    How to fix this problem.
    Thank You!

    Hi,
    To resolve this error, you will need the exchange rate defined in the TCURR table (ob08). Once defined, sap will just validate that it exists in teh system. The real exchange rate will be what Diner provides so the employees will see the correct GBP amount and the exchange rate from Diner (not from what you define in TCURR) and so the reimbursement in CAD will match what Diner is billing the employee.
    Depending on your config, the exchange rate field should be grayed out for credit card charges so that employees cannot change it and so the amounts will always match the billed amount.
    Hope this helps.
    Sal

  • Currency BAM is not in Table TCURR transaction were moved to table PTRV_CCC

    Hi Team,
    we have problem , still we are maintaining currency  BAM not in TCURR table but when we upload the data credit card details
    system shows error message " Currency BAM is not in Table TCURR transaction were moved to table PTRV_CCC for correctionot
    we are maininting Exchaqnge rate like below
    GBP to BAM
    can any one guide me where is the Mistake ,
    thanks
    Ranamka

    Hi,
    To resolve this error, you will need the exchange rate defined in the TCURR table (ob08). Once defined, sap will just validate that it exists in teh system. The real exchange rate will be what Diner provides so the employees will see the correct GBP amount and the exchange rate from Diner (not from what you define in TCURR) and so the reimbursement in CAD will match what Diner is billing the employee.
    Depending on your config, the exchange rate field should be grayed out for credit card charges so that employees cannot change it and so the amounts will always match the billed amount.
    Hope this helps.
    Sal

  • Exchange Rate: Routine to copy  the "Exchange Rate" value From TCURR table

    Dear experts,
    I have created a cutomised Key Figure (ZEXCHRATE) with the 0currency as the unit and this field is included in my ZCOPA_C21 Infocube.
    In the update rule, it was then appointed with a simple routine below;
    (PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: TCURR.
    DATA: IT_TCURT Type TCURR occurs 0 with header line.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CSZCOPA_TPL_IS
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/VZCOPA_C21T-/BIC/ZEXCHRATE
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
      SELECT        * FROM  TCURR appending corresponding fields of table
      IT_TCURT
             WHERE  KURST  = 'M'
             AND    FCURR  = 'USD'
             AND    TCURR  = 'IDR'.
          AND    GDATU  = ___.
          AND    UKURS  = ___.
      Sort IT_TCURT by GDATU descending.
      Loop at IT_TCURT.
        Move IT_TCURT-UKURS to RESULT.
        Exit.
      Endloop.
    result value of the routine
    RESULT = space.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine)
    Which will basically copy all the contents of TCURR into an internal table (IT_TCURT), sort it and then only copy out the UKURS (Exchange rate) data into the customised ZEXCHRATE to get the latest exchange rate value.
    Routine was checked and its fine.
    The problem is, upon checking the update rule, it returned an error message;
    "No Unit maintain for Key Figure Exchange Rate Local".
    Double checked the declaration of ZEXCHRATE, the unit was there.
    My questions;
    1. Is this the correct way of doing it ? I just want to be able to show the exchange rate value in my query (hence the existence of ZEXCHRATE).
    2. Is there an alternative way of achieving the same result ?
    Your help or advice will be greatly appreciated.
    Thanks
    KG

    Hi Sreeni,
    Referring to the " but the conversion from VEF to USD is happening at a rate @0.23256 which is valid till 02/13/2013 only" part in your post, the date given in OB08 for currency rate is valid from and not valid till.  Hence, please check the setting once.  Once you enter the rate from 02/13/2013, the rate is valid till you enter another date later than 02/13/2013.
    Regards,

  • ME22N change Exchange rate type at price condition level

    Hello,
    In ME22N exchange rate type is 'M' by default. When a price condition has currency different than purchase order this 'M' rate is used.
    Now I need to change this 'M' rate but for particular price conditions (and exchange rate type can be different for each price condition). Don't ask me why:-) This requirement comes from business consultant and he knows that there is no user exit for this. I need to modify standard. The problem concerns items price conditions.
    I'm not asking you for a complete solution, but maybe you can give me a hint where to start? What is the function module which perform price calculation (where exchange rate is used) in ME22N.
    I tried to change KOMK-KURST in price condition rule (the procedure which is called to check if price condition has to be calculated or not). It is called for each price condition and I know a name of price condition. But I think the exchange rate type is read at the beginning and stays unchanged even I changed KURST.
    I also found function module READ_EXCHANGE_RATE, which has rate type 'M' by default. I could put my modification in place where it is called. But it is not called when I press button Update price. It is only called when I change the currency of condition and press enter. This FM is called in few places in ME22N but not when I'm refreshing prices. Maybe during a refresh it has already an exchange rate? If so, READ_EXCHANGE_RATE could be a solution, but... It is not called when price conditions are created for the very first time (when I create PO item). Maybe system calls different FM?
    I also tried to use trace (ST05) to see where systems reads from TCURR, but I think some buffers are used and TCURR is not in trace.
    So now I'm stuck hoping for your help.
    Best regards
    Rafal

    Prabhu Peram wrote:
    Hello Rafal ,
    >
    > still im trying to understand your requirements , anyhow if you change/propose new exchange rate at header level , then system wont put type as 'M'.
    >
    The problem is that if I set a new exchange rate type, it will be the same for all price conditions. My requirement is to have different exchange rate type for each price condition. The pricing procedure will loop at each price condition, and depending on condition name I need to have different exchange rate type.
    Example:
    condition XMER is in EUR and must be converted to USD (factor should be 1,234)
    condition XMET is in EUR and must be converted to USD (factor should be 1,567)
    Now the factor is the same for all price conditions.
    I have found interesting table XKOMV. It contains price conditions and there is a field with factor value. Now I will look for the place where this table is filled with data or for the place where I can modify factor values before XKOMV is used in pricing procedure.
    Best regards
    Rafal

  • Changing Exchange rate as per Billing  date

    I have got 1 requirement while creating Billing document through VL01 transaction the user change the header data Billing date as per billing date the exchange rate also will be change automatically.
    Enhancement : SDVFX008
    Exit Name : SAPLV60B_008.
    Include : ZXVVF008.
    in that the client have 2 marketing place one is india and another is US the if user change the invoice Billing date VBRK-FKDAT as per billing date US$ exchange rate will be change automatically in the field VBRP-KURST. i written code but i did not fetching data in to table in this exchange rate maintained in table TCURR and my code is.
    "" Data : ukurs1 type tcurr-ukurs,
              date(10 )type c.
    if cvbrk-fkdat is not initial .
    select singe ukurs into ukirs1 from tcurr
                  where gdatu = date and
                              tcurr = 'USD'.
      loop at vbrk where vbeln = doc_number.
        clear cvbrp-kursk.
        cvbrp-kurst = ukurs1.
      endloop
    endif.""

    Hai,
    "" Data : ukurs1 type tcurr-ukurs,
    date(10 )type c.
    if cvbrk-fkdat is not initial .
    select singe ukurs into ukirs1 from tcurr
    where gdatu = date and
    tcurr = 'USD'.
    loop at vbrk where vbeln = doc_number.
    clear cvbrp-kursk.
    cvbrp-kurst = ukurs1.
    *MODIFY cvbrp.*
    endloop
    endif.""
    Modify the internal table & check it.
    Regards,
    Sudhakar Rayala
    Edited by: SudhakarRayala on Feb 14, 2010 1:28 PM

  • Indirect rate to be put as Direct rate in TCURR in the past?

    Hi,
    We used to store all the rates as direct from 2001 to 2003 but then after 2003-2014 we started using indirect rates for most of the currencies. What if we put indirect rates instead of the direct rates in TCURR from 2001-2003? I tried to put the indirect rates from 2001-2003 in TCURR(OB08) in the test system  and they appear red, probably because OBBS settings have not been changed.
    What is the impact of changing a direct rate to an indirect rate of the past dates...we are not going to change the current rate from 2003 till 2014.
    Please advise.

    Dear Teejay,
    kindly take a look on Note 783877 - Currency translation: FAQ - especially on part "V. Customizing changes":
    2. What should I consider if I want to change the standard notation from direct to indirect quotation, or vice-versa?
    The system uses the standard notation to decide if it should determine and propose a directly or indirectly quoted exchange rate from the rates stored in TCURR for exchange rate types with a reference currency (table TCURV-BWAER is filled). In spite of this, you can enter a directly or indirectly quoted exchange rate in a posting transaction
    Adjustments are therefore non-critical.
    Best regards,
    Vera

  • Change date  type

    My table is "tcurr"
    and my field is "gdatu" which contains  date but in a different format. I have to change this date format to //---- for posting in a BDC table which only alows //---- format. if i have to use
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL/EXTERNAL' then how to use?
    plz help

    Hi,
    external_date = '2006.12.01'.
    CALL FUNCTION 'KCD_EXCEL_DATE_CONVERT'
    EXPORTING
    EXCEL_DATE = external_date
    DATE_FORMAT = 'JMT' "(T) Day,(M) Month,(J) Year
    IMPORTING
    SAP_DATE = sap_date
    or
    You have to do settings in SU3(T.CODE). In SU3 goto defaults there you find Date Format. try to keep your settings and save it. Your BDC will work.
    aRs

  • Table for exhange rate changed on

    Hi
        Table for exchange rate is TCURR. and where can i find the changes done and changed by.
    what is the table to find the "changed on" and "change
    thanks

    Hi Sameer,
    Pls check in the following tables:
    SE16n_cd_key and se16n_cd_data
    You can find the required info. in the above mentioned tables.
    Regards,
    Mohan.

  • "valid from" date field in TCURR

    Hi All,
    I was looking out the Valid from field in TCURR table but couldn't figure out the format of the way the dates are stored in SAP for this field. Here is how they looked:
    Valid from
    80039898
    80039898
    80039898
    79929778
    I tried to change the format in excel after downloading the table but that didn't help much.
    All answers will be duly rewarded with points.
    Thanks,
    N

    Hi Nandita,
    Dear Nandita,
    The dates are just stored as "inverted dates"
    This is even implemented as pure ABAP statements:
    CONVERT date to inverted date ... and
    CONVERT inverted date to date.
    See the documentation on these keywords. It is just the 9er complement of the real date, example from your question ( 80039898):
    99999999
    -19960101
    80039898 => value for GDATU.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • User-Exit to change/Calculate the Exchange Rate

    Hi ALL,
                 I am looking for an user-exit that can be used to change the Exchange Rate during the billing cycle. I want to claculate the exchange rate based on the translation date (BKPF-WWERT).
    BR,
    Tanmoy

    Hi ALL,
                This is a very tricky issue.
    The table BKPF has a field called WWERT (Translation Date). Now we want to calculate the Exchange rate based on the translation date. The table BSET has two fieds LWSTE (Tax Amount in Country Currency) &
    LWBAS (Tax Base in Country Currency)  and they must get updated with correct values based on the translation date, but thats not happening as the exchange rate is calculated based on the posting date/billing date. The exchange rate is determined from the TCURR table but its taking the incorrect Exchange rate.  I need to find out the way so that I can correct it.
    BR
    Tanmoy

  • Change log of posting period,exchange rate.

    Hi,
    I want to find out change log that is who has changed ,when it is changed for following.
    1) Posting period in MM  through transaction MMPV 
    2) Through transaction OB52 that in FI  
    3) Change in Exchange rate that is T code OB08
    Can any one tell me how to find the same.
    Thanks and regards
    SAP learner.

    Hi
    Thanks for feedback.I have chanegd one currency in ob08 and tried to search log by entering table as Tcurr,then todays date on which data was changed ,evaluation for -tables.On output could not get log of changes made by me.Is their any setting required to have history.Can please tell procedure.For posting period what will be selection data.
    Regards
    SAP Learner

  • ECM: Currency Exchange Rate - Rate Type in TCURR

    Does anyone know if the Rate Type that ECM uses to do currency conversions in ECM can be changed?
    Standard ECM functionality uses rate type "M" from TCURR, my client would like to use rate type "P" from table TCURR.
    Thanks
    Tony

    The exchange rate type 'M' is hardcoded in the function call  'HR_ECM_CONVERT_CURRENCY'.  I don't think there is an option to change the rate type without  modifying SAP code.
    function hr_ecm_convert_currency.
    *"*"Local interface:
    *"  IMPORTING
    *"     VALUE(OLD_AMOUNT) TYPE  P
    *"     REFERENCE(OLD_CURRE) TYPE  WAERS
    *"     REFERENCE(NEW_CURRE) TYPE  WAERS
    *"     REFERENCE(CONVERSION_DATE) TYPE  DATUM
    *"     REFERENCE(MESSAGE_HANDLER) TYPE REF TO  IF_HRPA_MESSAGE_HANDLER
    *"  EXPORTING
    *"     VALUE(NEW_AMOUNT) TYPE  P
    *"     REFERENCE(IS_OK) TYPE  BOOLE_D
      data: char_date(10) type c.
      is_ok = true.
      clear new_amount.
      check not old_amount is initial.
      if old_curre = new_curre.
        new_amount = old_amount.
        exit.
      endif.
      call function 'CONVERT_TO_LOCAL_CURRENCY'
        exporting
          date             = conversion_date
          foreign_amount   = old_amount
          foreign_currency = old_curre
          local_currency   = new_curre
          type_of_rate     = 'M'  "<---- hardcoded here
        importing
          local_amount     = new_amount
        exceptions
          no_rate_found    = 1
          overflow         = 2
          no_factors_found = 3
          no_spread_found  = 4
          others           = 5.
      if sy-subrc <> 0.
        is_ok = false.
        write conversion_date to char_date.
        call function 'HR_ECM_ADD_MESSAGE'
          exporting
            message_handler = message_handler
            msgty           = error_msg
            msgid           = hrecm00service
            msgno           = '006'
            msgv1           = old_curre
            msgv2           = new_curre
            msgv3           = char_date.
        exit.
      endif.
    endfunction.
    ~Suresh

  • BADI for changing fields during Creation of BP in CRM

    Hello to everyone,
      I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.

    Hi
    If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
    You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
    Cheers
    Dom

  • How to restrict manual changing of free goods in sales order

    Hi ,
    Goodmorning ,
    We have some requirement : In sales order free goods quantity determination by system  should not be allowed to change manually , where can we do this ?
    Looking for your inputs
    Thanks and regards
    Venkat

    As per SAP Standard, when the main Item quantity is changed, the Free Goods are redetermined. In this case any manual changes to Free Goods Quantities are lost.
    But your requirement is for restricting the Chages of the Quantity of Free Goods Correct?
    I believe there is no SAP standard solution for this. You will have to apply a User Exit, which will check the Item category of each LIne item & if it is free goods (TANN) then changes are not permitted.
    Hope this helps.
    Thanks,
    Jignesh Mehta

Maybe you are looking for

  • How to query a range of dates?

    I have a tables containing holiday data such as the sites they visit and the dates they depart. I need a query that only shows the holidays that depart in the June-2011. I have got it to work for specific dates e.g ='06-02-2011'. But if i try and do

  • Regarding Date Format in Scripts

    Hi i'm modifying sales order from. In rvorder01 for i'm getting sale order number and date from &VBDKA-VBELN& / &VBDKA-AUDAT& fields but when i'm printing date (VBDKA-AUDAT) it is printing as 23.09.2007 but my requirement is to print the date in 23/0

  • How to edit larch files (system.sqf) [Solved]

    (first sorry for my english ) hi, i am using larch is great but in the past i used linux-live with slackware and in linux-live you can edit "linux-live files" doing: mo2dir system.mo /livecd-tmp/system/ then you touch everything you want and then reb

  • How can i find out how many users can login as sysdba using password file

    can any one please tell me how can i find out how many users can login as sysdba using password file please reply asif

  • Disable F4 function on ALV grid row

    Hello, I have an ALV and I need to disable the F4 OR cancel event ONF4 for a cell, BUT ONLY in the last row. Is it possible? I've searched a lot, but I didn't found anything that help me. Could you help me? Thanks, Kleber