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

Similar Messages

  • Change exchange rate type

    Hi,
    How can I change exchange rate type for posting principle flow in case of fixed term deposit. System by default takes M type. I want to change it to S type.Define  I have already changed exchange rate type in calculation indicator and Company Code Additional Data but it doesn't work.
    Thanks

    Hi,
    By default the exchange rate type M will only be picked.  The setting you make under calculation indicator is only for securities and loans area.
    For you requirement, pls check the note 450171 and see the appropriate place where you have to do the modification.
    Regards,
    Ravi

  • Where we assign Exchange rate type at company code level,

    Dear All,
    Where we assign Exchange rate type at company code level, In 0BA7 we assign by Document type wise and OB22 will assign by controlling area wise , but we are not maintain Controlling area, exactly where we assign , and how it will pick at the time of PO creation ,
    Thanks in advance
    Vijay

    Hi,
    In OB22 we assign Exchange rate type against company code and not against controlling area .
    Regards,
    Shayam

  • How to change exchange rate type for specific pricing condition type

    Hello every one,
    I have a requirement for billing ie VF01.
    currently  all the exchange rate are being calculated with exchange rate type 'M' by default.
    but now client want it should calculate exchange rate with type 'E' for two pricing condition type for all others it should calculate with type 'M'
    Please any body can help me with the exit and code which i can use.
    I have checked exits SDVFX008.
    but how to change exchange rate with type 'E' only for two conditions.
    as changing exchange rate at document header will change exchange rate for all condition type.

    You need to assign KOMK-KURST = 'E', for those two condition types. If it had been item number specific, you could have used USEREXIT_PRICING_PREPARE_TKOMK(RV60AFZZ).
    Do one thing, put a breakpoint on FM 'PRICING' and then do selective runtime analysis.
    Check whether any user exit/BADI/ explicit enhancement are available when condition types are processed in a loop. If nothing is available, try implicit enhancement.
    Link to refer for selective runtime analysis - Runtime Analysis for VOFM
    Also try with VOFM requirements ( not sure whether changing KOMK-KURST is permissable in requirement as normally  we only set sy-subrc values to suppress/allow condition types ). Don't forget to assign requirements against condition types in pricing procedure.

  • Using Diffrent Exchange rate Type for Payroll

    Hi All experts,
    We wish to use a different exchange rate type for Payroll currency conversion. As we all know that the Payroll driver uses the currency coversion rate M and is hardcoded in the standard Programmes.
    Now please suggest me whether it is possible in any means to use different currency conversion rate for Payroll?
    Also we have explored the Global payroll, but the same has been not yet released for all customers, can I use it as it provides with the option of choosing exchange rate type on a particular date and have standard excahnge protection IT.
    Awaiting guidance from u all....
    Thanks in advance
    Regards
    learner

    Hi,
    No i want system to pick diffrent exchange rate so i want to change exchange rate type for 1st Local Currency.
    But that area is greyed out. Is there any system setting where i can maintain diffrent Exchange rate type for 1st Local Currency instead of "M". or is there any other way out that system will pick up diffrent exchange rate.
    Problem is that two entities are operating in different market having same local currency but conversion rate for Foreign currency will be diffrent e.g. Local Currency EUR Exchange rate between EUR -USD in France 1.20 and Exchange rate between EUR-USD in Germany 1.25.
    Is there any wayout to deal with such situation.
    Please suggest.
    Regards,
    Manish

  • Diffrent Exchange rate type for 1st Local Currency

    Hello,
    I have following problem:
    E.g.
    One company code in Germany having Local Currency as EUR and Another Company Code in France having Same Local Currency as EUR.
    If i am posting transaction say on 12/09/2008 in USD for both company code and Exchange rate in Two Countries are as follows:
    Germany  -EUR to USD -1.25 on -12/09/2008 EXRTTY: M
    France     -EUR to USD -1.50 on -12/09/2008 EXRTTY: M
    By default system picks up "M" exhchange Rate Type [EXRTTY]. And we cannot change exchange rate type for Currency "10" Local Currency.
    Please help me how take care of such situation.
    Regards,
    Manish

    Hi,
    No i want system to pick diffrent exchange rate so i want to change exchange rate type for 1st Local Currency.
    But that area is greyed out. Is there any system setting where i can maintain diffrent Exchange rate type for 1st Local Currency instead of "M". or is there any other way out that system will pick up diffrent exchange rate.
    Problem is that two entities are operating in different market having same local currency but conversion rate for Foreign currency will be diffrent e.g. Local Currency EUR Exchange rate between EUR -USD in France 1.20 and Exchange rate between EUR-USD in Germany 1.25.
    Is there any wayout to deal with such situation.
    Please suggest.
    Regards,
    Manish

  • Exchange Rate type B in invoice

    Hi Experts
    I have configured for the exchange rate type to pick at the invoice for billing date. The customer master has exchange rate type as B. The sale order also has the exchange rate B from OB08. But when I create the invoice it shows as customer exchange rate as B but picks the value for exchange rate type M in header level. At item level it is copying from sale order exchange rate.
    Please let me know if I have missed any configuration so that the exchange rate B is picked in invoice

    Have a look at the following note:-
    Note 22781 - Exchange rate in accounting, exchange rate type
    G. Lakshmipathi

  • Is there a way to fix the exchange rate of PO item condition type ?

    Hello all,
    We have an agreed selling price in RMB from the supplier and the export rate(RMB to USD) is given by them according to delivery date. But we pay in USD.   Thus PO header is USD and using M rate but  PO price condition type in PO item  is RMB -> then convert to USD and sum up into gross price.  We want to control the way RMB is converted to USD in the item level.
    e.g.  PO order currency is USD, PO header exchange rate is a fixed rate input by user
            (hedge rate USD -> Local company currency)
    PO item 1      agreed PO price is 100 RMB -> PO item condition's rate is 100 RMB per pc  
                         -> export rate RMB to USD fixed at 8 -> 100 / 8  USD
    PO item 2      agreed PO price is 200 RMB  -> PO item condition's rate is  200 RMB per pc
                          at export rate -> 200 / 8  USD
    Total PO  value in USD =  300 RMB / 8      (we don't want it to convert 300 RMB using M rate)
    Appreciate if anyone has a solution for this similar case.

    KiltedTim wrote:
    The only way to do so and preserve your warranty is a replacement from Apple. US$199 without AppleCare+, US$49 with. If it doesn't affect the functionality, though, they may not give you that option.
    It's not that big of a deal. I'm just seeing if anyone knows how to bend it back straight from experience or imagination.

  • Implications of change of Exchange Rate Type from P to M in Version in CO

    Hi SAP Experts,
    We have a requirement to change the exchange rate type in Versions. In fact, exchange rate type P has been configured in Version 0. This version is being used in Costing Variant PPC1. Price updations are being made with this costing variant. Costing Variant PPC2 is being used for internal evaluations. No price updations have been done using this costing variant.
    Client wants exchange rate type M in a new version to use in costing variant PPC2. I have created a new version X and assigned exchange rate type M in new version X. I have assigned the same version in Receiver version of Profitability Analysis and Version for indicators actual.allocations in Orders/Projects tab in T-code OKEQ. In Settings for Operating Concern, I have assigned currency type "Operating Concern currency" and exchange rate type M. Cost center activity price planning (KP26) has been done with new version X for all the cost centers.
    My question is "Will the above changes affect any Plan or Actual values of other versions existed in the system ?"
    Please let me know will there any affect on already planned data in the system with any version.
    Thanks in advance.
    Best Regards,
    K.S.K

    I don't think it's going to impact other versions but you may need to do simple test for other versions. One more thing is versions are controlling area specific and the M or P rates will be applied based on value date you setup in OKEQ configuration.
    You don't need to assign the version for  'Version for ind.act.alloc.'  indicator until unless you use WBS for project planning. By default it will be assigned to zero version.
    Thanks
    BR

  • Use an alternative Exchange Rate Type for activity actual price

    Dear All,
    I try to use an alternative Exchange Rate (not M)  in controlling area version "0", I need to use a custom currency exchange rate like in planned price (here I create a new planned version with exchange rate "N").
    I find same notes and it seems that standard Sap use only Exchange Rate "M" for actual price but I notice that for example in transaction KB21N (activity allocation) system shows in additional info exchange rate "N" (input in version "0").
    Is not possibile to use other Exchange Rate for actual price, activity allocation, for confirmed activity in production order?
    Controlling area has currency type 30 (group currency EUR), this company has MXN.
    Thanks in advance for your support
    Daria

    In KB21N (activity allocation), system uses the exchange rate type you have maintained in controlling area version plan settings (transaction OKEQN). Activity allocation during the month always happen at the planned price maintained in KP26 at the exchange rate specified in plan version. During actual price calculation and revaluation during month end, it calculates actual activity price at (uses M rate to convert to controlling area currency) and revaluates consumption.
    I think you cannot use other exchange rate, see the coding in include LKSPIF00 that is used in KSII where currency type is hard coded to M, if this is plan price calculation it's picking tka07-kurst.
    Best Regards,
    Venkata Ganesh Perumalla

  • Is it possible to change the standard exchange rate type?

    Hi all,
    at the moment, standard setting is that exchange rate type M is associated with the local currency of my company code, is it possible to define a new exchange rate type and assign it to the standard local currency instead of M?
    Thanks!
    Dusko

    Hi
    All postings and Clearing happen thro the Exchange rate type M which is the standard setting and cannot be altered. However for valuation and other purposes, we can have our own types
    Jayaram

  • Exchange rate type & pricing procedure

    Dear all,
    I new defined an exchange rate type and assigned it to a specific customer, but PR00 missing when creating sales order.
    So could you please make me clear about the relationship of exchange rate type and pricing procedure?
    Moreover, How the system determine the exchange rate when creating a sales order? I found it's not the rate in the rate type assigned in customer master data.
    Thanks so much.

    Hi
    There is no relation with Pricing procedure and Exchange rate.
    Check the condition records of PR00 in VK12.
    Exchange Rate determination
    The system proposes a valid exchange rate from the table where exchange
    rates are maintained. You can change the rate in the sales document. If
    you change the exchange rate, the system recalculates prices for the
    entire document. (Info from SAP Help)
    Hope it helps you
    Regards,
    Ramesh
    Edited by: Ramesh on Apr 2, 2009 8:08 AM

  • How to Change Exchange Rate while Preparing Goods Receipt

    Hai all,
    Help in find any user exits or BADI for changing Exchange rate while preparing Goods Receipt for Import Schedule Agreement. Or help me for re-directing system to take exchange rate from different effective date. we will be provided by us.
    Thanks & Regards
    Nagarajan M

    You need to assign KOMK-KURST = 'E', for those two condition types. If it had been item number specific, you could have used USEREXIT_PRICING_PREPARE_TKOMK(RV60AFZZ).
    Do one thing, put a breakpoint on FM 'PRICING' and then do selective runtime analysis.
    Check whether any user exit/BADI/ explicit enhancement are available when condition types are processed in a loop. If nothing is available, try implicit enhancement.
    Link to refer for selective runtime analysis - Runtime Analysis for VOFM
    Also try with VOFM requirements ( not sure whether changing KOMK-KURST is permissable in requirement as normally  we only set sy-subrc values to suppress/allow condition types ). Don't forget to assign requirements against condition types in pricing procedure.

  • Pricing exchange rate type

    Hello All,
    Please expalin the on pricing exchange rate type in copy controls.
    Copy from sales order
    Price exchange rate = Accouting rate
    Exchange rate determination according to billing date
    Exchange rate determination according to pricing date
    Exchange rate determination according to current date
    Exch.rate determination accord.to date of services rendered
    User will change the bill to party during billing based the bill to part currency will be determined at billing header.
    But currency in sales order is INR and if user changes the bill to party(Foreign) currency in billing will be EURO
    and user want to cancel the invoice cannot able to cancel because currency from sales order to billing is different.
    How can we fix the issue. Can we use any of the above mentioned pricing exchange rate types to fix the issue.
    Best regards,
    ramesh

    Hi
    See SAP Note 22781 - Exchange rate in accounting, exchange rate type, problem C. It explains how to work the data en table TVCPF (data mantained in tcode VTFA). I suggest to set a break point in this coding and debug it to undertand how it works.
    I hope this helps you
    REgards
    Eduardo

  • Pricing Exchange Rate Type in Copy Control VTFL

    Hello,
    We have Pricing Exchange Rate type in the Copy control from Delivery To billing ( VTFL) at item level.
    This Exchange rate type is used for price determination in the billing document. there are several options available for this field.
    A     Copy from sales order
    B     Price exchange rate = Accouting rate
    C     Exchange rate determination according to billing date
    D     Exchange rate determination according to pricing date
    E     Exchange rate determination according to current date
    F     Exch.rate determination accord.to date of services rendered
    Normally the Exchange Rate in the accounting document is determined based on the rate available in the system on the billing date.
    now what is the difference between "B" and "C".
    I could not find any change in the way it processed when i put B or when i put C .
    Does any one know what is the impact on the system if we select B or C.  In what scenarios we use "B" and in what scenarios we use "C"
    Your answers are much appreciated.

    Hi,
    what is the difference between "B" and "C".
    B Price exchange rate = Accouting rate
    This value is used to determine the EXCHANGE RATE based on the Rate maintain in the ACCOUNTING DOCUMENT TYPES in OBA7 Transaction code irrespective of what determined in the ORDER
    C Exchange rate determination according to billing date
    This value determines the EXCHANGE rate based on the Rates maintained  in the Transaction code OB08 and get the values from  the table TCURR based on the BILLING DOCUMENT DATE.
    regards,
    santosh

Maybe you are looking for