Validation for Exchange Rate

Hi Experts,
I am trying to create a validation with an user exit.
I have enhanced RGGBR000 to compare for translation date in BKPF to that of TCURR.
Problem I am facing is, I dont know how to put U100 user exit as check and rule in GGB0.
How can I do that?
Reagrds,
PS

Read first sap online documentation or customizing documentation (Financial Accounting, Financial Accounting Global Settings, Document, Line Item /or/ Document Header, Define Validations for Posting - aka OB28)
Alternative : don't use RGGBR000 but copy it to an include in your namespace (Zxxx) and read the comments in the source.
At  least: Add some lines in FORM GET_EXIT_TITLES similar to add information on your exit that will be availabnle in OB28 and add your FORM at end of incmude) all is written in comment of RGGBR000 source.
Regards,
Raymond

Similar Messages

  • Additional line item for Exchange rate gain / loss

    HI,
    We ahve three currency as Main currency (INR), group currency (INR) and Hard currency (USD).
    When we pay to vendor or received from customer, system generate additional line item for Exchange rate gain / loss with Rs. Zero . But transaction is in INR. But it has value in USD as USD 0.01.
    Please suggest.
    Regards,
    Harshal

    Hi,
    I got your point.
    Its a standard behaviour as part of parerral valuation with addtional local currency.
    Please make sure that the below are set in your system.
    1) in OB22, for your company code, for the HARD CURRENCY--The source curr must be Translation taking first local currency as a basis
    2) For every foriegn currency you use, you maintain the exch rates in OB08 with Foriegn Currency 2 Local Currency combination always. And at the same time make sure that there is no opposite combination rates for the same.
    (Like 1 USD = 50 INR...1 GBP = 80 INR....1 EUR = 60 INR only)
    These may avoid most of the cases where 0.00 LC value lines during clearing.
    Regards
    Srinu

  • Conversion factor missing for Exchange rate type BE

    Dear Friends,
    I am getting error while doing GR as " Conversion factor missing for exchange rate type INR TO USD"
    waiting for your advice.
    Thanks

    Hi
    In OBBS maintain the translation ratios between USD & INR and in OB08 enter the exchange rate for this pair of currencies
    Anil

  • Correct setting for exchange rates differences

    Hey SAP B1 experts,
    I have a problem with automatic generated exchange rates differences in B1.
    Situation:
    - I inserted all correct general ledgers in the g/l account determinations.
    - The seeting in the item masterdata for "set g/l accounts by" is switched to warehouses.
    - In the accounting setting in warehouses I inserted the  p&l general ledger for exchange rates differences.
    - I create a case which includes a exchnage rate difference.
    - For the automatic generated entry the system use the general ledger which is inserted in the setting for "variance account" from the warehouse settings.
    Is there any other general setting which is response for the using of the general ledgers for exchange rate differences?
    Help!!
    Regards
    Thomas Bartels

    Hey Shanker,
    thank you for your realy quick answer.
    In administration -> setup -> inventory -> warehouses I inserted  the correct p&l account for the exchange rate differences in the seeting field "exchange rate differences", but the system don't use this setting. In my test case the system use the account from "variance account".
    My questions are on the one hand why and on the other hand is there an other setting for using the correct account setting.
    Regards
    Thomas

  • Settings for exchange rate gain/loss

    In our config, for exchange rate gain /loss between ex rate in bill of lading and ex rate of actual payment , system passes two entries at the time of clearing advance and invoice in f-44. One entry is for gain and other for loss , net effect of the entries is either gain or loss . We wish to change the settings so that syatem shall pass only one entry be it gain or loss. How to achieve this??

    Dear,
    in my opinion the issue You're facing is due to the split activation for exchange rate.
    Usually due to different account assignment in open item, the exchange
    rate difference items are split. Check the table V_FAGL_SPLIT_FL2.
    I hope this helps.
    Mauri

  • Table-name for Exchange rates?

    Anyone know the name for the table used to maintained the exchange rate?

    Hi,
    Table for exchange rates is TCURR.
    Reward points, if useful.
    Regards,
    Nitin

  • Currency Conversion for Exchange rate type "AS02"

    Hi Experts,
    I am gonna post the most challenging problem (regarding currency conversion) I ever faced in my 1 year of BW Carrier.Kindly provide a solution.
    There are three types of currency to be used in the query for Key Figure 0NET_VALUE (so total 3 Key Figures to be created)
       1.Document currency (may be any currency)
       2.Local Currency (must be EURO)
       3.Global Currency (must be USD)
    From Document currency to Local Currency(EURO) we are using Exchange rate Type "M" (in Conversion Type created in Trans RRC1) [There is no problem in this conversion]
    Problem starts now--->
    From Local Currency(EURO) to Global Currency(USD) we have to use Exchange rate type "AS02" (in conversion type to be created in RRC1)
    but there is a Business requirement  that currency rate should be as per the last day of the entered period;and this logic should work for the range of periods also.
    Example :
    we are executing query for the period 006/2006 (posting Period)
    Last day of this period is 06/30/2006,
    Currency rate would be as per 06/30/2006
    And this currency rate should be same throughout the period 006/2006 in query
    The example was for single period,but logic must be incorporated for the range of the periods.

    Hi..
    There is no corresponding source key figure in the InfoSource for the target key figureof the InfoCube.
    a. A source key figure of the same type can be assigned to the target key figure
    (for example, sales revenue instead of sales quantity revenue).
    If the currencies of both of the key figures are the same, no currency
    translation can take place.
    If the currencies are different, a translation can take place either using a
    currency translation type or by simply assigning a currency.
    The following table provides an overview of possible combinations with different
    currencies in the source and target key figures:
    if Source key figure currency  is fixed , Target key figure currency is variable  then Currency translation (CT)  No CT
    if Source key figure currency  is fixed , Target key figure currency is fixed  then Currency translation (CT)   CT
    if Source key figure currency  is variable , Target key figure currency is fixed then Currency translation (CT)   CT
    if Source key figure currency  is variable  , Target key figure currency is variable  then Currency translation (CT)  CT or assignment
    b. If there is no corresponding source key figure of the same type, then you have
    to fill the key figure for the data target from a routine.
    If the target key figure has a fixed currency, no currency translation is
    carried out. This means that if translation is required, you have to execute
    it in the routine.
    If the target key figure has a variable currency, you also have to assign
    a variable source currency to the routine. Using the F4 help you can
    select a currency from the variable currencies in the communication
    structure. You have two options:
    – You can select a variable currency and assign it.
    – You select a currency translation type and a currency into which you
    wish to translate (‘To’ currency).
    The ‘To’ currency is, by default, the target currency if it is included in the
    communication structure.
    Creating a Routine for Currency Translation:
    If you want to translate currencies in the update even though the currency translation is not
    available for one of the above reasons, you can create a routine. Choose Routine, set the
    Unit Calculation in the Routine and choose Create Routine. In the routine editor you get
    the additional return parameter UNIT, the value of which is used to determine the target
    1.  save the query  and it under role
       see to it is in   :  Restricted and calculated key figures --->   properties of k.f
    2. exeute the query
    3. the currency translation --> by target currency  usd  choose  OK
    conversion type :  MEANTODAY Fixed target currency current date (MT)
    4.  Go back to the query definition by chossing chage query ( global definiton)
    5.  in the context menu for % share sales vouume of incoming orders,  choose properties --> formula collision -->  result form this formula choose OK
    Note that -
      your should alos set the currency translation in the  properties for the  two key figures sales voule EUR , choose properties ---> currency  conversion key :  fixed target currency ,  currrent date ( MT) -->  target currency  : American Dollar .  choose   OK
    <b>The translation key is a combination of different parameters that establish how the exchange rate for the translation is executed.
    The parameters that determine the exchange rate are the source and the target currency, the exchange rate type and the time reference for the translation.</b>
    The source currency is determined from the data record or dynamically from the master data of the specified InfoObject (currency attribute)
    The target currency can either be fixed in the translation key or selected at the time of translation.
    You can also use an InfoObject (currency attribute) to determine the target currency.
    The exchange rate type distinguishes exchange rates that are valid in the same time frame next to each other, for example, the bid rate, ask rate or middle rate. The exchange rate types are stored and can be maintained in a central table (TCURV).
    The time reference for the currency translation can be either fixed or variable
    The fixed time reference can either be a fixed key date that is stored in the translation type, or be determined using the system date when executing the currency translation.
    If the time reference is variable, then the point in time for the exchange rate determination comes from the value of a time characteristic (InfoObject). The reference can, for example, be the end or the start of a fiscal year or a calendar year, a period and a month – or even to the exact day. It can also be determined using a customer-specific InfoObject (for example, trading day).
    Currency translation in the BEx
    When selecting a translation key with a fixed target currency     this currency will be added automatically to the query definition
    Also, you can use translation keys selecting their target currency at the time of translation. These can be applied in two different ways:
    Selection of a specific target currency in the query definition (1)
    Entry by variable (2)
    Dynamic translation keys require input from the InfoCube !
    InfoObject value will be read during query execution
    Examples:
    dynamic time reference (p.eg. 0CALDAY)
          time characteristic
    target currency determined by InfoObject (currency attribute)
         characteristic which contains currency in its attribute table
    the corresponding InfoObject has to be part of the InfoCube
    1.Define the currency attribute in the InfoObject maintenance
    The currency attribute has to be a unit InfoObject of type currency
    The unit InfoObject must be an attribute of the characteristic
    The currency attribute should be filled in the master data table of the corresponding InfoObject (manual maintenance or upload via InfoSource)
    2.Enter the InfoObject in the translation key maintenance
    Only InfoObjects with a currency attribute can be used in translation keys (p.eg. 0COMP_CODE)
    At the time of currency translation the value for the source currency / target currency is then derived for every record from the master data table of the specified InfoObject
    All values for a query are translated ad hoc (after having executed the query) using a translation key
    Depending on the translation key a fixed target currency will be used for translation or you will be able to select the target currency
    The ad hoc currency translation offers only restricted functionality (selection of translation key and target currency) compared to the currency translation in the query definition
    Do not forget to create your translation keys before starting your work in the Business Explorer Analyzer
    Example:
    You load the following record to your InfoCube:
    Company Code:                1000
    Amount in Source Currency:      500,-
    Source Currency:                FRF
    Target Currency:               ?
    In the Update rules, you are now using a translation key which derives the target currency from the InfoObject 0COMP_CODE. During the Update Process the target currency will then be read for Company Code 1000 from the master date table of 0COMP_CODE.
    With the currency translation in the Business Explorer, the source currency can currently only be determined from the data record.
    Only translation keys with a fixed exchange rate type can be used in the BEx
    Translation keys with a dynamic time reference (from an InfoObject) can only be used in the query definition. It is not possible to fill the InfoObject by a variable !
    Translation keys getting their target currency from a currency attribute can only be selected in the query definition
    When getting the dynamic reference from an InfoObject (p.eg. 0CALDAY) the currency translation will apply to each record read from the database. That means it will use the date in this record for the currency translation.
    When using a variable you will restrict the output of your query to a certain amount of data. For example, you would translate all invoices of March 11 with the translation date March 11
    This means, the requirement “show me all invoices in my cube in group currency, conversion date: 14.07.2001” could not be solved by a variable input for 0CALDAY
    I hope this would help...
    with regards,
    hari

  • Validity of exchange rates are not considered in APO DP planning books

    Dear SAP Gurus
    There are couple of posts on this topic without any conclusive reply and so I am posting this again.
    We plan and manage data in multiple currencies and wish to maintain the same in APO DP. We have defined an exchange rate type in the planning area  which is used for planning purposes. Please note that we have defined only one planning area  for all global products hence data is stored in one currency only.Exchange rates between different currencies for this exchange rate type are maintained in ECC and then transferred to APO via RSA1 using standard functionality. While exchange rates are maintained with validity (valid from date) in this table, APO DP planning books only consider latest exchange rates. This behaviour changes the data in the planning book every time there is a change in the exchange rates and is a complete nonsense.
    I believe there is a macro function CURR_CONV_FACTOR() which can be used to bring exchange rates as key figures in the planning book based on validity but given that this macro works only between 2 exchange rates and we use 10 different currencies, its not feasible to use this macro function for all combinations.
    Is there any other way to have exchange rates based on validity ? Does SAP has any guidelines / best practice on how to handle multiple currency scenarios in DP.
    We are on APO V5.1.
    Thanks
    Zorba

    Dear Nitish
    Thanks for the message.
    Unfortunately your observation is not correct. If you change an exchange rate with future validity,
    currency data in the entire horizon (past and future) adopts to that exchange rate.
    It doesn't matter whether KF is ready for input or not as data is stored in any one currency only in PA and conversion happen only when you change the currency in the planning book (column 0)
    Do some more testing and you will notice the above behaviour.
    btw, which version of SCM are you on ?
    Cheers
    Zorba, the Budha

  • User exit for Exchange rate in PO (ME22n) of Delivery/invoice Tab

    Hi SDN,
    We are using 4.6c. I wanna make the FIELD "Exchange rate" in Purchase Order (Tx: ME22n) of Delivery/invoice Tab into display mode. So can any one tell the USER EXIT i have to use to make SCREEN-INPUT = 0 for this screen field, MEPO1226-WKURS.
    Thanks in Advance.
    Regards
    Basha

    Transaction Code - ME22N                    Change Purchase Order
    Exit Name           Description
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    No of Exits:         35
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Default setting for Exchange rate ..?

    Hi All
    Can anybody give some inputs , how to make exchange rate fixed tick mark in Import PO as default setting .
    Any configuration part is there to do this settings in MM-IMG.
    Expalin me step by step procedures to make as default as exchange rate fixed in import PO.
    Thanks
    sap-mm

    Hi ,
    I don't think there is configuration setting.
    You may try with a user exit . Consult your ABAP team for the requirement.
    Regards
    Ramesh Ch

  • Default seeting for Exchange rate fixed in PO ..?

    Hi All
    Can anybody give some inputs , how to make exchange rate fixed tick mark in Import PO as default setting .
    Any configuration part is there to do this settings in MM-IMG.
    Thanks
    sap-mm

    it can be made default for user easily by user defaults function in me21n itself and thus there is no such customization in IMG.
    apart from that you can create a screen variant in t-code SHD0 for me21n, where u can default values any screen field
    hope it helps
    regards
    avinash

  • Translation date for exchange rate type 'M'

    Hello friends,
    How do I change the translation date for an exchange rate type, for a particular company code?
    My client wants the translation date for the exchange rate type 'M' to be document date instead of posting date. It is required as per Romanian Law of land.
    Regards,
    Mike

    Mike,
    I assumed your question is for an additional local currency for a company code (this can be changed in OB22).  For the first local currency, the translation date type in OB22 is always set to 3 (Translation Date) and cannot be changed (hence, greyed out).  Following that, in accounting entry transactions (for example FB01), you will see a field (Translation Date) where you can specify a date for which you want the system to fetch exch. rate from the exch. rate table.  In your situation, you will have to enter 'document date' there.
    PS: The reply above by Ravi applies only to tax items' translation, not for all items.  He is basically talking about the indicator that you see in OBY6.

  • ROE for exchange rate type M_CN

    Hello,
    The exchange rate type M_CN has been defined to capture the "Bank of china ROE" and the customer master data is also updated with M_CN.
    However, the accounting posting consider the ROE for Normal posting rate M.
    What could be wrong?
    Regards,
    Swapnali..

    Hello ,
    sorry....Please read the above as the exchange rate is picked from the payer master record. so if it is different payer  then priority is payer master
    secondly the exchnage rate by default is M . you have to click the get exchange rate in sales order to get the correct rate for the M_CN each time for the order
    you could also maybe add a user exit to redetermien the exchange rate each time a sales order is created
    Thanks
    akasha

  • UDF for Exchange Rates and Indexes window

    It would be great to have an additional field in the Exchange Rates and Indexes window for every currency to store string title of the exchange rate table from a national bank. It could be also satisfied by allowing to create an UDF for this window. In Poland this is a tax law requirement.

    Hi,
    Kindly check if your issue relates to Note No. :  [1088683|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1088683] or not.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Sales order takes Translation date for exchange rate calculation

    Hi
    I am creating the debit memo request via DP91 with reference to the contract. In the debit memo request pricing date has been set as current date but transaltion date has set the contract transaltion date.  Debit Memo request document currency is EURO, local currency is GBP and condtion currency is CHF. 
    In this scinerio in order exchange rate has been calculated against the transation date insted of pricing date.
    Can you please advise why the system behaving like this.
    Thanks & regards,
    Siva.

    Mike,
    I assumed your question is for an additional local currency for a company code (this can be changed in OB22).  For the first local currency, the translation date type in OB22 is always set to 3 (Translation Date) and cannot be changed (hence, greyed out).  Following that, in accounting entry transactions (for example FB01), you will see a field (Translation Date) where you can specify a date for which you want the system to fetch exch. rate from the exch. rate table.  In your situation, you will have to enter 'document date' there.
    PS: The reply above by Ravi applies only to tax items' translation, not for all items.  He is basically talking about the indicator that you see in OBY6.

Maybe you are looking for

  • Goods Receipt Report With 101 movement type using bapi_goodsmvt_create

    Dear Abapers,         i am getting some problem, i got requirement like Goods Receipt Report with 101 movement type using bapi_goodsmvt_create and data should upload through excel sheet. still facing problems, i have searched sdn forum n sdn code als

  • Windows 8.1 will not install the driver for Officejet 6310 All-in-One

    Have downloaded the driver from the HP website, but it will not install. The download wizard "detected a problem with the driver software" but did not say how to resolve it. The option to download the software was still available, so I did that anywa

  • Question about OAS Installation!

    Hi,everybody: I encounted a problem when I intended to install OAS4.0 to Solaris Server2.7. The problem is when I tried to execute that "runInstaller",failed.And the error message is :"The JAVA RunTime Enviroment was not found at bin/jre." And ask me

  • MM:Printing of Purchase Order Ammendment

    Dear Gurus, Plz tell me the configuration setting for Printing the PO ammendment, Rgds, Vinay Parne

  • Launchd applications not automatically starting at login

    In the last couple of months I've noticed strange behaviour during startup/login wherein certain applications aren't automatically starting. In particular: - Evernote Helper - Mint QuickView - Growl - Possibly more, 1Password Helper maybe? Not sure E