SAP Query Exchange Rate from Sales Order

I have created a SAP query which has has a field which converts the sales invoice values in a foreign currency to the local currency using function 'CONVERT_TO_LOCAL_CURRENCY' this uses the rates stored in OB08.
Now we want to change this so that the exchange rate on the actual order line is used(VBAK-WAERK)  instead of the current exchange rate, do you know how I can do this? Do I need to create bespoke function to do this?
thanks
Joe

Hi,
Please do following steps :
IMG --> Sales and Distribution --> Billing à Maintain Copying Control For Billing Documents (VTFL).
Write following logic in include  -  RV60AFZC. In this write code in exit USEREXIT_FILL_VBRK_VBRP
if vbrp-kursk <> vbrk-kurrf.
vbrk-kurrf = vbrp-kursk  .
vbrk-kurrf_dat = vbrp-kursk_dat.
endif.
Maintain Exchange rate type in XD01 - Sales data - in Sales tab maintain new Exch. Rate Type.
Please check whether after doing above steps your issue gets resolved.
Regards,
Tejas

Similar Messages

  • Updation of Exchange rates from Sales order to Billng

    Hi Gurus,
    I created one sales order, now iam want to generate invoice with reference to this order.
    when i tried to create an invoice, in the invoice the system is taking the exhange rate of the order creation date for perticuler currency,  So i want to that system has to pick up the current date exchange rate.
    Follow the Example:
    I created a sales order on 01.02.08, on this date the exchange rate of US doller is like this
    1 USD = 38.45 INR
    I want to create the invoice on 27.02.08, on this date the exchange rate of US doller is like this
    1 USD = 41.5 INR.
    But when tried to create an invoice the system is picking the price 38.45 INR for 1 USD, but i want the system has to pick the price 41.5 INR for 1 USD in the Invoice.
    How can i solve this problem.
    Cheers,
    Sumith

    Sumith,
    Go into the copy control for Sales doc to billing.
    In the clik on the relvant item category and go to the exchage rate type. In that you can set the exchnge rate to the billing date. Use C for the purpose. You must be having A there because of which it is copying from the sales order.
    This will solve your problem.
    regds
    Jude

  • Spot Exchange Rate on Sales Order + Invoicing

    Dear SAP Gurus,
    We have a scenario wherein Foreign currency sales order or subsequent invoice should be posted with the current exchange rate.  System should always use the current/spot exchange rate, even if the users have entered fixed exchange rates in the sales order in the Sales Order header or Line Item.
    Kindly suggest appropriate solution / customizing
    Regards
    Jayesh.

    Go to VTFL, select the item category for the combination of your delivery type and billing type where you can see a field Exchange rate.  There you have the following options.
    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
    According to your requirement, there you maintain "E"  and save.
    On the other hand, you can try with any of the following user exits.
    a)  EXIT_SAPLV60B_001:
    b)  EXIT_SAPLV60B_002
    thanks
    G. Lakshmipathi

  • RRB- Quantity from Project and rate from sales order

    Hi All,
    I got scenerio in my project where project is having resource related billing. Now ap per the client requirement, we have a sals order and projects. All prjects are software projects. Now my requirement is client is looking for a system there billing can be done at projet and resource level. which means if project is having 50 confirmed hours. In - dp91 one debit memo requiet should be created with 50 hours and rate should come sales order.
    Means if on a project 50 hours has been confirmes than in debit memo  request 50 hours should come from the prject and rate to be billed should come from sales order.
    Kindly suggest.
    Regards
    Abhishek Sinha

    Dear Virendra,Abhinay & Gokul,
    Thanks a lot for giving guidance. As per conversation above i can feel that we can overwrite the rates from project to condition records in SD. Is there any specific condition type made for RRB as my SD consultant never worked on RRB scnerios. Again reconfirming, in my current system at the time of debit memo request sytsem is taking all cost from project for billing but i want that system should take the confirm actual hours from proect and rates to bill them from SD.
    Once again thank a lot for showing interest. Sorry for replying late because of different time zone.
    Regards
    Abhishek Sinha

  • Copying Exchange rate from sales Doc to billing doc

    Hello,
    I have an issue with the update of the exchange rate in the billing document.
    In fact when i create a sales order then the delivery associated. then i change the exchange rate in the sales order.
    When i go to create the billing doc, the exchange rate is not updated in the billing document.
    I guess because it is not defined in the copy rule requirement from Sales doc to delivery, and from delivery to billing doc? can you please confirm if it is the case?
    Thanks
    Regards

    Hi
    First of all check weather exchange rate has been maintained between the currencies from which you are changing (Ex : INR to EUR). If the currency conversion has been maintained then check in VTFL copy control weather PricingExchange rate type field has been maintained or not. If not maintained then maintain the PricingExchange rate type feild as per your requirement and then do the complete cycle again.
    Regards
    Srinath

  • Exchange Rate Issue-Sales order-Accounting Doc

    Dear Gurus,
    There is a issue with currency rate.
    For example;  I create customer order and invoice with using exchange rate :"B"
    But company code is assigned to Currency rate : "M".
    And,    SAP converst amount my local currenct by using "M".
    It must be "B".
    How can I fix this error?
    King Regards,
    Edited by: Fsmehmet on Jun 7, 2011 11:39 AM

    Hi,
    System will convert your currency in the sales documents to the currency maintained in the Company code and sales organization statistics currency.
    To maintain/continue with the currency in your sales order get in touch with a finance person who would be able to help you with the same.
    Regards,
    Amit

  • Exchange rate in sales order

    hello
    the exchange rate maintained in OB08 is 1 usd = 2 XXX ,but while createting sales order i changed it to 1 usd = 3 XXX
    the same value was flown to billing ( 1 usd = 3 XXX ) but when i check my accounting entries and the value of local currency XXX , it has used OB08 values i.e 1 usd = 2 XXX to determine the value in local currency
    it should have taken  1 usd = 3 XXX 
    can any one please suggest why is the sytem taking value from OB08 when the value has been changed
    regards

    I have created sales order with ref to contract no through standard BAPI ,now i am going to create bill with ref to sales order (which i have created through BAPI),while saving the bill it will give me error Update was terminated and in SBWP .i have received mail that contains:
    Transaction.. VF01
    Update key... 4A98C715DA854584E10000000A08351C
    Generated.... 29.08.2009, 16:34:28
    Completed.... 29.08.2009, 16:34:29
    Error Info... M2 815: Error while determ. loc. crcy: exchange rate type M
    After that i have created as sales order without use of BAPI with same contract number ,and after that i have created bill with ref to sales order at that while saving it give me no error
    so pls help me out on this

  • Line item wise exchange rate in sales order and same in billing

    Hi,
    The client requirement is that to have  different exchange rate at line item level in sales order, for multiple sales order, we have different exchange rate in the line items wise,  we do the collective billing through VF04.  System is picking in the billing document, but not in the accounting document.
    The accounting entry should be posted separate exchange rate wise.  How to map the same.
    Can anyone throw light on this issue.?
    Regards,
    Satya

    Go through this thread
    Difference in Billing Exchange rate(VBRP-KURSK) w.r.t OB08
    G. Lakshmipathi

  • Creation of automatic PO from sales order in 3rd party scenario

    hi ,
    we know, as per standard SAP ,  creation of PR from Sales order happens when we save SO. how to create PO automatically from sales order? and where where to put document type for  that PO ? ( in schedule line category we can set document type for PR)

    Hello
    In addition to what Kapil suggested,
    3 - The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO and
    4 - The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record.
    By activating those config you can automatic create PO from PR.
    For that use TCode ME59 to automatically convert the current PR into PO.
    But, you can not automatically generate PO from sales order similar to that of PR.
    Thanks & Regards
    JP

  • Copy Net Value(VBAK-NETWR) from sales order to Delivery VL02N

    Hi all,
    Please can anyone help me with this? When the sales order is saved we need to move the net value to the any field in the delivery.
    Thanks
    Jasmeet

    Hi,
    This is a standard SAP functionality that values from sales order will be copied to billing and not to delivery.
    In fact values from both sales order and delivery are copied to billing.
    If you want to copy that you would need to copy the same in some empty field in the delivery document and that too with some BadI or user exit ZE_SHP_TAB_CUST_HEAD.
    This user exit will create an additional tab in delivery header and you can copy the pricing value from sales order to any field in this tab.Developer can confirm the same.
    Regards
    Karan

  • Payment wizard - copy exchange rate from invoice

    Dear Experts,
    I'm facing a functional issue with the payment wizard.
    my customer runs some (import) purchasing processes with fixed exchange rate from purchase order to outgoing payments.
    As a result, he does not want to get any posting for exchange rate difference in the outgoing payments.
    Generating the outgoing payment with the payment wizard, SBO uses the exchange rate of the day.
    Is there a way to copy the exchange rate from the A/P invoice, or at least to change it somehow ?
    the use of the outgoing payment transaction for manual payment enables to change the exchange rate.
    But my customer needs to use the payment wizard in order to be able to generate the bank files.
    Do you have any suggestion ?
    waiting for your feedback
    Regis

    Hi Regis,
    if you have agreed a price in the foreign currency your BP deals with, why not use this currency in the document flow? The amounts for your BP wwill remain the same throughout the transaction.
    It doesn't really make sense not to capture exchange rate differences for your own books. If, for example you are using Euros & provided a very high value US Dollar quotation some months ago, the exhange rate difference between now & then would be significant. Therefore the automatic FX postings reflect the gain/loss your company makes according to market conditions.
    All the best,
    Kerstin

  • Message appears at time of query results: NO EXCHANGE RATE FROM

    I am executing  query using a new currency translation type  "ZPERAVG". Variable time reference is defined on End of period for 0FISCPER with exchange rate M1 (Monthly Average).  Tested successfully. Purpose is to represent monthly values at differing monthly conversion rates.  When I employ this object in existing queries I am getting informational messages as follow:
    NO EXCHANGE RATE FROM EUR to USD and Date 01/31/2004. This repeats 23 other time for periods to 12/31/2005. My TCURR table does not include these M1 conversions. First period is 01/31/2006. Is there a way around this nuisance message. It will only confuse the user community.
    A second information message also may occur: Error occurred during currency .... however, results appear correct.
    I have no explanation as to why these random messages appear.

    You will have to upate TCURR with monthly average exchange rates for each month starting with January 2004 and going through December 2005, for conversion from Euros to US Dollars. The error being thrown is truly an error because the system is unable to calculate the conversion due to no exchange rate being available for the timeframe.
    Edited by: Dennis Scoville on Sep 18, 2009 4:00 PM

  • Request: "Draw Document Wizard" when copying from Sales Order to A/R Invoic

    Hi Colleagues
    Our clients complain about not being able to choose the exchange rate from the base document when copying the Sales Order to A/R Invoice.
    The "Draw Documents Wizard", where you can choose this option, starts only when you're in the "A/R Invoice" form and copying data from the Sales Order. But "Draw Document Wizard" doesn't start when you're in the Sales Order and copying all its data to an A/R Invoice, and they use only this sequence.
    Is it possible to add the "Draw Documents Wizard" for the "Sales Order -> A/R Invoice" chain in one of the next versions of SAP BusinessOne 2007?
    Thanks!

    Hi,
    is this happening for perticuler user or for all users.?
    check any addon is running ,If yes stop addon and check again this activity.
    Check general authorization too for perticuler user..
    Hope it will help you.
    Regards
    Deepak Tyagi

  • COPY EXCHANGE RATE FROM BASE TO TARGET DOCUMENTS

    After several study and anaylsis based on Note 703028, we conclude this feature is not applicable to our normal practice in Singapore.
    SAP Business One copies the base row Exchange Rate to the target document only if items in the base document are defined with prices in a Foreign Currency which is not set as the System Currency or which is different from the Business Partner's Currency (this is the currency selected in the header of the document for a Multi Currency Business Partner). This prevents a discrepancy between the row total and the document total.
    Since this feature is not desirable in your applications, we would like to feedback to SAP and suggest for improvement. 
    Example
    My Local Currency is SGD, System Currency is EUR, BP Currency is USD.
    Foreign Currency exchange rates:
                        USD                               
    3 Oct 2007    1.4                                    
    4 Oct 2007    1.5 (1 USD = 1.5 SGD)    
    Assuming in Sales Order, BP Currency is USD at exchange rate of 1.4, Document Date 3 Oct 2007.
    Qty     Unit Price    Total Amount (SGD)   
    1        USD1,000    SGD1,400                 
    After copying Sales Order to Invoice on 4 Oct 2007 with BP Currency USD, default exchange rate should be 1 USD = 1.4 SGD
    Qty     Unit Price    Total Amount (SGD)    
    1        USD1,000    SGD1,400                     
    Current system behaviour is not desirable.
    After copying Sales Order to Invoice on 4 Oct 2007 with BP Currency USD, default exchange rate is 1 USD = 1.5 SGD though we choose Copy Exchange rate from Base Document in the Copy Wizard.
    Qty     Unit Price    Total Amount (SGD)    
    1        USD1,000    SGD1,500
    Kedalene Chong

    We have had the same issue.
    The BP pricelist currency is in this case important, not the BP currency.
    The question 'copy exchange rate from base to target document' relates to this currency exchange rate used in the base document to calculate from USD to SGD. If your pricelist is in SGD, then the program will recalculate the target document SGD to the same exchange rate in USD as it was in the base document.
    Because the value of the USD currency has changed, there wil be a different amount on the target document.
    If you donot want a different amount on the target document then the only solution is to make a price list in USD.

  • Revenue from Sales Order to Project / WBS

    Hi,
    I created a sales order and account assigned to a WBS. Sales order was created lets say on 01-Jan-08 and my sales order value is 1000 GBP. my exchange rate at that time is lets say 1 GBP = 1.5 USD. So my revenue to WBS is 1500 USD. Normally the project runs for multiple year. For year 2009 lets say the exchange rate is 1 GBP = 2 USD.
    Is there any way in SAP wher in i can revalute the revenue to project from sales order based on latest rate and reflect it as 2000USD?
    i did try changing the "Pricing Date", "Billing Date" etc in the sales order to see whether the revenue is getting re-valuated, but was not successful.
    Thanks & Regards
    Sreekanth.P.S

    Hi,
    I am okay with the actual revenue. The issue is with respect to my planned revenue. As i mentioned before sales order will be linked to the WBS at one point of time and the project can run for multiple years. So the planned revenue is getting calculated based on the "exchange rate" at the time of sales order creation. But down the line, lets say after two years we may have a entirely different exchange rate and at that point in my CO area currency the value can be different if i can re-valuate my initial SO value. the impact of this is in my revenue recognition during RA.
    So is there any way in SAP where in i can make the system to re-calculate revenue based on latest / current exchange rate.
    Thanks & regards
    Sreekanth.P.S

Maybe you are looking for

  • Problem Installing Virtual PC for XP Mode in Win 7 Pro(64) SP1

    XP Mode has successfully installed, but Virtual PC has not. Installing Virtual PC requires only a Windows Update, so I downloaded the correct file -- Windows6.1-KB958559-x64-RefreshPkg.msu. When I try to install it I get that this update is already i

  • Cannot open check image in bank account

    Hello, I can no longer open my check image on my bank account to view cleared checks. I followed all other options (automatically open, exceptions etc.) I also have lost my yahoo tool bar. I updated my Firefox to 20.0.1 and that solved the problem mo

  • HR Renewal 2.0 on ERP 6.0 EHP7 SPS 02

    Hi All , Environment : ERP 6.0 EHP7 SPS 02 I'm searching for the below packages as per the SAP Note 1881006 - Release Strategy for the ABAP Add-On HR Renewal ,Couldn't find them on market place .Has anybody got this from market place ? I also used MO

  • Span id not identified

    i have the following code <select name="reportType" id="reportType" title="Report Type" onChange="javascript:callHideAuditCatg()" size="1" tabindex="12"> <option value="1">Audit Performed Report</option> <option value="2">Audit Due Report</option> <s

  • How to call RT vi in host vi?

    Please tell how to run Rt vi from host vi as I am acquiring data through shared variables from RT vi in host vi. I am using LabVIEW 2011. Solved! Go to Solution.