Relation between invoice and delivery note

Hi everybody, could you tell me please, how could i find the list of delivery notes for a customer. i need to find a relationship between a invoice ahave and delivery note related to this invoice.
thank you

Hi,
Good evening and greetings,
You can use the table VBFA and create a small query using SQVI to generate the information needed...This table holds the information of preceeding and succeeding documents, like Delivery and Invoice.
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan

Similar Messages

  • Link between Invoice and Delivery note

    Hi,
    Here I am having a requirement to get all the GR made against an Invoice.
    Let me explain it.
    I am having one Purchase order. Now I made the GR with a delivery note number. Now in MIRO I pass the bill or create the Invoice against the delivery note. Now I want to know the delivery note number against that invoice number.
    I cant go by the Purchase order no and item number also. Because I have to show the delivery note number against that Invoice number only. Because so many Invoices and GR can be created for the same PO item.
    FYR please go through the my thread in ABAP general
    [Link between the Invoice and material document;
    Regards
    Shiba Prasad Dutta

    Hi Experts,
    I also need help on this issue. I have a PO with several GRN per item. Also, I already have some invoices registered ate MIGO.
    On EKBE table, per PO, per item, i can check how many GRN I have (VGABE=1) and how many Invoices do I have (VGABE=2) regarding that item of the PO.
    What I need to konw is how can I link the Invoice to the PO.
    Example: EKBE table
    PO ITEM VGABE Material DOC Number
    A    10        1                   100
    A    10        1                   200
    A    10        2                   300
    I can I know, in  terms of tables and fields linkage, to what GRN does Invoice 300 links to?
    Many thanks.
    Joana Faria

  • SOs,AR Invoices,and Delivery Notes have empty "Logistics" Tab

    Hi,
    As the title says Sales Orders,AR Invoices,and Delivery Notes have empty "Logistics" tab "Ship To" and "Bill To" windows - the Ship to and Bill To addresses are filled in the BP Master Data but they do not populate the logistics tabs Ship To and Bill To windows in these documents?
    Just to let you know that this is for only for new Business Partners as the old BPs seem to populate the logistics window automatically.
    Any ideas ?
    Thank you,
    MB
    Edited by: Matthew Brigley on Aug 13, 2010 11:53 AM

    Hi Matthew,
    The ST/BT address fields retain the information at the time the document was added. If there is no address then at the time the document was added, the address was set up.
    You can update the fields after the document is added for some of them (the address field will be white; grey means you can't update the field) - click in the ST/BT drop-down. If there is no option available, check the BP's address(es) to make sure there is an address set up. If you do add an address, close the document and re-open; the address should be available.
    If there is no address in the drop-down and there is an address on the BP record, check other transactions to see if it's BP-specific or all documents are not picking up the BP address info.
    Heather

  • Difference between invoice and debit note

    Hi,
    what is the difference between invoice and a debit note.
    If I underinvoice a customer, should I raise a additional invoice for the difference or shud i raise a debit note. if  i need to raise debit note, then why not invoice or if i need to raise an invoice, then why not a debit note
    regards
    sachin

    Debit note is generally used to issue an invoice for already sold goods w/o physical goods movement involved.
    If raw material prices increases which are utilized in production of Finished goods. then the business will submit the relevant documents as proof at customer.
                  Once Customer is accepted, then price increase effective date will be finalized , Then business issues debit note request for the required material & its converted into debit note. ( all this will be done, based on agreement with the Customer). Generally this scenario is most widely used in Manufacturing / Automobile industry.
    where as, If invoice is created with less price than actual, you dont need to create debit note, instead you can either Cancel this invoice or create Invoice Correction request.
    hope it adds info

  • Invoice and delivery notes - idocs..

    Hello SD experts,
    I am new to SD.
    Can any one tell me what is the invoice. I mean
    what are the table AND transaction codes I have to go and check ?
    What are delivery notes ?
    My functional consultant is telling that
    there is a consolidated invoice and there are 2 delivery notes that are being combined for this invoice. The invoice # is 6016186004
    For DN#   6073107044 there is a VICS BOL that was passed back that is = 04000000000016146 
                   6073107045 there is a VICS BOL that was passed back that is = 04000000000016023
    and he wants to know how the program selects which VICS BOL fields in IDOC.  He gave me to use IDOC #77122253 in quality system for testing.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    If so then what are the I need to give
    Output application    (is it V1 or MR ?)       
    Output type    ??

    hi ..
    Please refer below..
    for invoice ,  tables: VBRK and VBRP
    AND transaction codes : VF01 to 03.
    What are delivery notes ?
    after goods issue, we need to issues delivery note to customer.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    you need to go to VL70 or you can process with RSNAST00.
    Output application type : V2
    Output type : LD00
    Regards
    Venkat.. Ananth Technologies

  • Hide BOM headers on invoices and delivery notes

    Hello,
    Is there any existing configuration to hide/supress the BOM headers in invoices and/or delivery?
    Thanks!

    Dear Jimmy,
    Try this,
    I hope through itemcategory settings you can get this requirement
    Please go to VOV7 transaction select the header material itemcategory then go into the detail here you can find the field called Billing Relevance under Business data you keep this field as Blank  - Not relevant for billing.
    Now this will not reflect in the billing document.
    I hope this will help you,
    Regards,
    Murali.

  • Mismatch between invoice and credit note

    Hi Gurus,
    We have made an credit note,5xxxxxxxx12, to cancel an invoice 5xxxxxxxx10. However the values on the corresponding accounting documents are different (USD  8000,02- and 7992,46), so we cannot match the two documents.
    Please advice me how to match these two documents.

    Hi shivaji,
    What is the reason for the difference in the amount. you may have to manually clear the documents using transaction F-03 or F-32 and post the difference manually.
    Regards
    Mahendra
    Assign points if this helps

  • Relation between ODPI and OINV

    Hello all,
    I have a problem. I want to make a report in Crystal report. This report will show a list of invoice and downpayment which is related to this invoice. I dont know how to get downpayment which is use on invoice. I dont find relation between invoice and downpayment.
    Can you help me?

    Hi Vit,
    I used SQL Profiler to extract the query that is used to get the records when the ... button is pressed. I am not sure if this is what you're looking for, but here is the query:
    SELECT T0.* 
    FROM [dbo].[ODPI] T0
    WHERE (T0.CardCode = N'CARDCODE       ' 
    OR  T0.FatherCard = N'CARDCODE       ' 
    AND  T0.FatherType = N'P' )
    AND  T0.CANCELED = N'N' 
    AND  T0.DpmStatus = N'O' 
    AND  T0.DocCur = N'GBP' 
    AND  T0.PaidSum <> 0 
    AND  T0.DocStatus = N'C' 
    AND  T0.Posted = N'Y'
    Hope it helps,
    Adele

  • Customer invoice n delivery note print together at time of Billing

    Hi,
    Customer want invoice and delivery note attach together.
    once billing document saved invoice and delivery note print together immediately.
    plse suggest
    Thanks in advance..

    HI
    In the Out put determination maintain Those 2 Output Types and assign to the Billing Type
    At the time of maintaining the Condition record through VV31 , maintain the Dispatch time " 4" and message Transaction Medium "1"
    After that select the Line and Click on Communication Give Output Device and Tick " Print Immediately Field
    Regards,
    Prasanna

  • FSCM-COL: Worklist separated by invoices and credit notes

    Hi all,
    We are implementing FSCM-COL and in the u2018Process Receivablesu2019 screen, in the tab "Invoices", there is a split between invoices and credit notes,in two separate lists. The documents are not displayed together!
    As a basic requirement for a collection contact, a single list is required, in order to be possible to sort all open items and enable
    greater efficiency during the customer contact.
    Do you know how this separation is done (by posting key for instance...?) and if we can change this....
    Or this is standard functionality of the worklist ?
    Thanks for your inputs,
    Best Regards,
    Bruno Sousa

    This is standard.
    Credits are normally a different colour.
    The worklist should be used by the team to define what the customers owe's and what they should pay.
    Total overdue - disputed items not resolved = amount to be collected.

  • Unchecked final invoice and delivery completed indicator via BAPI_PO_CHANGE

    Hi All,
    Is it possible to reset the final invoice and delivery completed indicators of PO in ME23N using BAPI_PO_CHANGE? I need to unchecked the final invoice and delivery completed indicators for all POs in our system that were accidentally updated to delivery completed and final invoice by the user.
    Points will be rewared.

    what i did now is to create a prototype program like the one below:
    CONSTANTS c_po TYPE bapimepoheader-po_number VALUE '0040001816'.
    DATA: t_poitem-po TYPE bapimepoheader-po_number,
          t_return TYPE STANDARD TABLE OF bapiret2,
          t_poitem TYPE STANDARD TABLE OF bapimepoitem,
          t_poitemx TYPE STANDARD TABLE OF bapimepoitemx,
          x_return TYPE bapiret2,
          x_poitem TYPE bapimepoitem,
          x_poitemx TYPE bapimepoitemx.
    t_poitem-po = c_po.
    x_poitem-no_more_gr = 'X'.
    x_poitemx-no_more_gr = 'X'.
    x_poitem-final_inv = 'X'.
    x_poitemx-final_inv = 'X'.
    x_poitem-po_item = c_po.
    x_poitemx-po_item = c_po.
    APPEND x_poitem TO t_poitem.
    APPEND x_poitemx TO t_poitemx.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder  = t_poitem-po
        no_messaging   = 'X'
        no_message_req = 'X'
      TABLES
        return         = t_return
        poitem         = t_poitem
        poitemx        = t_poitemx.
    IF sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    ENDIF.
    The program is working if you will mark the PO as delivery completed and final invoice with suppressed output. The problem is i need to do the reverse which is to unmark. I replaced the value of no_more_gr and final_inv from 'X' to space but it is not working.

  • MIRO based on purchase order and delivery note

    Hi
    It seems I can do a supplier invoice based on PO or some POs.
    I can also do a supplier invoice based on delivery note or some delivery notes.
    But I can not do MIRO based on delivery note AND purchase order.
    Business scenario: I need this when I have supplier invoice with a lot of lines based on a lot of different PO and different PO lines. The delivery note consolidate together all this different lines. Together with these lines I want to add another item of non good receipt item, so there is no delivery note.
    I want to add this item with a reference to the PO line in addition to the lines that were created with a reference to a delivery note.
    Thanks
    Ofer

    Thanks,
    I want to use PO reference for specific PO and delivery note for other PO in the same invoice.
    The problem is I cant use delivery note for the other PO cause there is no MIGO there.
    Thanks
    Ofer

  • How to make relation between  gl_je_lines  and wip_transaction_accounts

    I try to write script to make relation between GL and WIP, wip_transaction_accounts and mtl_material_transactions
    1.
    SELECT
    (SELECT meaning
    FROM mfg_lookups
    WHERE lookup_type = 'WIP_TRANSACTION_TYPE'
    AND lookup_code =
    (SELECT TRANSACTION_TYPE
    FROM wip_transactions
    WHERE transaction_id = wta.transaction_id
    ) "Transaction Type" ,
    gjb.NAME "Journal Batch Name" ,
    gjh.NAME "Journal Name" ,
    gjh.je_source "JE Source" ,
    gjh.je_category "JE Category" ,
    glp.period_num "GL Month" ,
    glp.period_year "GL Year" ,
    gjh.default_effective_date "GL Date" ,
    NVL(gje.accounted_dr,0) -NVL( gje.accounted_cr,0) "GL Line Amount" ,
    gje.description "GL Line Description" ,
    (SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = wta.organization_id
    ) "ORG Name" ,
    NULL "Vendor/Customer Name" ,
    NULL "SO/PO Number" ,
    NULL "Reference Number" ,
    NULL "AP/AR Invoice Number" ,
    NULL "Doc Sequence Value" ,
    NULL "Invoice Type Lookup Code" ,
    NULL "Check Number" ,
    NULL "Line Type" ,
    NULL "Category" ,
    NVL (wta.base_transaction_value, 0) "Transaction Amt" ,
    NULL "AR/PO Receipt Number" ,
    NULL "Applied Invoice Number" ,
    (SELECT a.segment1
    FROM mtl_system_items_b a ,
    wip_discrete_jobs b
    WHERE a.inventory_item_id = b.primary_item_id
    AND a.organization_id = b.organization_id
    AND b.wip_entity_id = wta.wip_entity_id
    AND b.organization_id = wta.organization_id
    ) "Item Name" ,
    gcc.segment1 "Company" ,
    gcc.segment2 "Department" ,
    gcc.segment3 "Account" ,
    (SELECT description
    FROM fnd_flex_values_vl fnd
    WHERE flex_value_set_id = 1009707
    AND TO_CHAR (fnd.flex_value) = gcc.segment3
    ) "Account Description" ,
    gcc.segment4 "Intercompany" ,
    NULL "JE Category Description" ,
    NULL "AP Invoice Line Description"
    TRUNC (wta.transaction_date) "JE Creation/Inv Trans Date" ,
    NULL "JE Created By" ,
    NULL "Reversal Flag" ,
    NULL "Reason Code" ,
    NULL "Subinventory Name" ,
    wta.primary_quantity "Quantity" ,
    NVL (wta.base_transaction_value, 0) "Value" ,
    gje.context ,
    gje.attribute1 ,
    gje.attribute2 ,
    gje.attribute3 ,
    gje.attribute4 ,
    gje.attribute5 ,
    DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status"
    FROM gl_je_lines gje ,
    gl_je_headers gjh ,
    gl_je_batches gjb ,
    wip_transaction_accounts wta ,
    gl_code_combinations gcc ,
    gl_periods glp
    WHERE 1 =1
    AND gje.je_header_id = gjh.je_header_id
    AND gjh.je_batch_id = gjb.je_batch_id
    AND UPPER (gjh.je_source) = 'INVENTORY'
    AND gcc.code_combination_id = gje.code_combination_id
    AND wta.reference_account = gje.code_combination_id
    AND TRUNC(wta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
    AND gje.reference_1 = wta.gl_batch_id
    AND gje.gl_sl_link_table = 'WTA'
    AND glp.period_name = gjh.period_name
    AND glp.period_set_name = 'OVT_US_CAL'
    ==
    2.
    SELECT mtt.transaction_type_name "Transaction Type" ,to_char(mmt.transaction_date,'mm/dd/yyyy hh:mi:ss') as teas, mta.transaction_id,mta.organization_id, mmt.organization_id,
    gjb.NAME "Journal Batch Name" ,
    gjh.NAME "Journal Name" ,
    gjh.je_source "JE Source" ,
    gjh.je_category "JE Category" ,
    glp.period_num "GL Month" ,
    glp.period_year "GL Year" ,
    gjh.default_effective_date "GL Date" ,
    NVL(gje.accounted_dr,0) - NVL(gje.accounted_cr,0) "GL Line Amount" ,
    gje.description "GL Line Description" ,
    (SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = mta.organization_id
    ) "ORG Name" ,
    NULL "Vendor/Customer Name" ,
    NULL "SO/PO Number" ,
    mmt.TRANSACTION_REFERENCE "Reference Number" ,
    NULL "AP/AR Invoice Number" ,
    NULL "Doc Sequence Value" ,
    NULL "Invoice Type Lookup Code" ,
    NULL "Check Number" ,
    NULL "Line Type" ,
    NULL "Category" ,
    NVL (mta.base_transaction_value, 0) "Transaction Amt" ,
    NULL "AR/PO Receipt Number" ,
    NULL "Applied Invoice Number" ,
    (SELECT segment1
    FROM mtl_system_items_b
    WHERE inventory_item_id = mmt.inventory_item_id
    AND organization_id = mmt.organization_id
    ) "Item Name" ,
    gcc.segment1 "Company" ,
    gcc.segment2 "Department" ,
    gcc.segment3 "Account" ,
    (SELECT description
    FROM fnd_flex_values_vl fnd
    WHERE flex_value_set_id = 1009707
    AND TO_CHAR (fnd.flex_value) = gcc.segment3
    ) "Account Description" ,
    gcc.segment4 "Intercompany" ,
    NULL "JE Category Description" ,
    NULL "AP Invoice Line Description"
    TRUNC (mta.transaction_date) "JE Creation/Inv Trans Date" ,
    NULL "JE Created By" ,
    NULL "Reversal Flag" ,
    (SELECT MGD.SEGMENT1
    FROM MTL_GENERIC_DISPOSITIONS MGD,
    MTL_MATERIAL_TRANSACTIONS MMTT
    WHERE MGD.DISPOSITION_ID = MMTT.TRANSACTION_SOURCE_ID
    AND MMTT.TRANSACTION_SOURCE_TYPE_ID = 6
    AND MGD.ORGANIZATION_ID = MMTT.ORGANIZATION_ID
    AND MMTT.TRANSACTION_ID = MMT.TRANSACTION_ID
    ) "Reason Code" ,
    mmt.SUBINVENTORY_CODE "Subinventory Name" ,
    mta.primary_quantity "Quantity" ,
    NVL (mta.base_transaction_value, 0) "Value" ,
    gje.context ,
    gje.attribute1 ,
    gje.attribute2 ,
    gje.attribute3 ,
    gje.attribute4 ,
    gje.attribute5 ,
    DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status" -
    FROM gl_je_lines gje ,
    gl_je_headers gjh ,
    gl_je_batches gjb ,
    mtl_transaction_accounts mta ,
    mtl_material_transactions mmt ,
    mtl_transaction_types mtt ,
    gl_code_combinations gcc ,
    gl_periods glp
    WHERE 1 =1
    AND mta.transaction_id = mmt.transaction_id
    AND gje.je_header_id = gjh.je_header_id
    AND gjh.je_batch_id = gjb.je_batch_id
    AND UPPER (gjh.je_source) = 'INVENTORY'
    AND gcc.code_combination_id = gje.code_combination_id
    AND mta.reference_account = gje.code_combination_id
    AND TRUNC(mta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
    and mta.request_id=mmt.request_id
    and mta.inventory_item_id=mmt.inventory_item_id
    AND gje.reference_1 = mta.gl_batch_id
    AND gje.gl_sl_link_table = 'MTA'
    AND mtt.transaction_type_id = mmt.transaction_type_id
    AND glp.period_name = gjh.period_name
    AND glp.period_set_name = 'OVT_US_CAL'
    When gl_je_lines have multiple line this script on the same transaction_id it will get wrong information. By setup all wip_transaction_accounts.GL_SL_Lind_id and mtl_transaction_accounts.GL_SL_Lind_id is null
    Anyone can help?

    Hello.
    How are you reaching the inconsistencies ? Are you comparing report's results?
    Octavio

  • Separate document no. for SD revision document and detagging relationship between invoice and SD document no.

    HI,
    Country specific settings for India - Business transactions enables SD revision vide table TE872_SDCTRL_IND.
    Whenever SD revision takes place system issue similar document no. as that of invoice and tagged it with XBLNR as per standard process.
    Now issue that if that invoice is reversed, subsequent SD also gets reversed.
    So business requires to have separate document no. for SD revision document and detagged relationship between invoice and SD document no.
    I have explored event R507, 0010, 0060 and R436 but couldn't find input structure where such separate document can be assigned.
    So can you provide hint which can assist in issue resolution?
    Regards,
    Paresh

    Check this thread, if this helps.
    [url] Link between MKPF table and EKKO or RBKP table [url]
    I've done this as well earlier to create a custom document flow for archived documents where from the EBELN i've found all the related documents. Hope this helps.

  • Relation between Rollup and compression.

    Hi All,
    Is there a relation between rollup and compression ? i.e if i compress the cube, will the rollup job be faster ?

    Hi,
    Thanks for all your replies. Now the picture is crystal clear.
    1. A compression job moves data from F table to E table. This is also applicable for aggregates. If you schedule a compression job for a cube, the aggregates are automatically compressed( You can also compress aggregates of a cube without compressing the cube. There are programs avalibale for the same).
    2. Assume that you have not done compression . If you load the data to base cube ,it takes more time to create the indexes after loading.
    3) Assume that you have done compression . If you load the data to base cube ,it takes less time than 2 point to create the indexes after loading.
    On similar lines, if aggregates of a cube  are compressed before rollup, then rollup will be faster. This is what exactly I have experienced. I had a cube which had 1000 request. It was never compressed. The rollup job for the cube used to take around 60,000 seconds. I compressed 900 requests. Now the rollup job gets over in 2400 seconds.So the conclusion is the following:
    <b>When aggregates of a cube are compressed, the rollup job runs faster.</b>
    Message was edited by: Tej Trivedi

Maybe you are looking for

  • Seq starting time-code

    Is there a way to change an existing timelines starting time-code without having to make a new sequence and drag dropping my footage into that seq??

  • Error 107, SSL_Protocol_Error - Need Help

    When attempting to login to a gaming site, I receive this message.  We first encountered this problem a year ago but it went away (can't remember how we fixed it) but now it's back.  We typically use Google Chrome but have had the same issue regardle

  • HT5636 to delete junk files

    how to delete junck files in mac by using windows 7?

  • ATP in Sales order to consume Mat Reservations for Sold to & not Sales Orde

    Hello All, Is there a way to consume the material Reservations made through T code MB21 for a recepient using 251 Mvmnt type, In MMBE this is visible in Reserved Stock, How can i consume from this Reservation, I made the requisite changes in the Avai

  • Blackberry 8330 CHIRP?!

    Okay so I'd been searching all over the internet and I see that the chirp on my phone is a normal known issue. HOWEVER, I called verizon and they said they knew that it was a known issue and that the only fix was downgrading to 4.5.0.138 (I'm running