Change Translation Date: VBKD-KURRF_DAT or VBRK-KURRF_DAT

Hello,
Couldn't find any note regarding this subject.
Senario:
I canceled an invoice so i could change the payer in the sales order
doc. the original invoice was with 31/01/2008 billing date.
I've created new invoice (billing date 01/03/2008 and pricing date
31/01/2008) but i wanted the translation date to be like in the
original invoice (31/01).
In accounting i could see that the translation date is like the billing
date (01/03/2008). I can't set the billing date in the invoice to 31/01
because the period 01/2008 is alredy closed. This is not a good
situation because there is a difference between the exchange rate in
the invoice and accounting.
Is there a way to modify VBKD-KURRF_DAT online?
Regards,
Oren Matityahu

Hello,
The difference is in the hard currency.
The original Invoice is with billing date 31/01/08
The exchange rate at that date was 1$ = 3.625 LIS
The new invoice went to accounting with 01/03/08 translation date and the exchange rate at that date was 1$ = 3.594 LIS
Regards,
Oren.

Similar Messages

  • How to change translation date in sales order

    Hi would it still be possible to change the translation date in the sales order if delivery document is already created and good issue is already is already posted. Please advise where on the sales order i can change the translation date.
    Thank you

    Dear,
         Please give me path of translation date in sales order. I find but not getting in sales order.
    Sandip

  • FB60 changing Translation date/exch rate

    Hi,
    In FB60 we have the Translation date and exch rate in 'Local currency' tab modifiable.
    However when you change it and press enter it automatically changes back to the original value (which is equal to invoice date and exch rate). So in fact I cannot change it.
    Is there a way how to make translation date and exch rate changable?
    Many thanks,
    Jan

    Hi Jan
    It is the standard behaviour that the translation date is default      
    as the posting date (not the document date).                           
    It is only possible to change this functionality without any change    
    for the logistics invoice verification - ex. MIRO - as explained in note
    574583.                                                               
    For postings directly in FI, the only way should be to update manually 
    the translation date with the document date.                                                                               
    Unfortunately this is the system behaviour.                            
    You should delete the entry derived by previous document date, in      
    order to obtain the new translation date after changing the document   
    date.                                                                  
    Kind Regards
    davide

  • Change translation date

    Hi,
    Do SAP has provided the flexibility to maintain and change currency translation rate other than thr.transaction OB08 in sales cycle.
    i.e. At sales order level.
    2.At billing doc. level.
    We are dealing with  a scenario with 2nd, 3rd local currency,the user should have the flexibility to change the translation rate manually.
    Regards

    Dear Mrunal
    Currency Rate can be changed in sales order either at Header Level or Item Level provided there is no subsequent document to that.
    This change you can monitor by selecting "Environment - Changes" where you have to choose the field "Additional info".
    I dont think, in billing you can change the rate.
    thanks
    G. Lakshmipathi

  • Currency Translation date  change.

    Hi,
    we use multiple currencies .For a  sales organisation EUR currency, 2nd local currency isHUF, 3rd local is CZK. Translation happens on translation date. Invoices can be made  in VF01. 
    These invoices use one important date, called billing date. This date is the key for few things, e.g. postings to FI happens on that, or baseline date calculation. Billing date is normally determine document date, document date determine translation date.
    All these will bring that translation from document currency to 2nd local will happen on billing date. Is it somehow possible to change the logic? Can It somehow be defined  which date should be used for translation? Can  different date be used for translation than billing date?
    Regards

    Hi
    When you creating a order you can set a currency at Sales A. (double click on material).
    It maybe solve your problem.
    Best
    Lukasz

  • Currency translation date fix on the first day of the month

    Dear all,
    is it possible to fixe one translation date per month that every transaction (goods income, purchase order, invoice, salesorder, payment,...) uses this exchange rate for booking?
    The problem is, that this fixed exchange rate should only be valid for one company code in our SAP System. Therefore it is not possible to just change the rates in the SAP table TCURR.
    Thank you very much in advance
    Greetings
    Bernd

    Hi Bernd,
    We have had the same case with CZ and we choose to use alternative exchange rate in OBBS, and then created a new exchange rate type -  but offcause then your company code should be equal to a specific currency.
    Example, when your settings in OBA7 for document type NI points at exchang rate type M, and you have assigned Alternative exchange rate type CZKK for Type M for exchange rates from CZK to XXX, then the document will be booked with the alternative exchange rate.
    Best regards
    Pernille

  • Implications of Changing Posting date of parked document.

    Hi,
    I have changed the posting date, document date & translation date to current period
    of an already parked document in a closed period.
    (e.g) Document parked in month of 28.04.2009(closed period) & i have changed the dates to
           28.05.2009(current period)
    I need to know what are the implications of the changes in dates for (posting date, document date & translation date) induvidually for both the periods(closed & current).
    Thanks
    Kenn

    Hi,
    There is no implications of change the the posting date of parked document because parked documents are not affected in financial.When you post the doucment then it will affect in finance.so there is no problem. You can change the posting date or document date only in a Fiscal year.

  • Local Currency - Translation Date Type

    Hi:
    We are on ECC 6.0 with New GL.
    I wanted to check if we can change the Translation Date Type for 1st local currency (10) from Translation date to document date? There are three options in this field - Posting date, document date and translation date. But when we maintain it (under additional local currencies for a company code), local currency has this grey out and comes default to translation date. Not sure where it is defined that local currency can be translated only based on translation date.
    However for 2nd and 3rd currencies this field is open and allow to choose any date type.
    Please advise.
    Thanks,
    Rahul

    Hello Rahul,
    For the local currency, it is hard-coded in the system to
    choose the translation date as the transalation date (type 3). If you
    change this translation date when you enter a document, the system will
    use this new date. However, if you don't change this, the system will
    always use the posting date as translation date for the local currency.
    hope thic clarifies
    Ray

  • F-03: Need foreign curr translation date = document date, not posting date

    Hi All,
    We need to clear accounts through F-03. If we use a foreign currency (local curreny is PLN), the translation date is set as posting date/clearing date: SAP default behaviour. However, we want the translation date to be document date.
    We cannot change the clearing date in F-03 to document date because, if the document date is in previous period, the posting periods will be closed.
    Can this be accomplised through any standard functionality in T-Code (F-03, F-44)? I couldn't find any.
    Or do we need substitution/user exit for this?
    Thanks for your time!

    Hi This may help you,
    before that I have similar Problem you had in Bank master "Bank USxxxx doesn't exists" in Production,you can reply me from my Business card,in my profile,Thx,
    Note 574583 - MIRO: BADI for value date
    Summary
    Symptom
    In the logistics invoice verification, the system derives the value date (WWERT) from the posting date (BUDAT).However, the derivation should occur from the document date (BLDAT) or the posting date depending on the country key of the company code.
    Edited by: BettyCalhun on Mar 18, 2010 8:33 PM

  • 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.

  • ADF BC : using UI Locale to translate data (Steve M. example 95)

    hi
    In his example 95, Steve Muench suggests an approach to "Change Preferred UI Locale with a Button in the Page".
    I have made some minor modifications to this example, using JDeveloper 10.1.3.3.0, in an attempt to make it work with "translated data".
    (1) I added a bind variable "LanguageBVar" and an attribute "CalculatedTranslatedDnameAttribute" to "DeptView" with this expression:
    nvl(decode(:LanguageBVar, 'en', dname || ' (en)', 'it', dname || ' (it)'), dname || ' (language not supported)')(2) I added this new attribute to the table and the form on TestPage.jspx
    (3) I implemented the executeQuery() method in DeptViewImpl.java like this:
    public class DeptViewImpl extends ViewObjectImpl
         public void executeQuery()
              Locale vLocale = getApplicationModule().getSession().getLocale();
              System.out.println("DeptViewImpl.executeQuery()"
                   + " : getName() = " + getName() + ", vLocale = " + vLocale);
              setLanguageBVar(vLocale.getLanguage());
              super.executeQuery();
    }(4) If I run TestPage.jspx in JDeveloper, my "translated Dname" column shows "translated data" with suffix "(en)".
    (5) If I click on "Italian", all the labels change, but my "translated Dname" column still shows "translated data" with suffix "(en)".
    (6) After that I added a button to execute "DepartmentListIterator" using an "Execute" binding.
    (7) Again, as in (4), I run the page and see the same behaviour and this output on the console:
    DeptViewImpl.executeQuery() : getName() = DeptView, vLocale = en
    DeptViewImpl.executeQuery() : getName() = DepartmentList, vLocale = en(8) Again, as in (5), I click on "Italian" and see the same behaviour (no extra output on the console in this step).
    (9) If I click on the "ExecuteDepartmentListIterator" button, no "translated data" changes on the page, although this line is added on the console:
    DeptViewImpl.executeQuery() : getName() = DepartmentList, vLocale = itThe modified version of this application, as described here, is available at (check README.txt):
    http://verveja.footsteps.be/~verveja/files/oracle/ChangeLanguageInTheUIForData-v0.01.zip
    question:
    How can I make this application show "translated data" when changing the UI Locale, as in step (5).
    However it is important that a solution for this would be as "non-intrusive" as possible because I would like to be able to use it in an application that has lots of translated data and where the user should be able to change his preferred language on each page.
    many thanks
    Jan Vervecken

    Thanks for your reply Steve.
    In your updated testbindlocale.zip example, the buttons "Italian" and "Inglese" behave as expected. The "TranslatedDname" column has the correct translated data.
    So, I modified the example in ChangeLanguageInTheUIForData-v0.04.zip, in a similar way an moved up the call to "super.prepareRender(lfContext)" before the check on the Iterator Bindings in the current Binding Container, like this:
      public void prepareRender(LifecycleContext lfContext) {
        App app = (App)ELHelper.get("#{App}");
        Locale preferredLocale = app.getPreferredLocale();
        UIViewRoot uiViewRoot = FacesContext.getCurrentInstance().getViewRoot();
        System.out.println("CustomFacesPageLifecycle.prepareRender()"
          + " : preferredLocale = " + preferredLocale
          + ", uiViewRoot.getLocale() = " + uiViewRoot.getLocale());
        boolean changedLocale = false;
        if (preferredLocale == null) {
            app.setPreferredLocale(uiViewRoot.getLocale());
        } else {
            if (preferredLocale != uiViewRoot.getLocale()) {
    //        if (!preferredLocale.equals(uiViewRoot.getLocale())) {
                System.out.println("CustomFacesPageLifecycle.prepareRender()"
                  + " : preferredLocale = " + preferredLocale
                  + ", uiViewRoot.getLocale() = " + uiViewRoot.getLocale()
                  + " : different so the Locale has changed");
                uiViewRoot.setLocale(preferredLocale);
                changedLocale = true;
        super.prepareRender(lfContext);
              if (changedLocale)
                   DCBindingContainer vDCBindingContainer =
                        (DCBindingContainer)lfContext.getBindingContainer();
                   ArrayList vIterBindingList = vDCBindingContainer.getIterBindingList();
                   for (Object vIterObject : vIterBindingList)
                        JUIteratorBinding vJUIteratorBinding =
                             (JUIteratorBinding)vIterObject;
                        ViewObject vViewObject = vJUIteratorBinding.getViewObject();
    //                    if (vViewObject.getVariableManager().findVariable("LanguageBVar") != null)
                        if (vViewObject instanceof SessionLocaleBasedVO)
                             System.out.println("CustomFacesPageLifecycle.prepareRender()"
                                  + " : calling executeQuery()"
                                  + " : preferredLocale = " + preferredLocale
                                  + ", uiViewRoot.getLocale() = " + uiViewRoot.getLocale());
                             vViewObject.executeQuery();
      }(h1) If I run TestPage.jspx, my "translated Dname" column shows "translated data" with suffix "(en)" and I see this output on the console:
    DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
    DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en : different so the Locale has changed
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
    DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
    DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = en(h2) If I click on "Italian", my "translated Dname" column shows "translated data" with suffix "(it)" and I see this output added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en : different so the Locale has changed
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = it, uiViewRoot.getLocale() = it
    DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = it
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = it, uiViewRoot.getLocale() = it
    DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = it(h3) If I click on "Inglese", my "translated Dname" column shows "translated data" with suffix "(en)" and I see this output added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = it
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = it : different so the Locale has changed
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
    DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
    DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = enSo, this seems to behave similar to your updated testbindlocale.zip example.
    about determining whether the Locale has changed
    Consider this scenario ...
    (i1) Run TestPage.jspx and the "translated Dname" column shows "translated data" with suffix "(en)", the same as in (h1).
    (i2) Select a different row in the table, and click the "Edit Number on AnotherPage" button. This output is added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en : different so the Locale has changed
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
    DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en(i3) Without entering an "Example Number ...", just click the "Update and Back to TestPage" button. This output is added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
    oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[20 ] ... and the "JBO-35007: Row currency ..." message also shows up on the page.
    (i4) Click the "Update and Back to TestPage" button again to return to the "start page".
    If I try a scenario similar to "i1 to i4" where I do provide an "Example Number ..." in step (i3), the first row gets updated instead of the one I selected in step (i2).
    To imporve this behaviour I replaced this line ...
            if (preferredLocale != uiViewRoot.getLocale()) {... with this line ...
            if (!preferredLocale.equals(uiViewRoot.getLocale())) {And after that, a scenario like "i1 to i4" behaves like this:
    (j1) Run TestPage.jspx and the "translated Dname" column shows "translated data" with suffix "(en)", the same as in (h1) and (i1). But only this output is added on the console:
    DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
    DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en(j2) Select a different row in the table, and click the "Edit Number on AnotherPage" button. This output is added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en(j3) Without entering an "Example Number ...", just click the "Update and Back to TestPage" button. This output is added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en ... and no message on the page, just returning to the "start page".
    If I try a scenario similar to "j1 to j3" where I do provide an "Example Number ..." in step (j3), the correct row is updated.
    But, if I precede a scenario like "j1 to j3" with an explicit language change, things go wrong again.
    (k1) Run TestPage.jspx and the "translated Dname" column shows "translated data" with suffix "(en)", the same as in (h1), (i1) and (j1).
    (k2) Click on "Italian", the "translated Dname" column shows "translated data" with suffix "(it)", similar to step (h2).
    (k3) Select a different row in the table, and click the "Aggiorna Numero con AnotherPage" button. This output is added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = it
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en : different so the Locale has changed
    CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = it, uiViewRoot.getLocale() = it
    DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = it(k4) Without entering an "Campo Numerico ...", just click the "Aggiorna e Ritorna a TestPage" button. This output is added on the console:
    CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = it
    oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: JBO-35007: La valuta della riga è cambiata da quando è stata visualizzata linterfaccia utente. La chiave di riga prevista era {0}. ... and the "JBO-35007: La valuta della riga ..." message also shows up on the page.
    (k5) Click the "Aggiorna e Ritorna a TestPage" button again to return to the "start page".
    see http://verveja.footsteps.be/~verveja/files/oracle/ChangeLanguageInTheUIForData-v0.05.zip (check README.txt)
    So, ...
    It looks like some "row currency issues" remain with this approach.
    regards
    Jan

  • Translation date from document date instead of posting date

    I have a requirement to set automatically Translation date from Document Date instead of Posting Date as usual in SAP.
    My company code hasnu2019t got neither 2nd local currency nor 3rd local currency.
    As usual, when posting transactions in foreign currency, translation date is derived from posting date.
    I would like to know if is possible to set that translation date would be derived from document date. As I said before, because of the company code only has one currency defined, is not possible to change it in OB22.
    Thanks a lot

    Has anyone ever tried to change the Translation date on the FI documents generated by F.05 (FBB1). I am having this requirement at one of the clients I am working on. I need to substitute the document date in the translation date field. I tried using substitution through GGB1 (OBBH) and also I tried using the BADI - FI_TRANS_DATE_DER, but none of the two options work.
    Is there any other option to do it or did anyone had any success in doing this????
    Appreciate all the responses.
    thanks in advance.

  • Translation Date

    Hi,
    Currently translation date for foreign currency is taken as posting date.  We need to change the same to Document Date. 
    We have tried the substitution rule with user exit, but unfortunately could not get thru.
    Can anyone suggest the solution for the above.
    Regards,
    Sankar

    GGB1, create subst, create step
    now a popup comes up and you have to select translation date
    if the field (BKPF-WWERT) is not in the list you have to chang e the corresponding entry in table GB01 (BEXCLUDE has to be empty).
    When you select translation date, you choose field-to-field substitution and you enter BKPF-BLDAT (document date) as source field. Save!
    After that you have to activate in OBBH as well
    hope this helps
    ec

  • How to change the date format  YYYYMMDD to MM/DD/YYYY

    Hi ,
    How to change the date format  YYYYMMDD to MM/DD/YYYY .
    Ex :  20071008  to 10/08/2007
    Is there any function module for this ??
    Regards
    Rahul

    Hi Sharma,
    check the code:
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-031.
    PARAMETERS: date1 RADIOBUTTON GROUP rad1 DEFAULT 'X', "SAP date format YYYYDDMM
    date2 RADIOBUTTON GROUP rad1, "Date format like aprial31, 2006
    date3 RADIOBUTTON GROUP rad1, "Date format like 31 apr,2006
    date4 RADIOBUTTON GROUP rad1, "Date format like DD/MM/YYYY
    date5 RADIOBUTTON GROUP rad1. "Date format like DD.MM.YYYY
    SELECTION-SCREEN END OF BLOCK b2
    FORM getmonth .
    SELECT mnr
    ktx
    ltx
    INTO TABLE T_month
    FROM t247
    WHERE spras = 'EN'.
    IF sy-subrc NE '0'.
    MESSAGE I "Message - Not able to get month values from the table T247
    ENDIF.
    ENDFORM.
    DATA : temp_date(16) TYPE c,
    temp1_date(60) TYPE c,
    year(4) TYPE c,
    daymonth(11) TYPE c,
    daymonth1(11) TYPE c,
    month(9) TYPE c,
    day(2) TYPE c,
    mon LIKE t247-ktx,
    len TYPE i .
    MOVE date TO temp1_date .
    CONDENSE temp1_date NO-GAPS.
    MOVE temp1_date TO temp_date .
    IF date2 EQ 'X'. "The date format is like Aprial 31, 2007
    CONDENSE temp_date NO-GAPS.
    SPLIT date AT ',' INTO daymonth year.
    IF STRLEN( year ) NE '4'.
    error = 'X'.
    WRITE : 'Invalid date format.'.
    ELSE.
    daymonth1 = daymonth.
    CONDENSE daymonth1 NO-GAPS.
    _len = STRLEN( _daymonth1 ).
    l_len = 13 - len.
    SHIFT daymonth1 RIGHT BY len PLACES.
    CONDENSE daymonth1 NO-GAPS.
    month = daymonth1.
    CONDENSE month NO-GAPS.
    SORT t_month BY monthltx.
    READ TABLE t_month WITH KEY monthltx = month.
    IF sy-subrc <> 0.
    error = 'X'.
    WRITE : 'Invalid date format.' .
    ELSE.
    len = STRLEN( month ).
    CONDENSE daymonth NO-GAPS.
    SHIFT daymonth LEFT BY len PLACES.
    day = daymonth.
    CONDENSE day NO-GAPS.
    CONCATENATE year t_month-monthnumber day INTO o_date.
    ENDIF.
    ENDIF.
    ELSEIF p_date3 EQ 'X'. "The date format is like 31 apr, 2007
    CONDENSE temp_date NO-GAPS.
    SPLIT i_date AT ',' INTO daymonth year.
    IF STRLEN( year ) NE '4'.
    error = 'X'.
    WRITE : 'Invalid date format.'.
    ELSE.
    daymonth1 = daymonth.
    CONDENSE daymonth1 NO-GAPS.
    SHIFT daymonth1 LEFT BY 2 PLACES.
    CONDENSE daymonth1 NO-GAPS.
    month = daymonth1.
    CONDENSE month NO-GAPS.
    TRANSLATE month TO UPPER CASE.
    SORT t_month BY monthstx.
    MOVE month to mon.
    READ TABLE t_month WITH KEY monthstx = mon.
    IF sy-subrc <> 0.
    error = 'X'.
    WRITE : 'Invalid date format.' .
    ELSE.
    CONDENSE daymonth NO-GAPS.
    day = daymonth+0(2).
    CONDENSE day NO-GAPS.
    CONCATENATE year t_month-monthnumber day INTO o_date.
    ENDIF.
    ENDIF.
    ELSEIF p_date4 EQ 'X' OR p_date5 EQ 'X'. "Date format is like DD.MM.YYYY or DD/MM/YYYY
    CONDENSE temp_date NO-GAPS.
    IF STRLEN( temp_date ) EQ 10.
    o_date0(4) = temp_date6(4).
    o_date4(2) = temp_date3(2).
    o_date6(2) = temp_date0(2).
    ELSE.
    error = 'X'.
    WRITE : 'Invalid date format.' .
    ENDIF.
    ENDIF.
    IF STRLEN( o_date ) NE '8'.
    error = 'X'.
    WRITE : 'Invalid date format.'.
    ENDIf.
    ENDFORM. " f0100_conv_date
    Reward if helpful.
    Regards,
    Harini.S

  • 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