Link between invoice no and payment clearing document no

Hi sap gurus,
in a reoprt i have to show the payment receive date against the invoice no. i can have the invoice no by customer no (KUNNR) and date range. now i am facing problem how to link invoice document no with payment clearing document no. Because while receiving payment from customer (t code F-28) we are receiving against a invoice. But i checked in BSEG,BSID BSAD but nowhere i was able to track the linkage. Please help.
regards,
BKR

In billing document at header level,  you can see two fields, viz.
a)  XBLNR   Reference Document Number  and
b)  ZUONR   Assignment number
These two fields you can see in FBL5N.  Whatever copy control you set in VTFL at header level for these two fields, based on that values will be populated in billing document which will then be passed on to FI just for information.
But these two fields are not stored in any table but in structure.  However, you can check in BKPF with field XBLNR which will have link between VBRK (billing document ) and BKPF (Accounting document)
thanks
G. Lakshmipathi

Similar Messages

  • Link between invoice number and accounting document number

    Hi Frnds,
    When i receive a partial receipt (of an invoice) from a customer, i am getting the link between invoice number and accounting document number from a table (BSEG), but when i am receiving the final settlement amount from the customer, i m not getting the link between the inv. no. and accounting document number. Can anyone tell me how can i get the same?

    hi
    try these tcodes
    FBL5N
    FB02
    regards

  • Link between invoice number and material document number

    I need a way to get the list of material document numbers which correspond to a particular invoice.  Is there a way to find this information?  I am looking [looping] at table EKBE during a user exit in SAPMV60S but I need to restrict the entries by a range of (multiple) material document numbers.
    Regards,
    Davis

    It looks like you're missing a piece of code.
            SELECT SINGLE * FROM BKPF WHERE BUKRS = Z_EKKO-BUKRS AND
    *                                       BELNR = EKBE-BELNR AND
                                            AWKEY LIKE X_KEYFLD AND
            CHECK SY-SUBRC = 0.
    The SELECT just ends at the "AND".
    Should there be another line after the "AND"?
    You said you had an invoice number; why can't you use that in your WHERE clause to limit what is returned from BSEG?
    What field are you using for the invoice?
    I had mentioned BKPF-XBLNR before, which we use to store the vendor invoice on a PO, but what you are doing sounds different.  Are you referring to an invoice that you created?
    I think that this might be in BSEG-REBZG, and you should be able to filter on this field.
    Shouldn't such an additional filter give you what you want?
    e.g.
    if the invoice specification is a single value:
    * Getting the Vendor Invoice header data
      SELECT SINGLE * FROM bseg WHERE bukrs = z_ekko-bukrs AND
                                      belnr = bkpf-belnr AND
                                      hkont = '0000416000' AND
                                      rebzg = invoice
    or, if the invoice specification is a range or list:
    * Getting the Vendor Invoice header data
      SELECT SINGLE * FROM bseg WHERE bukrs = z_ekko-bukrs AND
                                      belnr = bkpf-belnr AND
                                      hkont = '0000416000' AND
                                      rebzg IN s_invoice
    If you are not using rebzg, then do the same against whatever field you are using.
    Good luck
    Brian

  • Link between inv. number and accounting document number

    Hi Frnds,
    When i receive  a partial receipt (of an invoice) from a customer, i am getting the link between invoice number and accounting document number from a table (BSEG), but when i am receiving the final settlement amount from the customer, i m not getting the link between the inv. no. and accounting document number. Can anyone tell me how can i get the same?

    Hello,
    Try to prepare query based on tables BSIK, BSAK and BSEG. (Transaction code SQVI)
    Regards,
    Ravi

  • 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

  • Link between Invoice verifycation number and Accounting Document number

    Dear All
                   I want the Link between invoice verifycation number (MIRO) an accounting document number the same MIRO. in which table the both two numbers avilable.
    How can identify. can any one tell me the table name for this
    Regards
    Kumar.

    Hi..
    What is the link or join condition for these two tables
    BKPF and RBKP. and RSEG and BSEG.
    In this i want to Accounting document number and invoice verifycation number in a single report.
    Regards
    Kumar

  • Is there any link between movement types and documents

    hi
    is there any link between sales doc and movement types ?
    is it the only source dependig on schedule line movement type will determined?
    if with out order we are doing delivery how system will determine movement type
    Thanks in advance

    Hi,
    Deliveries that are created without reference to order , contained movement type because to process a delivery you need to have some of the control criteria that are copied from sales document header to delivery document header, as system processes delivery in that way ,that is why you will find default order type is assigned to the delivery document type ie DL. .which helps the delivery document to process without reference to sales document.
    In Addition to above information,
    In VOV4,
    DL+ NORM +   +    -DLN
    In VOV5,
    For Itemcatagory DLN+        --CN
    From this schedule line category CN,movement type 601 is taken during without reference to order –delivery creation.
    MCM

  • Link between outbound delivery and matriel documents of good receip

    HI,
    in which table we can find the link between outbound delivery and matriel documents of good receipt.
    thanks

    Hi!,
    If you have posted a goods receipt for an outbound delivery, you should find in the header table MKPF for the material document the field MKPF-XBLNR completed with the outbound delivery number.
    Then, if the document flow for the delivery has been updated correctly, in the table VBFA for the delivery (VBFA-VBELV), you should find the material document under VBFA-VBELN.
    I hope this helps you!
    Best regards,
    Esther.

  • Link between service order and terms of payment

    Hello experts,
    can anybody tell me the link between an order and terms of payment of the current buyer? Which tables do I have to join? Or is there any function module to use for that purpose?
    Very urgent!
    Thanks in advance
    Tanja

    Hi Tanja,
    instead of directly selecting some data from the DB tables you should read this information via the BOL (c.f BOL Programing - CRM - SCN Wiki for a short introduction).
    Using the transaction GENIL_MODEL_BROWSER you can browse through the data model and find the suitable relations for reading the required data. In your case one possible approach to access the data is BTAdminH->BTHeaderBillingSet->BTBillingSetBuAg. Once you have the BuAg BOL object you can simply read the TOFPAYM property.
    Best,
    Christian

  • Link between f-48 and Miro

    Hi
    I have posted advance payment in f-48
    and Invoice verification also over in MIRO
    Then how we can give link between f-48 and MIRO

    Hi,
    You have posted down payment, so this amount remains in separate recon. a/c with special GL indicator.
    First of all you have to transfer/clear this amount to normal GL account through transaction F-54.
    If you have received full inv. amount as advance, you can clear both Inv & Payment line items.(F-44)
    Otherwise you have to clear these line items when you receive remaining bal. amount of the invoice.
    Rgds
    Murali. N

  • Link between Credit Memo and Dispute Case

    Hi,
    Please help me. How to Link between Credit Memo and Dispute Case
    Thaks,
    Vinod.

    Linking a credit note has nothing to do with EHP4 or 5. You have to do a config sertting:
    Dispute Management-Process Integration with Accounts Receivable Accounting-Assignment of Open Credits and Payments-Activate Assignment of Open Credits and Payments
    And make sure the business adapts the correct process:  When you reverse a charge on a debit invoice you have to make sure the credit is properly linked to the debit note.
    If this is the case then the credit will show up in the dispute case.
    Rgds,
    Richard

  • Cash desk and payment lots documents not updating in DFKKOP table

    Dear Experts,
    I have noticed that my cash desk payments and payment lot documents are not getting updating in the DFKKOP table. I have identified that for this documents, the document class is updated with "1" which means "Document does not have FI-CA items".
    But, the postings where shown in the FPL9 transactions and clearing is happening as per the settings and requirements.
    So please update me, on what basis the system would determine the document class for the document types in contract accounting..
    Your inputs on this issue will be really helpful for me.
    Thanks
    Aditya Viswanath

    Hi Aditya,
    In a simple word, whichever documents are posted with MAIN/SUB creates a new row in DFKKOP with document number in DFKKOP-OPBEL.
    If a payment is posted as an open credit item, it should be there DFKKOP-OPBEL field and BETRW and BETRH will be populated with payment amount.
    However if a payment is posted as a clearing document against a debt, system updates that row of DFKKOP where DFKKOP-OPBEL is the cleared document number (debt, mostly an invoice). Clearing document (DFKKOP-AUGBL) of that row is updated with the payment document number.
    In either of the cases DFKKKO and DFKKOPK are updated and below are the reason.
    DFKKKO - document header level information (as who created, at what time, origin key, reco key etc.)
    DFKKOPK - (GL level information of the document)
    For payment lot and payment document related information you can refer DFKKZK, DFKKZP and DFKKZPT tables.
    Hope it clarifies your query.
    Thanks, Bodhisattwa

  • Link between Schedule lines and delivery quantity

    Hi all,
    At the item level in a sales order, can anyone tell me the link between schedule line data and delivered quantity.
    Schedule line data can be found in VBEP and delivery qty can be found in LIPS. But I want the link between the two. For which partcular date in the schedule line item the delivery qty is displayed.
    Thanks in advance.

    Hi Amol and Rahul,
    Actually I dont want the link between sale order and delivery, I want the link between schedule line dates and delivery qty.
    Hope I am clear.
    Thanks in advance.
    Edited by: Rajini R M on Sep 11, 2008 6:12 AM

  • Link Between Service Notification and Sales Order

    Hi All,
    In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
    Please guide me.
    With Regards
    Vinu.N

    Hello Vinu
    For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
    Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
    That is a solid link right there.
    I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
    Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
    Hope this helps.

  • Bank statement and bank clearing document splitting

    Hi,
    We have main bank and bank clearing accounts classified as cash category.
    Our bank statement uses a Z document type that posts transactions such as:
    - debtor to main bank
    - vendor to main bank
    - expense to main bank
    - revenue to main bank
    Thereafter, the bank clearing that is done between main bank and bank clearing account (so a cash to cash rule is needed based on the GL account classification)
    We needed to use an unspecified posting rule to cater for the bank statement posting as the standard did not allow us to add vendor, debtor, expense, revenue as base item categories. But it doesnt allow us to add cash to cash.
    How should we configure document splitting to cater for this?

    Hi ,
    First of all  i hope you are clear with the concept of Incoming , otugoing and main bank account that we need to create 3 or more diffrent bank accounts for reconcilliation purpose .
    the case here is that you cant to do a manual statement upload then in that case you will have to take care of following things .
    How is the information transferred from FICA to FICO means along with the reconcilliation key what else information are you passing on to FI in the documents .
    Secondly in the bank statement are you getting the reconcilliation key ??? or what information are you getting in the bank statement ???
    because the integration of FI and FICA is the reco key and it becomes very crucial for you to have the same in the bank statement .
    thirdly , Use the manual reconcillaiton functionality provided in FI for reconciling the same , where in you will have to configure the manual bank statement functionality and by using the T code ff67 you can reconcile it .
    Hope this suffices the prupose .
    Do revert back in case of any other queries .
    cheers ,
    dewang

Maybe you are looking for