Clearing document in FB05

Hi,
The customer has posted a clearing document in FB05 on 10.09.2009 as posting date and document date.
but the clearing date has taken to 30.09.2009.
But the clearing date should be same as posting date i.,e 10.09.2009.
so what could be the reason for taking the clearing date to 30.09.2009?
Thanks,

See the documentation of the clearing date (AUGDT):
Clearing Date                                                                               
The clearing date specifies as from when the item is to be regarded as
    cleared. When clearing, the last posting date of all the documents    
    involved in clearing is set as the clearing date.                                                                               
Examples                                                                               
Invoices which were posted on 10/10/1997 and on 10/15/1997 are cleared
    by a payment document which is posted on 11/10/1997. In this case the 
    clearing date is 11/10/1997, in other words the posting date of the   
    payment document.                                                                               
A rental invoice for December is entered on 11/28/1997 and the posting
    date is set to 12/01/1997. The rent is paid on 11/30/1997 and is also 
    posted under this date. 12/01/1997 is then set as the clearing date, in
    other words the posting date of the invoice.                                                                               
Dependencies                                                                               
The clearing date of a line item is never allowed to be before the    
    posting date of the item.

Similar Messages

  • Clearing document items

    Hi all,
    I am using FM POSTING_INTERFACE_CLEARING to clear two documents. Function works fine when I clear 2 whole documents. But in some cases I need to clear just specified document line item with the other document. Is this possible using this FM? If yes, can anybody paste example or explain, how call this function and how specify document line item to clear?
    Thanks a lot for reply.

    Here is an example code, hoping it will be useful ...
    select the first line item to be cleared
          SELECT SINGLE * FROM BSEG INTO inv_bseg WHERE BUKRS = header-company_code AND BELNR = document_number AND GJAHR = document_year AND KOART = 'D'.
          CHECK sy-subrc = 0.
    select the second line item to be cleared
          SELECT SINGLE * FROM BSEG INTO adv_bseg WHERE BUKRS = adv_bse_clr-bukrs_clr AND BELNR = adv_bse_clr-belnr_clr AND GJAHR = adv_bse_clr-gjahr_clr AND UMSKZ = 'A'.
          CHECK sy-subrc = 0.
    initialize input internal tables
          t_ftpost-count = 1.
          t_ftpost-stype = 'K'.
          t_ftpost-fnam = 'BKPF-BLDAT'.
          t_ftpost-fval = l_bldat.
          CONCATENATE t_ftpost-fval6(2) t_ftpost-fval4(2) t_ftpost-fval(4) INTO t_ftpost-fval.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BKPF-BUDAT'.
          t_ftpost-fval = sy-datum.
          CONCATENATE t_ftpost-fval6(2) t_ftpost-fval4(2) t_ftpost-fval(4) INTO t_ftpost-fval.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BKPF-BLART'.
          t_ftpost-fval = 'ZC'.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BKPF-BUKRS'.
          t_ftpost-fval = r_ifblnr-bukrs.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BKPF-XBLNR'.
          t_ftpost-fval = document_number.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BKPF-WAERS'.
          t_ftpost-fval = r_ifblnr-waers.
          APPEND t_ftpost.
    initialize documents to be cleared
          t_ftpost-count = 1.
          t_ftpost-stype = 'P'.
          t_ftpost-fnam = 'BSEG-BUKRS'.
          t_ftpost-fval = inv_bseg-bukrs.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BSEG-BELNR'.
          t_ftpost-fval = inv_bseg-belnr.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BSEG-GJAHR'.
          t_ftpost-fval = inv_bseg-gjahr.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BSEG-BUZEI'.
          t_ftpost-fval = inv_bseg-buzei.
          APPEND t_ftpost.
          t_ftpost-count = 2.
          t_ftpost-stype = 'P'.
          t_ftpost-fnam = 'BSEG-BUKRS'.
          t_ftpost-fval = adv_bseg-bukrs.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BSEG-BELNR'.
          t_ftpost-fval = adv_bseg-belnr.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BSEG-GJAHR'.
          t_ftpost-fval = adv_bseg-gjahr.
          APPEND t_ftpost.
          t_ftpost-fnam = 'BSEG-BUZEI'.
          t_ftpost-fval = adv_bseg-buzei.
          APPEND t_ftpost.
          t_ftclear-agkoa = 'D'.
          t_ftclear-agkon = r_belnr-kunnr.
          t_ftclear-agbuk = r_ifblnr-bukrs.
          t_ftclear-xnops = 'X'.
          t_ftclear-agums = 'A'.
          CONCATENATE adv_bseg-belnr adv_bseg-gjahr adv_bseg-buzei INTO t_ftclear-selvon.
          t_ftclear-selfd = 'BELNR'.
          APPEND t_ftclear.
          CLEAR t_ftclear-agums.
          CONCATENATE inv_bseg-belnr inv_bseg-gjahr inv_bseg-buzei INTO t_ftclear-selvon.
          t_ftclear-selfd = 'BELNR'.
          APPEND t_ftclear.
          CLEAR t_ftclear.
    clear documents
          CALL FUNCTION 'POSTING_INTERFACE_START'
             EXPORTING I_CLIENT = sy-mandt
                       I_FUNCTION = 'C' "LIKE RFIPI-FUNCT
                       I_GROUP = SPACE
                      I_HOLDDATE = SPACE
                      I_KEEP = SPACE
                       I_MODE = 'N'
                      I_UPDATE = 'S'
                       I_USER = sy-uname
                       I_XBDCC = SPACE.
          CALL FUNCTION 'POSTING_INTERFACE_CLEARING'
             EXPORTING i_auglv = 'AUSGZAHL'
                       i_tcode = 'FB05'
             IMPORTING e_msgid = i_msgid
                       e_msgno = i_msgno
                       e_msgty = i_msgty
                       e_msgv1 = i_msgv1
                       e_msgv2 = i_msgv2
                       e_msgv3 = i_msgv3
                       e_msgv4 = i_msgv4
                       e_subrc = i_subrc
                TABLES t_blntab = t_blntab
                       t_ftclear = t_ftclear
                       t_ftpost = t_ftpost
                       t_fttax = t_fttax
            EXCEPTIONS others = 1.
          IF sy-subrc <> 0.
             returnTab-type = i_msgty.
             returnTab-id = i_msgid.
             returnTab-number = i_msgno.
             returnTab-message_v1 = i_msgv1.
             returnTab-message_v2 = i_msgv2.
             returnTab-message_v3 = i_msgv3.
             returnTab-message_v4 = i_msgv4.
             INSERT returnTab INDEX 1.
          ENDIF.
          CALL FUNCTION 'POSTING_INTERFACE_END'
             EXPORTING I_BDCIMMED = SPACE.

  • How to generate clearing document

    Hi guys,
    My problem is: Through Tcode: FB05, I can post the open items in Accounting Document(which hasn't been cleared before). After I post the open items successful, a clearing document will generate for the operation. The clearing document includes the open items which I have operated on.
    For example:
    Tcode: FB05
    customer: 70000006
    Residual open Item: 10000001
                                  10000002
    Clearing Document should include 10000001 and 1000002 items.
    Result:
    In Table: BSID (Accounting: Secondary Index for Customers), there are 2 items.
    My question is: Except above method to generate an clearing document, is there any other method to generate an clearing document?
    Thanks!

    Thanks.
    I have used the FB05 to post the open items. I think it has the same effect to Tcode: FB03.
    I want to know if i haven't used above tcode to post the open items, did the clearing document generate? Is there other method that can generate an clearing document?

  • Error while resetting a cleared document

    Hi everyone,
    I am getting an error while resetting a cleared invoicing document 'Document xxxxxxxxxxx with origin R4 can not be reversed'. Please guide me how can we reset the clearing of this document.
    Thanks and Regards

    Hi,
    You need to reset all clearing for the corresponding FICA document for the print document.
    Reset the clearing for the document no. mentioned in the output for EA13 execution.
    You need to reset all the clearing for the document, before reversing the same.
    To get all the clearing document, go to DFKKOP table, enter the FICA document no. (for the print document on FPL9). Get all AUGBL documents,
    Alternatively, you can go on to FPL9 screen, double click on the consumption document, in the basic data you will see the clearing date (if it is cleared), expand the view their (click on + sign), you will se the clearing document no,
    Pass the above clearing document no, to FP07, and once all the clearing is reset for the invoice, you can reverse the corresponding invoice through EA13.
    Regards,
    Rajesh Popat

  • Reset Cleared Documents and Vendor Open Items Report FBL1N

    Hi all,
    I have following scenario:
    - In last month, we had 2 documents (invoice and payment) cleared against each other. We created open items report as well as open items correspondence sent to Vendor. Obviously, the docs were not included in report.
    - In this month, we have reset and reverse clearing document of the documents. We create report again with the open key date as in last month. It should not include the 2 docs but it did with whichever key date we chose.
    Is there any setting that open item report doesn't include cleared item at the key date when we run report for previous month?
    Thanks and Regards,
    Dau

    Hi Dau,
    If i understand you correctly then you posted and paid invoice in Jan 2012 and generated the open line item report for Jan which correctly did not include this cleared invoice.
    Now in Feb 2012 you reset and reversed this payment document.
    The issue is when you execute the report FBL1N again then you get the open line item for this invoice correct. Please confirm what is the open item key date that you are using here for generating this report
    If you keep it 31.01.2012 then definetly this invoice should not appear in the report but if you keep that 29.12.2012 then this line item would for sure appear.
    The importance of key date is to limit the report to certain date. The system selects all items posted up to and including the specified key date and open for this period.
    so I think your issue is with the key date.
    Hope this helps you.
    Regards,
    Prasad

  • Resetting a clearing document from a previous financial year - Vendor Payment

    Finance team needs to reset a cleared item from a previous financial year. The cheque was
    never presented.  They are unable to create a new invoice to pay the vendor without this cheque going
    through and being processed.
    However, when using transaction code FBRA they receive an error message
    "clearing document from alternative fiscal year-. Message no F5A258".

    There are two option
    1. You Open the Close Period, or change the reversal code, which can allow alternative posting in the current period.
    2. Go to the IMG - Controling - General Controlling - Change Message control. Give the message application area and then the number and turn it off. (Tcode : OBA5)
    With regards,
    Uttam Maity

  • Resetting and reversing a cleared document

    Hello
    I want to reset and reverse a customer clearing document. The clearing document which is 54203512 was posted and matched against the customer invoice in the previous period. When reversing and resetting the document in transaction code FBRA, a pop up screen u201CReversal Datau201D appears. The reversal reason is specified as 01 (Reversal for incorrect posting), posting date is todayu2019s date however the original clearing document 54203512 was posted in 05.09.2008 and in previous period. Click on continue.
    The document is not reset and reversed and I am getting the error message u201CReversal reason 01 only permits posting date 05.09.2008u201D. Not sure why the document is looking at the posting date of original document even though I specified the reversal date as 08.10.2008. Can a document be reset and reversed in different periods?? Or does this cause any issues or problems? Or is this a bug??
    Thanks in advance
    Evelyn

    Hi,
    There are only 2 controls allowed for Reversal reasons:
    1.  Negative posting
    2.  Alternative date for posting
    The symptom you have mentioned would be of a control from somewhere else, i.e. either a user exit or a validation.  An order reason can only restrict it to current date or allow any other date.  At least that is what I have experienced.
    Cheers...

  • Reset Manually Cleared Documents

    Hi,
    I have the following scenario:
    I posted two document in first document i posted following transaction:
    EOBI EXP Dr 10,000    
    Exp Payable EOBI    Cr  10,000
    (Document Number 1000010, Type SA)
    The second transaction Was:
    Exp EOBI  Dr. 10,000
    Bank                          Cr     10,000
    (Document Number 2000010, Type KZ)
    then i manually selected these two documents and cleared them and a document 5000010 was generated by system. now for some reason i need to change the status from cleared documents to open again. for this when i go to FBRA and give any of the three document (1000010,2000010 or 5000010) for reset the system gives me an error that document XYZ is not a clearing document. what i understood here was that i was suppose to provide document number 2000010 in FBRA so that documents can be open again because this is the clearing document.
    this has messed up my concept of clearing document in system. what is the use of document number 5000010 which is automatically generated by system? when i view it it shows me some other posting and not one related to this transaction. help pleas. and how can i reset the document in FBRA?
    What am i missing here?
    Regards,

    Hello,
    This has messed up my concept of clearing document in system. what is the use of document number 5000010 which is automatically generated by system? when i view it it shows me some other posting and not one related to this transaction. help pleas. and how can i reset the document in FBRA?
    There is nothing to worry about the concept. The concept is when you posted the expenses the document 1000010 was generated and when you posted the payment to bank for this expense the document 2000010 got posted. When you cleared both the documents manually the clearing document is 5000010 posted.
    Now you want to set the status open for the cleared item as suggested above use FBRA with documnet num 5000010.
    But now the question is had you already cleared the bank account also. if not then this will not be a problem for you. If yes then you had to reset the doc num generated while bank clearing then you can reset the doc num 5000010..
    Hope this may help.
    Thanks,
    Chetan Ahuja

  • Reset of clearing documents with open items managed accounts

    Hi,
    I posted OI clearing document in Nov 2013 and had to reset it in March 2014. This rest impact my 2013 balances. Does anyone know why this document has been reset with old period? thank you

    Hi Sevinj,
    if document got cleared with some fx difference yes there will be impact if it's cleared without any fx diff there will not any impact in books.
    T-code FBRA.
    Regards,
    Raman

  • ICR: FBICS3 selects cleared documents and old documents

    Hi, I have just gone live with ICR functionality (processes 002 & 003) and I have notice that FBICS3 transaction is not working as I expected:
    1/ "Old documents": If I set in the program FBICS3 "year = 2010" & "month = 01"" I expected that the program would select document posted on period 1 year 2010. The reality is that the program has selected data from 2007 to now. I am surprised but probably the problem is that I did not understand how FBICS3 select data.  I assume It is correct and was my error. Since fiscal year and period are used to determine the key date of open items (open items "opened" at mm yyyy).
    2/But my real problem is that FBICS3 has selected cleared items and shows them on FBICA3 which I am sure is not correct.
    Does any body know if there is a SAP note that applies on this issue?
    Thanks a lot

    In order to give more information:
    I have already implemented following SAP Notes
    1159776     ICR: Select data from newGL     FI-GL-GL-G
    1235689     ICR: Runtime error TSV_TNEW_PAGE_ALLOC_FAILED     FI-GL-GL-G
    1337276     ICR: Cleared documents are not deleted     FI-GL-GL-G
    Thanks in advance for your help

  • Document line item text in Clearing document

    Dear All,
    Document line item text
    My client want the vendor invoice line item text(BSIK-SGTXT) to be captured in the corresponding clearing document line item text field(BSAK-SGTXT).
    (i.e) The vendor invoice and its payment clearing document should have the same text in the document line item text filed.
    According to me i can use  a substition rule and a user exit to assign the values. but here comes a problem* i have one clearing document against 3 to 4 vendor invoice documents* so my programming logic has got stucked here? like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here.
    Thank you
    Regards,
    Vasanth D

    like which vendor invoice line item text the clearing document should pick up?
    is there any other enhancements possible or can some one help me with the programming logic to be applied here
    Why don't you discuss the issue with your client?  As you said, if you pay 5 invoices in a single run, the payment document item text can't carry all of those texts unless you use the long text.  What is the reason for the requirement?  Perhaps there's another solution.

  • Split payment document  by cleared document

    Split payment document  by cleared document
    hello, do you know if it s possible the following requirement:
    when posting a manual payment (F-53) my client would like to have bank line item splited by cleared document (invoice). Usually, you can clear several invoices with one payment (bank line item ) but my client wants to have the bank line item splited in several line items by the corresponding invoice cleared
    example
    now (allways)
    40 vendor's invoice 1 100
    40 vendor's invoice 2 200
    40 vendor's invoice 3 300
    50 bank                    600
    future
    40 vendor's invoice 1 100
    40 vendor's invoice 2 200
    40 vendor's invoice 3 300
    50 bank 1                  100
    50 bank 2                  200
    50 bank 3                  300
    I think that is not possible by the way...
    cheers!

    Hello
    I have defined the Splitting method as following:
    Z000000001 Splitting:
    Business transaction           1000       Payments
    Transaction variant            0001       Standard
    Item category                  01000      Balance Sheet Account
    As I want to split bank account in manual payments  I set Business Transaction as Payments, Transaction Variant as 0001...
    Do you know how I can define that splitting of bank account in payments will be done based in invoice number?
    The payment for the above vendor invoice then contains the following
    items when entered:
    PK         Account               Amount
    50          Bank                    -100
    25          Payables               100 (clearing 2 invoices 50 each)
    Document splitting then creates the following document in the General
    Ledger view:
    PK        Account     Split (invoice)  Amount
    50          Bank            INV1          -50
    50          Bank            INV2          -50
    25          Payables      INV1          50
    25          Payables      INV2          50
    I do not know how to configure that or is it possible. I have not seen "document" as  Define Document Splitting Characteristics...
    Help will be rewarded...

  • Automatic payment program; reversal of a reversal of the clearing document.

    Hi All,
    I created a vendor open item and cleared it using APP. lets say clearing document no. is 1. I reversed it using FBRA and the document no. is 2.
    now I tried to reverse the document no. 2.
    in one scenario, where there is a FX difference when posting document 1, reversal of document 2 not happened.
    in other scenario, where there is no FX difference, I was able to post the reversal of 2.
    is this standard behavior? in the first scenario I wasn't able to post the reversal for Doc.2 is it because of FX gain/loss only? can't we post reversal of Doc. 2 if there is a realized FX difference gain/loss?
    Regards,
    Sreeni.

    Hello Sreeni,
    The standard SAP behaviour should allow FBRA on Doc.2 even when FX gain/loss has been posted as I had done it already.
    Things to take note are, the respective reversal document type had been defined and number range has been set up properly.
    Kind regards,
    John chin

  • Down Payment Clearing Document shows as open item

    Hi,
    I made an Down Payment Request (f-47) for $ 1000; made a Down Payment on that request (f110) for $1000; posted an invoice (fb60) with $ 1000; cleared the down payment and invoice (f-54) for $1000.
    Now in vendor open item s(fbl1n), both invoice (KR) and the clearing document (KA) are shown, while in cleared items, the down payment request (KA), down payment (KZ) and the clearing document (KA) are shown.
    My questions:
    1) Why the invoice and the clearing document are shown as open items?
    2) Why the clearing document is shown as both open item and cleared item?
    Thanks in advance
    Edited by: Ming Cao on Mar 1, 2010 7:21 PM
    Edited by: Ming Cao on Mar 1, 2010 7:23 PM
    Edited by: Ming Cao on Mar 1, 2010 7:24 PM
    Edited by: Ming Cao on Mar 1, 2010 11:27 PM

    Dear,
    Do not worry this is standard behavoiur by the system..see the below flow...
    1. Create down payment request - F-47. (Open)
    2. Create downpayment from the request F-48. (Down payment is open)
    3. Clear downpayment F-54. (Invoice and payment are open in normal items and Downpayment and requests are cleared. So downpayment came to normal items.
    You will need to clear these items manually...
    Regards,
    Chintan Joshi

  • F110 : program name of posting cleared document during F110

    Dear all,
    I need to figure out the "PAYMENT DOCUMENT SPLITTING" issue after F110 via debugging.
    I believe the main program for F110 is SAPF110V and SAPF110S is the program handle the posting. However, after I put the break point in  SUBMIT SAPF110S AND RETURN in SAPF110V, then do step by step debug. Debugging doesn't go to SAPF110S. I am not sure what's wrong.
    Can anyone tell me the program name that post cleared document during F110 processing?
    Thank you very much for help in advance!!
    Molly
    Edited by: Molly Li on Jan 26, 2008 2:41 PM

    Hi Sruthy
      I guess you have missed populating field STYPE in each of the records which identifies the actual structure.
      Below is how you have to pass for them:
    <b>Struc --> Value
    BGR00 --> 0
    BBKPF --> 1
    BBSEG --> 2</b>
    Kind Regards
    Eswar

Maybe you are looking for

  • Installed iweb as part of ilife06, application iWeb quit unexpectedly

    Hi all, I hope you can throw some helpful advice at me! I have just purchased iLife06 to use iWeb, installed it, patched it, and launched it. 10 seconds in I get a application iWeb quit unexpectedly box, the report box contains this load of geektalk:

  • AED and SED values are not flowing into Order

    Dear Gurus, We are using ECC 6 and TAXINJ. We did all the CIN configurations to the best of my knowledge. JMOD is flowing normally. But AED & SED are not. UTXJ is coming as also JIN6 (VAT), E Cess and S&HECess. We dont have Cess in the client's compa

  • How  to Specialize loan to some employee subgroup

    how can I Specialize loan to some employee subgroups? for examole if i want to define some groups of employees that can have an opportunity to have a loan but not others I mean for example retired employees can have one type of loan and some other pe

  • I am  having  issues  with java

    OK well I finally got  the java update to full load and it stated that it was corrupt or something like that and now I can not get into my favorite chat room it says I need to get java ..   when I go to the link to  re get a update to java it says I

  • 10.2.1.2991 software release

    Where can I find info on the features, fixes, etc with 10.2.1.2991 software release....thanks!