Derive logistic invoice numebr to clearing document

Hi Dear,
As we know the logistic invoice number will be populated to reference key in FI posting header(BKPF-AWKEY) when MIRO.now lets say we have AP with 1000 USD,value of  reference key is 8000000000.i use residual payment to pay 200 USD on AP of 1000 USD ,then there is new open AP of 800 USD auto created in clearing document, and the previous open item 1000 usd cleared.but i want to derive logistic invoice number in originally open AP to that new create clearing document.any idea?
thanks in advance

Hi,
Derivation of logistic invoice no can be possible with substitution, but you need to set call point "3 - Complete document" . Then with the help of technical resource use User Exit / BTE (BTE is better option) which would collect the reference key from source document (LIV document) and pass it on to the target document (clearing document).
Please also refer 1) RGGBS000 Exit Routines for Substitutions
2) Transaction code FIBF for Business transaction events (BTE)
Hope this would help.
Best regards,
Parag

Similar Messages

  • 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

  • Clearing Document in AR

    Hi All
    we are trying to develop a report for fully cleared AR items
    currently, as per the process,
    we have an open invoice from billing, then we receive an on account payment which we record thru F-26 without matching it to any invoice.
    After which, we go into FB15 and match the open credits with the open debits.... this generates a new doc number and any balance between debits and credits is charged back to the customer.
    The BSID table captures values even when it is partially paid - i want to knw how to differentiat between a fully paid invoice and a partially paid invoice
    thank u
    Rukshana

    Hi,
    If you are not using residual mode of applying payment, you can differentiate partial from fully paid invoice from the table where the document appears.  If the invoice appears in BSID table, it is partially paid, no clearing document number against the invoice, but if it is fully paid, it will be removed in the BSID table and be transferred to BSAD and your invoice has now clearing document number.
    Hope this helps you.
    Thanks,
    Rod

  • Doubt in clearing document

    I'm having a problem with a clearing document that I pay for exemple 03 diferent invoices of the same vendor so I generate in the transaction F110 just one clearing document. In this document should apper a posting like this
    Invoice 01   Clearing document 01
    Invoice 02   Clearing document 01
    Invoice 03   Clearing document 01
    But the sistem is adding the value of the invoces like this
    Invoice 01  Clearing document - With the total of 01,02 and 03
    Invoice 02
    Invoice 03
    Please do somebody know where I can configure the system to post one line to each invoice in the clearing document in F110
    Tks and Regards
    Roger

    Rogerio,
    I think the problem you are facing is that in Automatic Outgoing Payment settings,  you have configured that payment method generates grouped payments.
    In order to correct that you should change the following:
    Go to IMG:  Financial Accounting --> Account Receivable/Account Payable --> Business Transactions --> Outgoing Payments --> Automatic Outgoing Payment --> Payment Method/ Banl Selection for Payment Transactions --> Set Up Payment Methods per Company Code for Payment Transactions
    Select (Double click) on the payment method in your Company Code. Once displayed, look for the section ' Grouping of items'. If the check box ' Single payment for marked item' is UNCHECKED, then that's waht is causing the the payments to be grouped. So you should CHECK it and every line item paid with this payment method would generate an individual clearing document.
    Hopes this helps, if it does please award points.
    Thanks,.
    GG

  • Payment to Vendor, clearing document and relative invoice

    Hi experts.
    I have this doubt: if i have a payment in BSAK table that clear different invoices.
    So which field on BSAK table for a payment permit to derive uniquely each invoice?
    Thanks a lot.
    Regards.
    Andrea

    Sorry,
    perhaps i am not clear.
    So , i have an payment in BSAK
    blnr buzei AUGBL  
    50     1       50
    50     2       50
    So , if the field REBZG is blank, how can i link each payment uniquely to an invoices? So, in this scenario , the clearing document isn't sufficient because the relative invoice have the same clearing document.

  • How to get vendor and company code based on logistic invoice document

    how to get vendor and company code based on logistic invoice document in abap/4?

    Hello Kumar
    When you call BAPI_INCOMINGINVOICE_GETDETAIL using
    INVOICENUMBER = <number of invoice>
    FISCALYEAR = <fiscal year>
    the returned HEADERDATA contains what you are looking for:
    HEADERDATA-COMP_CODE
    HEADERDATA-DIFF_INF
    Regards
      Uwe

  • How to  Reverse the clearing document & cancel the invoice

    Hi gurus,
    Can any body tell me how can i reverse the clearing document?
    what happen i had wrongly put up the customer invoice with the special GL indicator (Advance from customer) & i had clear the invoice & special gl balance.
    Steps which i follow:
    F-29 - Customer Down payment
    F-22 - Customer Invoice
    F-28 - Customer Incoming Payment
    F-39 - Clear customer down payment
    F-32 - Clear customer payments
    when i tried to reverse the document (T.Code FB08) which give me error that reverse the clear line item.
    Please help me to overcome this issue....
    Than'x,
    Dhananjay R.

    Hi amit,
    Than'x for given attention. actually i tried this T.code FBRA, what happen which reset the invoice & clearing document.& i see the customer / vendor invoice as open item in display. when i tried to reverse this entry which is wrongly inputed in the system which i want to reverse. while reversing this entry again i see the balance of clearing document in the customer / vendor balance display.
    i couldn't understand how to cancel this entry from the system?
    Pls suggest me to overcome this issue.
    Than'x
    Dhananjay R.

  • 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

  • TABLE FOR INVOICE CLEARING DOCUMENT

    Hi Guys,
    What table will I use to view clearing document in Vendor with all the invoices applied and amount cleared?
    Regards,
    BTer

    Hi,
    Table = BSAK
    Fields -
    Clearing doc = AUGBL
    Invoice Doc = BELNR
    If you give the clearing doc number in the parameter screen, you will get the list of invoice documents cleared with the clearing document for the particular vendor.
    Regards,
    Mike
    Edited by: Michael Gerard Leo on Apr 16, 2009 9:36 AM
    Edited by: Michael Gerard Leo on Apr 16, 2009 9:36 AM

  • 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

  • Multiples invoices cleared with one clearing document

    Hello,
    Is it possible make one invoice that was cleared wrongly along with other open items?
    I don't want to reset clearing document because it will reset all open items and then i have to clear everything.
    I need only one invoice out of it to become open.
    Any help will be appreciated.

    Hi,
    Not sure.But I have a strong feeling this is not possible in SAP.
    Aravind

  • Differentiate between invoice and clearing document

    the table BSID and BSAD contains the details of both invoice and clearing documents.
    How to differentiate betwee invoice and clearing document.
    i thought that all debit documents are invoices and credits are clearing documents.
    But its not working because there are invoices which are credit and clearing documents which are debit.
    Please let me know if there is any indicator or field which

    Hi,
    No difference between invoice and billing document.
    But If we want to inform the payable to the customer we use the terminalogy invoice.
    Example Credit meomo, debit memo. etc ...
    As there is no difference , both have the same document types.
    thanks
    Kuntla

  • Tcode: MR8M---Logistic invoice verification'document can't be reversed

    Dear Experts.
    I have a logistic invoiceverification' document and use tcode:MR8M to reverse it ,but can't be reverseed ,the system issue the wrong information :"No reversal possible. Reverse value must be reset".please tell me how  I  should do? thanks!
    Fanny.

    Hello Fanny Chen,
    In certain situations, the reversal of posting documents may be cancelled with an error. This may, for example, occur in the following situations:
    The specified posting date is in a posting period that is already closed.
    At the time of the reversal, the posting of the original document had not been completed.
    Account assignment objects (for example, cost centers) which were posted to in the original document are closed at the time of the reversal.
    Posting items that were created by the original document are already cleared at the time of the reversal (for example to customer and vendor accounts).
    In your case it seems that the posting items that were created by original document are already cleared so you need to first reverse the cleared document which the system is trying to mean by saying"No reversal possible, reverse value must be reset.
    UNDER THESE CIRCUMSATNCE PROBABLY YOU NEED TO USE THE  TRANSACTION FOR WHICH ALL CLEARED DOCUMENT CAN BE RESET AND REVERSE
    1)     TCODE  :   FBRA
    2)     CLEARING DOCUMENT  :  ENTER THE CLEARED DOCUMENT NUMBER
    3)     COMPANY CODE  :  ENTER COMPANY CODE
    4)     FISCAL YEAR  :  RELEVANT FISCAL YEAR
    5)     CLICK THE SAVE BUTTON
    6)     IN THE NEXT SCREEN CLICK YES
    7)     THE SYSTEM WILL GIVE ANOTHER MESSAGE BOX WITH THREE OPTIONS : 
    ONLY RESETTING
    RESETTING & REVERSE CLICK ON THIS
    CANCEL
    8)     SELECT THE MIDDLE ONE I.E. RESTTING & REVERSE
    9)     THE SYSTEM WILL  ASK FOR REVERSAL REASON.
    10)     ENTER 01 AND THEN PRESS ENTER
    11)     THE SYSTEM WILL RESET THE DOCUMENT
    After this resetting is done you can use MR8M Tcode.
    Hope I had been able to help you. Please assign points and close the thread.
    Rgds
    \Manish

  • Table having the link between  Clearing document and the Invoice document

    pls can someone tell me the table that having the relationship between clearing document and the Invoice document.
    Thanx .

    Hi,
    You can try with the following tables: BSE_CLR, BSEG, BSAD, BSAK.
    Regards,
    Svetlin

  • F-04 Post with clearing - Document Splitting issue

    Hi Guru,
    In the system I have implemented the document splitting by Profit Centre and Segment.
    I'm trying to post an Incoming Payment (Tcode F-04) with clearing related to two customer.
    During the invoices I inserted two different Profit Centre by customer invoice.
    When I post, in one document, the incoming payment related to the two invoices I don't insert the Profit Centre values manually, but I link the payment to the customer invoices to be cleared.
    The system is not able to derive the Profit Centre inserted in the customer invoice in the incoming payment posting! I cannot post it neither manually because, rightly, I can insert the Profit Centre only for the Bank accounts and not for the Customer account.
    How can I derive the Profit Centre from the customer invoices?
    Let me know.
    Thanks
    Ciao

    Hi Ciao,
    Just post your incoming payment with the transaction.
    F-02       Bank dr.
                         Customer cr.
    and then try to clear the document with F-04.
    might help you.................
    Chintan Joshi.

Maybe you are looking for

  • Summary & Subtitle not displayed correctly.

    Finally got approved and in the iTunes store, however it doesn't appear that it's parsing my feed correctly. I have both an itunes:summary tag and an itunes:subtitle tag for each item - but it appears as if iTunes is only using the summary tag. I thi

  • Frieght vendor payment in STO..?

    Hi all Can anybody explain me about the , Frieght Payment for frieght vendor in STO process. There is no invoice verification process in STO, but how can i pay the amount to frieght vendor. Pls explain me with example with T.Codes Thanks sap-mm

  • Ias 10.1.2.3 glitches in chgiphost to change the IP address

    RHEL 4, Kernel 2.6.9-67.0.1 After recently patching our ias from 10.1.2.2 to 10.1.2.3 we did in depth testing on our developement server. After that we copied the whole server (VMware virtual machine) to our test server. On this test server I changed

  • So sorting time...please help

    So, yes, this is a homework problem, but my brain just isn't having any of this problem. Give an algorithm to sort 4 elements in only 5 key comparisons int he worst case. OR Give an algorithm to sort five elements that is optimal in the worst case.

  • JBoss install problem - nothing is installed

    Hello, I have installed aur/jboss package aur/jboss 5.1.0.GA-1 [installed] (53) JBoss Application Server But there is no /opt/jboss directory, no service added, nothing. When I try to uninstall it, it says: Packages (1): jboss-5.1.0.GA-1 Total Remove