Link between Item and delivery

Hi ,
I want to know the link between item and deliveyr. Like for example, an sales order item ( no. 10) containing 10 quantities can be delviered 5 times( each containing 2 quantities) and line item ( no. 20) can contain one single delivery. I am working on a report where i have to link all the line item to its delivery number. I am trying to achieve this through GENIl but i am not able to indetify as to how to differentiate the different deliveyr numbers. In other words, can some one help me as to how to link the delivery number to its corresponding items?

Document flow is stored in the table VBFA in ECC.
VBELV fied is the sales order number and in POSNV specify the line item number and speicfy VBTYP_N = J (Delivery).
Regards,
Bhanu

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

  • Link Between Packages and Delivery Rows

    Is there a link between the Packages (DLN7) or Package Items (DLN8) and the specific line number or base document it links to?  It looks like DLN7 and DLN8 only reference the DocEntry number for the Delivery itself.  I am trying to find a consistent way to keep packages tied to the orders they're fulfilling.
    Is there any way to determine which Sales Order a specific item or a specific package is based on?

    Anton,
    That's what it looked like to me as well, but I wanted to make sure I wasn't missing anything.  I appreciate your assistance.
    Thanks,
    Eric Sipple

  • Link between PO and Delivery

    How do we get the Purchase order number from a delivery.
    Say i have an Purchase order and from that i have created a delivery.
    In my output for the delivery, i need the preceeding document number for the delivery which is the PO number.
    How do i get the same. what table should i look in. I checked the VBFA table, but i am not able to get the same there...
    is there any table with which we can get this info.
    thanks and Regards,
    Gauravjit.

    Dear Gauravjit,
    LIKP (Delivery Document header), VBFA (Sales Document Flow), and EKBE (Purchase order history).
    SAP MM Tables and Table Relations:
    http://www.erpgenie.com/abap/tables_mm.htm
    EINA Purchasing Info Record- General Data
    EINE Purchasing Info Record- Purchasing Organization Data
    MAKT Material Descriptions
    MARA General Material Data
    MARC Plant Data for Material
    MARD Storage Location Data for Material
    MAST Material to BOM Link
    MBEW Material Valuation
    MKPF Header- Material Document
    MSEG Document Segment- Material
    MVER Material Consumption
    MVKE Sales Data for materials
    RKPF Document Header- Reservation
    T023 Mat. groups
    T024 Purchasing Groups
    T156 Movement Type
    T157H Help Texts for Movement Types
    MOFF Lists what views have not been created
    A501 Plant/Material
    EBAN Purchase Requisition
    EBKN Purchase Requisition Account Assignment
    EKAB Release Documentation
    EKBE History per Purchasing Document
    EKET Scheduling Agreement Schedule Lines
    EKKN Account Assignment in Purchasing Document
    EKKO Purchasing Document Header
    EKPO Purchasing Document Item
    IKPF Header- Physical Inventory Document
    ISEG Physical Inventory Document Items
    LFA1 Vendor Master (General section)
    LFB1 Vendor Master (Company Code)
    NRIV Number range intervals
    RESB Reservation/dependent requirements
    T161T Texts for Purchasing Document Types
    SAP SD Tabels and Table Relations:
    http://www.erpgenie.com/abap/tables_sd.htm
    KONV Conditions for Transaction Data
    KONP Conditions for Items
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBFA Sales Document Flow
    VBLB Sales document: Release order data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index
    Regards,
    Naveen.

  • Link between vbap and vbrk

    hi folks
    whatt's the link between vbap and vbrk table.
    gaurav

    Hi Gaurav
    VBAP is Sales document item detail table and VBRK is Billing header data table.
    VBRK is linked to VBRP by VBELN (i.e. VBAP-VBELN = VBRK-VBELN).
    VBRP is linked to LIPS(SD document: Delivery: Item data)by
    VBRP-VGBEL = LIPS-VBELN.
    VBRP-VGPOS = LIPS-POSNR.
    And LIPS is linked to VBAP by
    LIPS-VGBEL = VBAP-VBELN.
    LIPS-VGPOS =VBAP-POSNR.
    the flow of the SD tables is like after creation of the sales document the header details of the document is filled in VBAK.THe item details of the sales document is stored in VBAP.After creation of the delivery the delivery documnet number is updated in the LIPS table and than if the INVOICE for the particular delivery is done than the BILLING document is generated the details of which can be looked in VBRK.

  • Broken Link between Base and Target document in 'Copy To' option

    Hi Folks,
    One of our client has been facing a peculiar issue. When the 'Copy To'  function is used to Copy document from Sales Order to Delivery and recently one instance of 'Copy To' from Delivery to A/R Invoice ,the base document got copied to the target document in each case but there was no trace of any Base Ref. left in the Target document( either in row level or Remarks), thereby the link between the Base and Target document got broken.The Base document remains with status as open.The same base document when tried again to 'Copy To', it creates the link between Base and new Target document.
    This instance had occurred recently 3- 4 times in a span of 3 months or so. In normal circumstance this never happens. The client is pretty sure they have used 'Copy To' option to copy the document from Base to Target.
    Any hints or possible reasons if one can highlight would be appreciable.
    The current version used is SAP B1 8.82 PL11 and it was upgraded more than a year back.
    Regards,
    Bharath

    Hi,
    All the data in Sales Order and Delivery are matching one to one in terms of row details,
    and Document header level.
    The missing data was Base Ref. data and Del.Date didn't get copied from base to target as shown in screen shot.
    Also i have checked it earlier regarding change of target document row details like changing item, but this will only remove the link of that particular row and remaining row link remains intact, but in this case there are many items and it doesn't seem user will have changed in all the rows.
    Regards,
    Bharath

  • Link between sd and pp

    hi all,
      i have a problem regarding relation or link between sales and production order. i have to fetch production order number related to sales order number. i have checked in the table AFPO that is production order item table , there is field AFPO-KDAUF and AFPO-KDPOS ie, sales order and sales item. but when i see these two fields there is no data into the field so how can i get data into the table related to production order.can anyone help me on this issue.

    Please refer to the below links -
    https://forums.sdn.sap.com/post!reply.jspa?threadID=309885
    Integration points with MM/IM and PP are some of the following -
    When a Production order is created and released a reservation gets created for the materials in BOM
    When the reservation is created and materials are posted against the reservation with mvt type 311 these are transferred to the respective location.
    When a GR is posted with mvt type 101, the Finished or Semifinished goods are posted to the respective storage location and inventorized.
    When a consumption is posted with mvt type 261 then stock will get reduced in resepective storage location.
    When a batch determination is done in a production order basing on the batch search strategy and sort rule material, quantity and batch are selected.
    If WM is configured an associated internal movement for all the above movement types will be posted.
    During MRP, BOM which is a master data for PP is used to calculate the dependent requirements of materials.
    During availabilty check of a production order basing on the availability check configured materials will be selected and checked.
    Hope the above may help you.

  • Linking between PP and SD tables

    Hai friends,
    I want one link between PP and SD tables. My requirement is i have planned order PLAF table. i want to link Sales table. Please guide me.
    Thanks and Regards
    visvanath

    Hi
    You can simply link the Sales order No and ITEM
    VBAP-VBELN and VBAP-POSNR with the PP order item table
    AFPO-KDAUF and AFPO-KDPOS and get the Pp related info
    or in Sales tables there is a field called AUFNR in VBAP
    use that for PP order number
    SD tables
    http://www.erpgenie.com/abap/tables_sd.htm
    PP tables
    http://www.erpgenie.com/abap/tables_pp.htm
    Regards
    Kiran Sure

  • Table Link between Equipment and Sub-equipment

    Hi all
    My requirement is this
    I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item
    I tried by maintaining the battery serial number as sub-equipment in the main mobile set equipment number master,
    Let me know the table link between equipment and sub-equipment
    I want a report based on the input mobile set equipment number what are all the sub-equipment associated with the main equipment
    Also suggest is there any other approach,
    Regards
    Amuthan M

    Hi
    EQUZ is the table,if u give the sub equipment in equipment field and execute.you can find the main equipment in superior equipment field

  • Is there any Link between BNK_MONI and DMEE

    Hi ,
    I have created EXIT Fucntion Module in DMEE Structure for PAYM Tree Type to udpate value of Reference Text node to show Custom value. Stand alone DMEE works fine for Testng purpose. But It does not work with BNK_MONI .
    I am running following sequence of T Codes :
    RVND --> F8REL --> F111 --> BNK_APP --> BNK_MONI ..
    I want to update one of the fields in output file generated by BNK_MONI .
    Is there any link between BNK_MODI and DMEE ?
    Or shall  I have to Debug background job created by F111 like it is done in case of F110 ?
    Please suggest..
    Edited by: Yogesh Gupte on Jan 27, 2012 6:59 PM

    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 SRM and ECC invoice

    Dear gurus,
    I need to find the link between SRM and ECC invoice number, can you please provide me the related tables?
    Thank you in advance for your collaboration.
    Regards,
    Fuffo

    i don't have access to the system now but i guess will be table BBP_PDBEI.
    or you can go tcode BBP_PD, check in item level.
    cheers.

  • Link Between KONV and EKPO/EKKO (RFQ)

    Hi Experts!
    We are developing a canvass sheet and the customer requires that the discount amount (both item and header) be displayed in the report. We know that the table for conditions is KONV. However we cannot find the link between KONV and EKPO/EKKO (RFQ). Can you help us with this.
    Will really appreciate if you can help us in this. Thanks! =)

    Hi Shakir,
    Thanks for your immediate response. We have tried looking at that field but for RFQ, the field KNUMV is blank even if a condition is maintained for the RFQ. Is there any other way to connect EKKO/EKPO and KONV? Or how do we code our program to compute for the item and header discounts in RFQ?
    Thanks in advance! =)

  • Link between VBRP and KONV

    hello,
        any idea for the link between VBRP and KONV tables ?
    I am fetching vbeln from vbak and based on that i am getting matnr and quantity details from vbrp now i want to get condition type and tax code details from konv.how to link it?
    regards
    Soniya.

    KONV (condition table) is linked to VBRK (Billing: Header data) by the following
    VBRK-KNUMV = KONV-KNUMV
    and VBRK (Billing: Header data) is linked to VBRP (Billing: Item data) by the following
    VBRK-VBELN = VBRP-VBELN
    I believe you can can fetch data from VBRP using for all entries.
    Then fetch the data from KNOV table using the above given link and then modify the required internal table to retrieve the required result.
    Hope it helps

  • Link between AFVC and EBAN tables (material report)

    Friends, wanted to check if anyone can provide assistance on table links between AFVC and EBAN.  The requirement is to track material/service quantity, price, etc in comparison with plan version versus PR, PO, GR, etc.  tried retrieving object numbers of WBS and activities using 'get proj info'  bapi and tried passing them in tables COSP/EBAN/COKEY but the essential link between material assigned to network activity and the PR is missing..
    Thanks in anticipation,

    Hi,
    Did you try the link including EBKN. Basically you can pass the network / WBS number in EBKN and get teh PR number and use this detail in to the item table of PR.
    Regards
    Sreekanth

  • Link between vt01n and vi01?

    Hi All,
    I developed one application, that creates shipment( like we create shipment using VT01N tcode ). Now when i try to create shipment costs using VI01 tcode, the shipment which i created using my custom application, it is getting enter to next screen but there is no item details. Some item details coming when u create shipment using standard Tcode.
    Now i want to get item details in custom shipment also, how can i acieve this, is there any link between vt01n and vi01 please tell
    needful? Please help
    Thanks,
    Kris.
    Edited by: kissnas on Mar 10, 2011 9:24 AM

    create view of va01 .

Maybe you are looking for

  • ITunes 10.5 won't let me sync my iPhone 4?

    I wanted to update my iPhone to ios5, but before doing so, I was promted with a upgrade for iTunes itself (to 10.5), so I did. After doing so, I was not able to sync my phone-I keep getting an error message that says something like "Sync could not be

  • Issue w/ DLP Policy, unable to send mail

    I'm trying to implement DLP using both California SB-1386 and California AB-1298 policies, yet almost all of our mail gets blocked because of a violation.  One of the two policies I listed will block the email.  It appears that the DLP policy is bloc

  • Material Type for Test Equipments

    Hi, What is the standard material type used for Test Equipment.This material type is not used for consumtion.This is used only for testing purposes. Regards, Nitin Amritkar

  • Entries in Dimension table (Dim Id's) which do not exist in Fact table

    Hello all, We have a strange situation when we run the Report SAP_INFOCUBE_DESIGN. I expected that the Dimension table could have max 100 % compared with Fact tables. However we have a dimension with 587% entries compared with fact tables. ZOEEMRW   

  • How to stop/kill/interrupt a thread stuck on reflection method invoke

    Hi all, I have a thread that loads some class using reflection and invokes a method in it. I want to be able to stop that thread if needed by the user. For some reason, interrupt on that thread doesn't do anything - thread is still inside the invoke