Documents posted wrong posting periods

hi,
we are using sap 4.7e version.our fiscal year is april to march.we posted 7 billing documents on 01.03.2007 .but 6 accounting documents posted to 13 th period.one document posted to 12 th period. we are unable to identify the problem how it happend .all posting and document dates are on 01.03.2007. could any body give solution to this probelm.

Hi Naga,
Normally the system always takes the posting period based on posting date.
You can enter in the special periods only by actually selecting the posting date of last posting period and manually selecting the posting period as the special period of 13-16.
There could be two possibilities for the issues:
Someone must have manually changed the posting period in billing document header (field VBRK-POPER) to 13 while the posting date is 1.3.07.
OR
Based on certain parameters, a user exit is triggered to change the posting period to a special period 13.
You can reach me at [email protected]
Thanks
Ajay

Similar Messages

  • Block cancellation/creation of billing document on CLOSED posting period

    Hi Experts,
    Currently, user is allowed to cancel/create backdated billing document where period already closed, but it does not release to accounting automatically, due to the period has been closed.
    When account user found out that the accounting document is missing for the billing document, they have to re-open the period and manual release it to accounting, in order to generate the accounting document.
    Therefore, we need the billing document to be blocked for cancellation/creation on CLOSED posting period.
      Is there any settings in stardard SAP to block cancellation/creation of billing document on CLOSED posting period?
    would appreciate your inputs.
    Thanks and Regards,
    N.C.Reddy

    Hi ,
    We have blocked cancellation/ creation of billing document through below  user exit. Below is the progran code also.
    ***INCLUDE RV60AFZC.
    FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
    Example: Number range from TVFK like in standard
    US_RANGE_INTERN = TVFK-NUMKI.
    *{   INSERT         KPDK904773                                        1
    *Block creation or cancellation of billing doc in closed period
    DATA : gv_gjahr TYPE bkpf-gjahr,
           gv_monat TYPE bkpf-monat,
           gv_poper TYPE t009b-poper,
           gv_bukrs TYPE t001-bukrs,
           lv_gjahr TYPE t001b-frye1,
           lv_monat TYPE t001b-frpe1,
           gv_oper  TYPE t001b-frpe1.
      CLEAR : gv_gjahr, gv_monat, gv_poper, gv_bukrs.
      gv_bukrs = vbrk-bukrs.
    IF NOT likp-wadat_ist IS INITIAL.
    *- First determine the Period of the Actual GI date.
      CALL FUNCTION 'FI_PERIOD_DETERMINE'
        EXPORTING
          i_budat              = likp-wadat_ist
          i_bukrs              = gv_bukrs
       IMPORTING
         E_GJAHR              = gv_gjahr
         E_MONAT              = gv_monat
         E_POPER              = gv_poper
       EXCEPTIONS
         FISCAL_YEAR          = 1
         PERIOD               = 2
         PERIOD_VERSION       = 3
         POSTING_PERIOD       = 4
         SPECIAL_PERIOD       = 5
         VERSION              = 6
         POSTING_DATE         = 7
         OTHERS               = 8.
          IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
            CLEAR : lv_gjahr, lv_monat.
            lv_gjahr = gv_gjahr.
            lv_monat = gv_monat.
    *- Once period is determine check whether Period is open or not for 'D' - Customer Account
            CALL FUNCTION 'FI_PERIOD_CHECK'
              EXPORTING
                I_BUKRS                = gv_bukrs
                i_gjahr                = lv_gjahr
                i_koart                = 'D'
                i_monat                = lv_monat
             IMPORTING
               E_OPER                 = gv_oper
             EXCEPTIONS
               ERROR_PERIOD           = 1
               ERROR_PERIOD_ACC       = 2
               INVALID_INPUT          = 3
               OTHERS                 = 4.
              IF sy-subrc <> 0.
               MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ELSE.
    *- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
                CALL FUNCTION 'FI_PERIOD_CHECK'
                EXPORTING
                  I_BUKRS                = gv_bukrs
                  i_gjahr                = lv_gjahr
                  i_koart                = 'S'
                  i_monat                = lv_monat
               IMPORTING
                 E_OPER                 = gv_oper
               EXCEPTIONS
                 ERROR_PERIOD           = 1
                 ERROR_PERIOD_ACC       = 2
                 INVALID_INPUT          = 3
                 OTHERS                 = 4.
                IF sy-subrc <> 0.
                  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
               ENDIF.
             ENDIF.
         ENDIF.
    ENDIF.
    *- Check Billing Date period is closed or not
    IF kom-fkdat is not initial.
      clear : gv_gjahr, gv_monat, gv_poper.
    *- First determine the Period of the Actual GI date.
      CALL FUNCTION 'FI_PERIOD_DETERMINE'
        EXPORTING
          i_budat              = kom-fkdat
          i_bukrs              = gv_bukrs
       IMPORTING
         E_GJAHR              = gv_gjahr
         E_MONAT              = gv_monat
         E_POPER              = gv_poper
       EXCEPTIONS
         FISCAL_YEAR          = 1
         PERIOD               = 2
         PERIOD_VERSION       = 3
         POSTING_PERIOD       = 4
         SPECIAL_PERIOD       = 5
         VERSION              = 6
         POSTING_DATE         = 7
         OTHERS               = 8.
          IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
            CLEAR : lv_gjahr, lv_monat.
            lv_gjahr = gv_gjahr.
            lv_monat = gv_monat.
    *- Once period is determine check whether Period is open or not for 'D' - Customer Account
            CALL FUNCTION 'FI_PERIOD_CHECK'
              EXPORTING
                I_BUKRS                = gv_bukrs
                i_gjahr                = lv_gjahr
                i_koart                = 'D'
                i_monat                = lv_monat
             IMPORTING
               E_OPER                 = gv_oper
             EXCEPTIONS
               ERROR_PERIOD           = 1
               ERROR_PERIOD_ACC       = 2
               INVALID_INPUT          = 3
               OTHERS                 = 4.
              IF sy-subrc <> 0.
               MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ELSE.
    *- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
                CALL FUNCTION 'FI_PERIOD_CHECK'
                EXPORTING
                  I_BUKRS                = gv_bukrs
                  i_gjahr                = lv_gjahr
                  i_koart                = 'S'
                  i_monat                = lv_monat
               IMPORTING
                 E_OPER                 = gv_oper
               EXCEPTIONS
                 ERROR_PERIOD           = 1
                 ERROR_PERIOD_ACC       = 2
                 INVALID_INPUT          = 3
                 OTHERS                 = 4.
                IF sy-subrc <> 0.
                  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
               ELSE.
                IF kom-fkdat4(2) <> likp-wadat_ist4(2).
                ENDIF.
               ENDIF.
             ENDIF.
         ENDIF.
    ENDIF.
    *}   INSERT
    ENDFORM.
          FORM USEREXIT_FILL_VBRK_VBRP                                  *
          This userexit can be used to fill fields in VBRK and VBRP     *
          Be aware, that at this time the work areas KUAGV KURGV        *
          KUWEV and KUREV are not filled.                               *
          This form is called from FORM VBRK_VBRP_FUELLEN.              *
    FORM USEREXIT_FILL_VBRK_VBRP.
    Example: change Tax country
    VBRK-LANDTX = T001-LAND1.
    ENDFORM.
    *eject

  • Wrong posting period created and has transactions, how to amend

    Hi All,
    I have created the posting period in 2005B, forgot to change the Sub-Periods from defaulted Year to Months. So my posting period for 2009 is actually only one period instead of the normal 12 periods in a month.
    I have some transactions posted into the period, how can I amend this situation? Hope anyone can assist as soon as possible. Thanks in advance.
    Regards,
    MH

    Hi MH,
    I am afraid you cannot do that, because period setting is a very basic setting and the system checks if there are already transactions for that period.
    Even if you reverse all transactions the system still considers them as transactions belong to the period.
    I suggest that you do it this way:
    1. Download the transactions that are already entered
    2. Prepare them into templates
    3. Go back to the status where database is still empty
    4. Correct the period settings
    5. Upload back the transactions to the database.
    Cheers,
    Marini

  • Depreciation was posted wrongly in previous period

    Dear All,
    Our fiscal year start from July - June. Now we are in 7th period. In 6th period for one of the Goodwill asset depreciation has been posted mistakenly. Now user is asking to reverse in 7th period. is it possible to reverse depreciation in current period which was posted in previous period.
    Please help me in this.
    Thanks and regards,
    Mr.Rao.

    Hi Srinu,
    Now our Fiscal year is 2012 started form July-2011 to June-2012.
    This Goodwill asset has been capitalized on Current Fiscal year 6th period (20.12.2011).
    For this asset depreciation posting has been activated for 01 & 05 depreciation areas. For 05 depreciation area one  depreciation expenses G/L account has been maintained in AO90 for the account determination. But this G/L account has not been created in this company code.
    When the depreciation job was ran, only 01 depreciation area posted and the 05 depreciation area has not been posted.
    I have created the same scenario in Testing client. When I execute the depreciation for the 7th period it is saying that "Last posting run terminated (Restart in period 2012 006)" . When I run the AFAB for 6th period by selecting the Restart button, the system is saying that "Account 'Expense account for ordinary depreciat.' could not be found for area 05".
    If I request my client to create this G/L account for this company code, may be they will not accept because it is not required to create.
    Could you please suggest me in this.
    Thanks and regards,
    Mr.Rao.

  • Wrong Posting Opposite Posting

    Hi Gurus,
    I would appreciate, if anyone could explain the meaning of Wrong Posting Opposite Posting in "Define Reason for Reversal". 
    Also, why do we choose Alt. Post Date for the same.
    Please explain
    Thanks
    Mohit

    Hi,
    When the document was posted obviously u will enter the posting date, Where as when u  reverse the document, It should identify that the document has been reversed to the original document, for that we need to  enter alt.posting date which will determine the reversal reason also.
      Ex:Reversal of an incorrect posting in the same period.
    Reversal of an incorrect posting in the subsequent period
    Wrong posting or oposite postings are  giving wrong account or wrong debit or credit.
    Hope this will helpful.
    Tx
    veena

  • Asset accnting - Documents from last posting run in 2007 r not yet updated

    Dear expert,
    I have accidentatlly repeat run the depreciation so I deleted the batch file and re-run the correct one however I received message Documents from last posting run in 2007 are not updated. How to correct this?
    thank you

    I have resolved this issue. Actually the porblem was not as complicated as I thought.
    Since I have accidentally run the reverse depreciation for 2007, I just let it post to 2007 period 12.
    Then I changed the depreciation key back to ZLIN and re-run the depreciation and posted it in 2007 period 12. By doing this I nullified the previous wrong depreciation.
    Next step I carried AJAB and closed the year 2007 without error. After that I went to change back the depreciation key to '0000' no depreciation.
    With this workaround I managed to resolve the problem.
    From this experience I advice user who want to change the depreciation key, before doing that better make sure your previous year has been closed. Else you will have problem closing your previous year after you have changed the depreciation key.
    Dear Paul Annotee,
    Many thanks to the support and suggestions you have given me. Thanks again.
    regards,
    Max

  • Allow Posting to Previous Period - MMRV

    Dear Friends,
    We can open / close MM periods thru MMPV & see the currently open periods thru MMRV.
    Now when we check current Period in MMRV, we see three periods:
    Current period                 07 2009 (October 2009)
    Previous period               06 2008 (Septermber 2009)
    Last period in prev.year  12 2008 (March 2009)
    Here we have also Allowed posting to Previous Periods.
    Thus current open period is 07 2009 (October 2009) & we can also post in Septermber 2009 (06 2009).
    But the real problem is can we post some MM Documents in March 2009 (i.e. 12 2008)? Currently when we try system gives error - Posting only possible in 07 2009 & 06 2009.
    I know it is SAP standard to allow only two MM months to be open at a given point of time.
    Then what is the use of "Last period in prev.year  12 2008" in MMRV screen?
    Waiting for early replies...
    Thanks,
    Jignesh Mehta

    In SAP system, you can only post stocks to one back period only by checking the Check Box in MMRV Transaction.
    The entries you mentioned (Current Period, Previous Period, etc. are just information purpose only.
    In certain cases, for ex: changing valuation Class etc., you have to check the stocks in Current, previous period and last period in previous year.
    So you can get information of periods in MMRV Transactions.
    For back posting to other periods (other than previous period), you should use Transaction MMPI.

  • MIRO Posting in a period not yet open

    Hi Friends,
    We experienced an unusual behavior of the system when posting MIRO. Now we have not opened the current period in MM to facilitate pending transactions of previous fiscal year . Hence the period 12/2009 & 11/2009 (ie February & March 2010) is open . But it is seen that one MIRO against a PO could be posted giving posting date as 7.4.2010 & Document date as 31.3.2010.How it is possible when no other MM transactions are not allowed . Even we tried to do MIRO for another PO but it is not allowing .How it allowed to post the invoice in a posting date which is not yet open .This is to indicate here that our FI period of the current month is open .
    Please give your views on this .
    Dhruba

    In OMSY the entry 2009 period 12 has not changed as we have not opened the new period of 2010.
    Is there any conclusions on it or do any one guess what is the reason for such behaviour.
    Dhruba

  • Document from last posting run in 2007 are not yet updated

    Hi Guru's,
    When I run the AJRW fiscal year change 2009, it was not successful because a system message says" fiscal year change in company code XXX, possible only after year end closing 2007.
    So I execute AJAB-Year End closing in 2007, in Tab " Closed Carried Out - it say "NO", when i double click  it says: "Document from last posting run in 2007 are not yet updated"
    So i check it in SM35 to see when did this error started, i found out it started at around mid 2007, July, status is In background instead of Processed. Out of 15 thousand transaction, 14 of which got an error.
    Please help how we are able to post asset accounting for 2009.
    Thanks
    Mila
    Edited by: Mila Calonge on May 4, 2009 10:02 AM

    check the error log why the transactions are not processed. Recreate the session with transaction code AFBD giving the year and fiscal period and check the error log. It will give the clue why the transactions are not processed.
    Those might not have processed due to GL account assignment or cost center master data issues.

  • How to reverse wrongly posted unplanned depreciaiton

    Hello Gurus,
    There has been wrong posting of unplanned depreciation for an asset and now the user needs to reverse such posting.
    This occured when the Asset was transferred and some unplanned depreciaiton was posted wrongfully. Now  the user wants to reverse the unplanned depreciation.
    Can someone please help me with the steps and the T-Codes to reverse such wrong unplanned depreciaiton posting.
    Would be really nice of you.
    Thanks
    Subhankar

    Hi,
    With u201CUnplanned Depreciationu201D posting, as immediately it will not be posted to FI and no FI document will be generated. It will be posted in next normal depreciationrun i.e., Whenever you run the t-code AFAB-Depreciation Run as part of month-end activities, system will post the u201CUnplanned depreciationu201D along with normal depreciation. So there will be no FI  document will be generated with u201CUnplanned Depreciation posting. You need to reverse only Asset document . For this purpose do the following steps :
    Option :1: a) Go to t-code-AW01N-Asset Explorer, specify the Asset No., click  the posted u201CUnplanned depreciationu201D value
                         and get the Asset Document No. which is available under the head u201CTransactionsu201D.
                       b)  Use t-code-AB08 and reverse the Asset document     OR
    Option :2:  a) Go to t-code AS02-Change Asset Masteru2014Depreciation Areas, keep the Depreciation key with u201C0000u201D value
                       b) Run t-code-AFAB-Depreciation Run with u201CRepeatu201D option by giving/selecting  the  only the specific Main 
                         Asset No. and Asset Sub-number at  the bottom of the screen.
    Regards
    appalas
    Edited by: appalas on Dec 14, 2010 1:21 PM

  • Business area wrongly posted for invoice

    Hi All,
    Business area wrongly posted for invoice.
    The user was posted the invoice with two line items one with posting key 40 for debit and one is 31 for credit vendor, these two line items are posted with different business areas.  and the the invoice is cleared also.
    Could any one please suggest what the above issue affects the business.  what would be the resolution to be done for this.
    Thanks in advance
    Nandha

    Hi All,
    The balances are not matching in fbl3n and fs10n, Due to the above wrong document posted and cleared also.  what is the better way to match the two balances (fbl3n and fs10n).
    Can i reverse the cleared wrong document and reset it in fbra,  if i do this is there any problems occur in production.
    please suggest to tally the balances of fbl3n and fs10n.
    one more thing if i double click on the fs10n the another screen will open in the the total balances are matching in fbl3n and fs10n.
    Please any suggest me to come out of this issue
    Thanks in advance
    Nandha

  • Can posting with Special Periods possible 4 other than Last posting period?

    Hi Gurus,
    My client is following a calendar year specific fiscal year (JAN TO DEC). Now, is it possible to post accounting documents or any documents giving any of the 4 special periods and with posting date as that of March? This is for income tax purpose...
    Fiscal Year Variant USED  is K4.
    Regards
    Deepak

    Hi,
    This is not possible, as the period has a conversion attached to it internally, i.e., the period is derived from the posting date, as such the special periods (13-16) will only remain in the period field of the document when the posting date is in December.  Else it will be overwritten by the posting date period.
    If you are in a non-ECC system, you may look at building an April to March ledger in Special purpose ledger, which will have its own balance carry forward and adjustment postings for the tax year. The SL uses the same postings from the FI ledger, however you can set a different fiscal year variant for the special ledger, so April will become period 1 in SL, while remaining 4 in FI.
    Cheers
    Neeraj

  • 9KE0 - Balance not zero.  Document cannot be posted

    Hello
    One of my colleagues is trying to post a CO only document to move balances across profit centres in special period 16.  The company is GBP so she enters the GBP amount and the system automatically posts the USD amount in Group currency.  Unfortunately the translated USD amounts are out of balance by 0.01 so the document won't post and we can't alter the USD amounts. Error message - Balance not zero.  Document cannot be posted.
    Does anyone have any ideas how to get the document to post?
    Thanks
    Tizzy

    Hello Tizzy,
    I suppose you receive error message F5598.
    EC-PCA is from technical point of view nothing else than a special ledger in FI (FI-SL). Therefore it is just normal that FI messages can appear in connection with EC-PCA and that you need to maintain some PCA relevant entries in FI transactions.
    Of course from logical point of view error F5598 is justified as PCA needs to know which account should be used in order to post rounding differences that might occur in connection with 9KE0.
    Procedure RDF is used to post internal currency rounding differences.
    In your case this procedure is mentioned because only one of the three possible currencies (transaction, company code or profit center currency) is contained in the layouts for document entry, and differences differences have occur in the other currencies due to the automatic currency translation, although the balance is zero in the displayed currency.
    The only way to make this posting in PCA is either to setup the accounts for actvity RDF (transaction OBA1) or to maintain the document type as 2 - no balance check (transaction GCBX).
    Example:
    Company code currency: AUD
    Profit Center local currency: EUR
    current exchangerate: AUD -> EUR = 0,591058244
    10 AUD = 5,91 EUR
      5 AUD = 2,96 EUR
    When you now post the following transaction the following values are posted or translated
    Profit Center  Company Code Currency Profit Center Local Currency
    AAAAAAAA         10,00  AUD               5,91  EUR
    BBBBBBBBB           5,00- AUD               2,96- EUR
    CCCCCCCCC           5,00- AUD               2,96- EUR
    Balance                   0,00  AUD               0,01- EUR
    So the system needs either the information where to post the rounding difference or to ignore the rounding difference.
    Cheers,
    Daniela

  • Document date and posting date

    now i am posting of business transaction from apl2009 to mar 2010 in last period i am posting of  transaction  i am giving document date 31.03.2010 posting date 05.04.2010 ledger a/c number 1234 amount value 1000 Rs.giving all the details i will post the document. This amount value is affected based on the document date or posting date   can  u tell me briefly explain.

    Hello,
    Document date is just for the purpose of record, or you can treat it as an invoice date.
    SAP always check with posting date and see whether the periods are being opened for that particular date or not.
    Therefore, Posting date is the main date when posting the entry. The entry will get posted on document date only. This is nothing do with the document date and both may differ.
    Regards,
    Ravi

  • Wrong posting to Cost center

    Hi,
    Our customer made wrong posting to cost center from 05-07-2008 to 17-07-2008. They want to correct it now, so what is the solution for this.
    The wrong posting is because of wrongly defined in activity type for quantities. Instead of 1pc they have defined 10000pcs.
    Please help me.
    Regards,
    Swetha

    Hi Sreenivas,
    What is this Tcode? what are the details have to give in this Tcode?
    It is asking to give document number.
    Please help me.
    Regards,
    Swetha

Maybe you are looking for

  • Can anyone tell me my problems here?

    It's another situation of a macbook pro (maybe old?) being crippled after yosemites. It was fine in mavericks and I was happy as a clam. But now the dark days have time and I'm twisting in woe. I can't buy spare parts for a new HD or additional RAM (

  • Transaction variant for RPCPCC00

    I need to create a transaction variant for the program RPCPCC00 and default the company code value so that a given person can run the report only for the given default value. I'm not able to set a default. Can anybody help me in this? Thanks in advan

  • T400 Ultrabay Battery Issue

    I just ordered and received a new Lenovo-branded Ultrabay slide-in battery for a T400.  It fits perfectly (appears to) but shows an error in the battery display and cannot even read the part number. What came out was an FRU 42T4679  (10.8V, 2.7AH, 30

  • Fatal Error: compiler internal error

    Hi, I'm new to JDeveloper and am having a problem trying to use jdk 1.3.1_01 with it. The version I'm using is Version 2.0 (Build 343). I tried to define a new target JDK version for java version 1.3.1_01 and got a "Could not create dependency files"

  • How do I get rid of 14gb of "other memory"

    1,5gb audio 5.0gb apps(120) docs 0.8 no Photos 6.67 gb free space and the 14 gb "other" ???? wht is it??? How to get rid of it ???? Have iPhone 5  with iOS 7.02