BSAS - BSEG for cleared document

Hi financial abapers,
in table BSAD we have clearing documents for the goods/invoice received account.
In field AUGBL is the doument no. cleared.
But I do not see the fully specified key BUKRS BELNR GJAHR BUZEI for the cleared item.
How to referce it correctly and uniquely?
TIA,
Regards,
Clemens

BSAD has cleared documents.
AUGBL is the clearing document and AUGDT has the business year in it. Company code is always the same as documents company code.
A clearing document has two line items with the balance of all cleared items. The two items mutually clear one another.
The cleared items can be found from FB03 via menu environment - payment usage.
I know that the clearing document number can be found in cleared line item BSEG-AUGBL.
The document number and line item are in BSAS togehther with clearing docuemnt number.
And FYI: BSIS has the same structure as BSAS but AUGT and AUGBL are initial because only open items are in BSIS. If you reset a clearing, the line will move from BSAS back to BSIS.
Regards,
Clemens

Similar Messages

  • Nil balance for cleared document

    Hello Experts,
    I want o/p like :
    Debit     Credit     Balance     Clearing document No
    200000               1200000
         200000-     Nil     1200000
    100000               
         50000-          
         25000-     25000
    Can anyone plz tel me how to calculate balance so that i can print "Nil" for cleared documents.
    Thanks,
    Manisha
    Edited by: PATIL MANISHA on Aug 5, 2010 8:57 AM
    Edited by: PATIL MANISHA on Aug 5, 2010 10:57 AM

    Hi,
    Please confirm the key field for which you are doing the report. for instance, in your case hope you are considering the document number.
    Just sum up the debit & credit value. If it is 0, then assign -nil- to the balance. Otherwise, the amount. In your case -
    200000               1200000
         200000-     Nil     1200000
    200000 + (-200000) = 0 & hence -NIL.
    Regards,
    Selva K.

  • How to calculate the amount for cleared documents.

    Hi Experts,
    I am working on a program and here i need to display the amount for the cleared document.
    I have a scenario where there are two financial document related to a single cleared document.
    I can get the amount for financial document from BSAK by passing the BELNR value of the financial document and confirm if it is a clearing document by comparing AUGBL value of BSAK with document number of cleared document.
    Actually i am not very clear about the process flow of clearing document.
    If anyone can explain me the same.

    Hello,
    Go through this links it will help full
    http://help.sap.com/saphelp_sbo2004c/helpdata/en/fd/25f4c6d8888e40a521972d0be5d68b/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/e5/0783e84acd11d182b90000e829fbfe/frameset.htm

  • Badi for clearing document

    Hi,
    I'm looking for a Badi/method, user-exit able to
    activate when clearing document is processing.
    Thank
    Alice

    Hi
    What do you need to do? Perhaps there's a BTE, but you should explain exactly what you would like to do.
    Max

  • BAPI for clearing documents -Using Transaction F-44

    Hi all,
       Is there any BAPI which can be used for clearing docs using transaction F-44.
    I have already seen threads on SDN for the same but couldn't find any BAPI.
    Regards
    Taranam

    I have the same question as you ,  please tell me if you had known , thanks !
    Edited by: HB WANG on Mar 4, 2008 4:08 PM

  • Attachement for clearing documents

    Hello!
    I want in a ABAP program send a SapScript form to the SER archive and the attach the archiv shortcut to the clearing document.
    As I understand it, I must only attach the form into the attachmentlist of the clearing document. SAP send the form then the form automatically to the archive.
    I tried to debug the standard but do not find somthing there.
    And I tried to find a function module with the same result.
    Thanks and Regards,
    Miriam Gerstacker

    I have the same question as you ,  please tell me if you had known , thanks !
    Edited by: HB WANG on Mar 4, 2008 4:08 PM

  • No FM payment update (VT57) for clearing documents

    Hello all,
    I have payment updat online active, and I'm trying to post a payment after a FI clearing, but the system is not able to find the invoice posted in FM and create value type 57.
    Basically, I'm posting an account payable but still don't know which vendor I must pay in this moment.
    FB50:
    Debit: Expense (commitment Item 30/3)
    Credit: Accounts Payable (Commitment Item 60/3)
    Value type 54 is created.
    After I find out which vendor I must pay, I'm posting the vendor invoice against the account payable account posted before.
    Debit: Accounts Payable (Commitment Item 60/3)
    Credit: Vendor (Commitment Item 60/3)
    When I make the payment of the vendor, the systems shows two warning messages (FICUSTOM114 and FMUP027) and pays the invoice. Although the payment is ok, as the systems does not find the FMinvoice, the FM reports are inconsistents, the payment is not reflected in FM, and the Value Type 57 (payment) is not posted.
    If I post the expense directly for the vendor and pay the invoice, the systems is fine and the Value Type 57 is created.
    Did you have this issue before? Waiting for your comments.
    Best Regards,
    Carlos.

    Dear Eduardo,
    I'm trying to understand your query above, but I’m confused with your below statement:
    "Basically, I'm posting an account payable but still don't know which vendor I must pay in
    this moment. FB50"
    As per your explanation this is not the system issue, actually you are not following the appropriate process, e.g. if you don't know the vendor, and you must want to pay, which is strange.....
    In practical if you don't know the vendor, it’s the situation of Accrued expense: expense is recognized before cash is paid out.
    Accrued expense is a liability whose timing or amount is uncertain by virtue of the fact that an invoice has not yet been received. The uncertainty of the accrued expense is not significant enough to qualify it as a provision. An example of an accrued expense is a pending obligation to pay for goods or services received from a counterpart, while cash is to be paid out in a latter
    accounting period when the amount is deducted from accrued expenses.
    For monthly reporting you have to show this expense, for the month its belongs, so in this case I would suggest use SAP standard functionality Accrual/Deferral and book this entry at month end by T.Code: FBS1, e.g. reporting month is May, then post this entry posting date May 31,2014 and give reversal date 1st of June 2014.
    FBS1: Posting Date: 31-04-2014
    Debit Expense                      XXXX
                  Credit Accrued Expenses (B/S GL)              XXXX
    Reversal 1st day of June: 01.06.2014
    Execute T.Code F.81 1st day of June, you can schedule it also, then system will read the reversal date form original accrual document and post the following entry.
    Debit Accrued Expenses (B/S GL)    XXXX
                Credit Expense                    XXXX
    Later on you when received actual invoice, let’s say on 25th of June you received the vendor invoice:
    T.Code FB60
    Debit Expense XXX
                              Credit Actual Vendor
    Then make payment by F.53 or F110, in this way you will have track of your expenses, AP and FM reporting, and I hope there shouldn't be any problem at all, as long as it won't exceed your budget. 
    Kind Regards
    Javed

  • FBL5N - cleared document display by 'Open at key date'

    We are on ECC 6.0 and have recently upgraded from SP9 to SP15 in Financials. The users are saying that the report S_ALR_87012198 (which works the same way as FBL5N transaction) is now displaying the cleared documents differently.
    For example, we have the following documents:
    - invoice (RV) with posting date 11/01/09 and clearing date 11/20/09;
    - payment (DZ) with posting date = clearing date = 11/20/09.
    When the users run the transaction or report for Cleared Documents by using Clearing Date 11/20/09, both documents are displayed. However, when the users run the transaction for Cleared Documents by using 'Open at Key Date' 11/20/09 then only invoice (RV) is displayed.
    The documentation suggests that 'open at key date' should include items that are open before or on the 'key date'. Also our users are saying that it used to display both documents with 'Open at Key Date' before the service pack upgrade, but, unfortunately, we're unable to verify this.
    Could someone with lower version please verify how 'open at key date' option works for cleared documents? And is there any documentation that explains this?
    Thank you.

    >
    NSRobert wrote:
    > as the standard sap doesnt display the cleared and open items on "Open at key date"
    Thanks for your reply. Just to clarify - there are two 'Open at key date' fields in FBL5N. First field pertains to the 'Open documents' radio-button and second field - to the Cleared documents radio-button. When the users choose 'Cleared documents' and fill in the second 'Open at key date' field, they expect to see the items that are currently closed, but that were open on the specified key date. And SAP does, indeed, display them, just in a rather strange manner (it seems that DZ document is never "open", according to the screen's logic).
    It seems that we'll need to write to SAP for clarification, but I was hoping that someone could at least verify whether this, in fact, has anything to do with the support packs.

  • Reporting for clearing, residual and payment of AR documents

    The request is to create a report (ALV) that will show the billing document/accounting document, the clearing document with amount, the residual document with amount and if it is a shortpay.
    The BSEG and BSAD tables have been looked at but some cases are not easy to break apart to code.
    Is function module available that will generate this information?
    Much appreciated!

    BSEG provided all the answers, but the coding to get all the required information is tricky and complex.
    Start with the invoice document and get the clearing document. This could be a DZ or an AB. If an AB, go back to BSEG and find the DZ using the clearing document. Finally, get residual using the AB where the document is both the clearing document and the document number.
    Many variations can exist so be sure to check for business process on how clearing is accomplished.

  • Table for reversal clearing document

    Dear Expert,
    Can any one give me the table name for reversal of clearing document.
    Regads
    SKK

    Hi,
    All financial documents are stored in BKPF (header) and BSEG (lines) tables. Keep in mind, that some clearing documents have no lines, thus no entry in BSEG. Whether the document was reversed you can see in BKPF-STBLG field.
    Regards,
    Eli

  • Document splitting: Items for clearing 0010/100062508/2010/001 not found

    HI Gurus,
    I hava issue with FC valuation. I have done configurtin for FC Valuation of GL A/c i.e, Long Term loan paybles which is created as Open Item management.
    It is working fine post the entries at the end of May and reversed  the same on 01.06.2010 in development system. i have moved saem request to Acceptance client and testing the same scenario.  But i am getting the following error.
    "Document splitting: Items for clearing 0010/100062508/2010/001 not found
    Message no. GLT0002
    Diagnosis
    Document splitting cannot perform clearing because it was not possible to find complete splitting information on the items to be cleared (company code 0010, document number 100062508, fiscal year 2010, item 001).
    System Response
    Clearing cannot be performed and the document cannot be posted.
    Procedure
    Exclude the affected item from clearing.
    It may be that this item was not posted with active document splitting. In this case, this item or document would have to be migrated."
    I have checked the docuemnt splitting config . In two systems it was same and doc.splitting was configurated very long back.
    Could any one help on the above error
    Thanks in advance
    PAVAN

    Hi Pavan,
    Please note the following, the error GLT0002 is normally caused by a change done in your customizing for splitting. Since you mentioned that this is happening for one company code, it seems to be that one change was made only for this company code in your SPRO settings.
    For example if you have activated open item managment subsequently on account or another example would be that you posted document prior to activation of document splitting.
    Please see section 5 of note 891144:
    Items posted while open item management was still inactive in G/L account master data cannot be cleared after open item management has been activated subequently if New G/L document splitting is active.
    Therefore, if document splitting is active, open item management should never be activated subsequently on accounts to which documents had already been posted with inactive open item management.
    Review note 891144 in full. I believe that this will help you resolve the issue.
    Best Regards,
    Vanessa.

  • Document splitting: Items for clearing not found

    Dear All,
    I have created bank gl without tick of open item management now i have activate OIM &  Transcation exisit for the same
    I have done it as given below:
    1) I have made GL balance Zero by posting an additional entry by F-02 (document type SA)
    2) Block the GL for posting
    3) though help of programe RFSEPA02 i have done the same.
    Now the GL is OIM
    Now i have to reverse the additonal entry pass to make GL balance zero
    At the time of reverse through FB08 system gives an error massage
    *" Document splitting: Items for clearing not found"*
    Please any one help to resolve the issue
    Thanks
    Vijay

    Dear Gladys xing
    Thanks for your reply,
    I have also done the same thing by passing one more entry to create the same balance.
    When i am trying to clear open item for the both the extra entry system gives an same error
    "Re: Document splitting: Items for clearing not found"
    is this possible to clear that open item through F-03
    Thanks
    Vijay

  • FBR2 generate reverse posting for a cleared document

    Hi,
    I am using the transaction FBR2 to generate a reverse document for an existing document.  There are several GL accounts in the original document but when i generate the reverse document system could populate lines only for the GL accounts where the original document was not reversed.
    Any inputs how to geneate the whole reversal document.
    Regards,
    Haranadh

    Hi
    First of all let me know are you trying to Reverse already Reversed Document OR trying to Reverse a Original Document.
    If you Reversing the Original Document what ever may be the No. of Line Items, Document will get Reversed. Use FB08 for this.
    1. Individual Document Reversal --->FB08
    2. Reversal of Reversed Document --->FBR2
    3. Reversing a Cleared Document --->FBRA
    Regards
    Venkat

  • Reset Cleared document for multiple docs

    Deal all,
    There are around 699 documents which were cleared using a particular document number( only one ).
    Now the user wants to reverse all these documents . As these docs are cleared , we cannot reverse these docs.
    Can we reset the clearing document using FBRA ? If i reverse that clearing document,can i then reverse all the 699 documents?
    Thanks
    Srikanth.

    Hi
    As you said there are around 699 documents which were cleared using one document.
    FBRA is used for Cleared Item Reversal.
    Go to FBRA give that Clearing Document Number , company code and fiscal year and save.
    select Resetting and Reverse button.give Reversal Reason.
    Document will be Reversed.This means that the Clearing Document will be Reversed and also all the 699 documents which are cleared by that single clearing document will become Open Items.
    That is the meaning of Resetting.Reversing the Cleared Document and Resetting the Original Open Items.
    There is no need of Reversing all those items seperately.
    Regards
    Venkat

  • Separate clearing document for each invoice wise while posting F-36

    Dear Experts
    I am posting F-36 Bills of exchange transaction for invoices. I am receiving one BOE for multiple invoices.
    Requirement is while saving document system should give separate clearing document for each invoice wise.
    Pls guide me
    Thanks in advance
    Sneha

    Hi,
    It is not for dunning.
    The F1 text for your understanding.
    Key for Payment Grouping
    Definition
    The grouping key represents a rule according to which the open items of the account are to be grouped together for payment.
    Use
    The grouping key is used in cases where you do not want all the open items of a customer or a vendor to be paid together but rather you want only those items which belong together to be grouped into a single payment. A maximum of three fields from the open items are defined for every grouping key; the contents of these fields must correspond in order that the open items can be paid together.
    Examples
    If you use loan management, you can define as a rule that only items with same loan number can be collected together by debit memo.
    Regards,
    Ravi

Maybe you are looking for