SD-How to find table of link between delivery and sales order?

Hi Experts,
I have a requirement as below.
In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
Thanks a lot,
Frank

Hi frank
Check the following tables  VBAP , VAPMA , VBUP . It may help you
Regards
Srinath

Similar Messages

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • Link between Delivery Header & Sales Order Item for extraction to 2nd level

    Hi Guys ,
    I am having a requirement that need to pull the following data to 2nd level DSO
    1.  Delivery Header Data
    2. Sales Order Item data. ( Sales Document, Item, Item RDD, Material)
    So I am planning create a 2nd level DSO on top of Delivery header and need to pull the sales order ITEM level data ( Sales document , Order ITEM, ITEM RDD date , Material)  through start routine u2026
    How can I pull the Sales Order Item data through start routine?  i.e I need the link between Delivery Header & Sales Order Item Data .
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).
    Thanks
    Edited by: krismady on Sep 22, 2010 2:26 AM
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).

    Hi Krish,
    You can use VBLEN (Sales Document) to link Delivery header DS (2LIS_12_VCHDR) and Delivery item DS (2LIS_12_VCITM). Now In delivery item DS (2LIS_12_VCITM) you have VGBEL (Reference doc.) and VGPOS (Reference item) which is nothing but sales order document number and sales item in Order item DS (2LIS_11_VAITM) .
    So you need to link in above way to get other values in your DSO.
    It is proven method.
    Thanks,
    Uday Shankar.

  • Table name for tracking delivery and sales order

    Hi,
         What is the table and field name for tracking the delivery and sales order in SD
    Regards

    Hi,
    If you want the DELIVERY DOCUMENT individally you can get it from the LIKP-VBELN
    In the same way the SALES DOCUMENT from VBAK--VBELN
    If want to get the DELIVERY DOCUMENT AND SALES DOCMENT from the VBFA with the Sbsequent document category
    M is the subsequent category for BILLING
    j                                                       DELIVERY
    regards,
    santosh

  • Reg; Table for link between plan and sales organization for a material

    Hi,
    I created a material for two plants and maintained one sales org, now i wnt to know the table to find the link betwen plants and sales organization wtih respective materials.
    Pls Help me......
    Thanks,
    Anto.

    hi,
    check tables MVKE, MARC and MARC...
    You can view them in SE16/SE11 tcode...
    Regards
    Priyanka.P

  • Link between PO and Sales Order?

    Hi,
    I have an issue..I need to send an idoc containing PO with fields (like ebeln, lifnr...etc). Along with this PO, I need to send a field 'customer po number (vbkd-bstkd)' from sales order.
    Could you please help me out to find out the link between purchase order and sales order? how to fetch customer purchase order number from po number?
    Also what is the difference between Purchase order number and Customer purchase order number?

    The customer purchase order number is the number of the purchase order which you get from one of your <b>customers</b>. This number is copied in the sales order, for future reference.
    On the other hand, the purchase order is the order you send to one of your <b>vendors</b>.
    Thus the sales order and the purchase order are two indipendent objects. The customer purchase order number does not reference any document on the ERP. Therefore you can't link a purchase order to a sales order.
    Refer to the SAP Solution forum SAP ERP Sales and Distribution (SAP SD) for this kind of questions.
    Regards, Davide
    Message was edited by:
            Davide Cavallari

  • Link between Project and Sales Order

    Apart from sales order can we have a link between project and customer master ??
    I know that WBS element assignment can be made in sales order but i want to have link between
    customer master and project. I don't want any user field or text field in sales order.
    Any idea ?
    Regards
    Ashish

    Yes Mr Ashish!
    As far as iam concern there is no link between Project & Customer Master, you have to link it with SALES order, I had check in XD03,XD01, the complete customer master, i didnt find any field in customer master which links with Project.
    I'll let you know if i find any links.
    Regards,
    ANSAR

  • How to find table having relation between opportunity and activity

    Hi All,
    I need to develop an ABAP report where when the user logged in runs the report. The report finds all opportunities to which the logged in user is the sales representative and find out the number of activities attached to the opportunity.
    Only completed activities should be counted. Show the count of the activities based on their category.
    The output should be in form of an ALV where the columns are:
    1) Sales representative
    2) opportunity number
    3) count of call tasks
    4) count of quote tasks etc.
    I need to cross check as to what categories are available to follow up tasks(BUS2000125) to an opportunity(BUS2000111) and based on that add or remove the columns specifying the count.
    Here
    1. How can I find out opportunity data associated to logged in user?
    2. How to get activity data related to opportunity?
    Thanks,
    Anup Garg

    done

  • What is link between SD and Internal order

    hi sap garus
    can baby explain the link between Sd and internal Orders.
    advance thanks
    suresh

    Hi,
    What link exactly do you have in mind? You can assign a sales order to internal order, if that's your question.
    Regards,
    Eli

  • What is the relation between delivery num , sales order num and invoice

    what is the relation between delivery num , sales order num and invoice

    Look at VBFA Table
    goto VBFA table ,enter order number number vbelv ,vbtyp_n is C,then VBELN is the delivery
    if you enter delivery number in vbelv ,vbtyp_n is J,then vbeln is Invoice.
    here VBTYP_N is the import.
    VBFA is the sales document flow table,and very important table
    Thanks
    seshu

  • What is diff between delivery related sales order & billing related sales o

    what is diff between delivery related sales order & billing related sales order ???

    hi prasanth,
    extending the Answer of shasikanth,
    1) Order Related Billing:
        some items are not related to delivery, like service items.
    these items will be defined by different ITEM Categories.
    2)  Delivery Related billing:
    standard item like TAN,which is delivery related billing.that means for this item we need to create a delivery documnet.with reference to delivery document we need to create a billing document.
    when we define item category,
    we miantain whether its order related or Delivery related billing.
    The respective field in item category is......
    Relavant for Billing  A - delivery related billing
                                  B - Order realted billing
    by this we can say item category defines, whether item is relavent for billing or not and also it defines whether its a Order related or Delivery Related billing.
    The Respective billing document type will be determined from Sales document type(vov8).

  • SD-How to find table link of special delivery and sales order number?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069]

  • Link Between delivery and material document

    Dear All,
    how do we link between delivery document,
    and between delivery document and accounting document,
    with regards
    Mohammed Raees

    Hi there,
    Material doc is the PGI document which is created whenever there is material movement either GR or GI. In VL02N --> document flow, select the GD goods issue & click on display document. It will take you to the material doc. There is a field called material slip in that. The value stored in material display is the delivery num. That is how you link the delivery & material doc.
    From the material doc if you click on accounting docs, it will give you the A/c document num & the costing doc num (if available).
    From the material doc, select the item & click on details from ityem, it will give you the GL account for which the GI is posted.
    Regards,
    Sivanand

  • Linkage Between PIRs and Sales Order in STandard SAP or AFS

    Hi Gurus,
    We are implementing the concept of Planned Independent Requirements(PIRs) in SAP AFS.
    Below is the process am following :
    1. Create PIRs.
    2. Create a Purchase Requisitions.
    3. Create Sales Order.
    I am using the concept of forward consumptiona and planning strategy 40 for the PIRs consumption.
    Also I understand that the Sales order will consume the PIRs.But when I go the stock Requirements
    list I dont see any changes happening.I mean I dont see any linkage between the Sales Order or the PIRs.
    Please help on the above concept,Am trying to understand how does the concept of PIRs work and how can I simulate and see the results in SAP.What will happen to the PIRs and SO and how can I see the linkage that a Particular Sales Order has consumed the PIR.
    Any help on this would be appreciable.
    Thanks,
    Jinen

    Hi,
    I am explaining the cycle of PIR.
    Strategy group(which is used in MRP3) is the combination of different strategies.
    The strategies are defined in this following Path
    SPRO->Production->Production Planning>Demand Management>Planned Independent Requirements>Planning Strategy>Define Strategy.
    Strategy is the combination of requirement types defined wrt demand managament(PIR)-PP area
    and req types defined wrt customer(SD area).
    These requirement types are assigned to requirement class.
    PP area, to assign req type to req class,
    Production Planning->Demand Management>Planned Independent Requirements->Requirements Types/Requirements Classes>Define requirements types and allocate requirements class.
    In SD area, In OVZH u will assign req type to req class.
    In PP area, this requirement class is defined in OMPO transaction where u will maintain Planning indicator,consumption indicator etc.....
    In SD area, u will maintain it in OVZG transaction.
    For Strategy 40 requirment class are 101, requirement type VSF, Customer req type is KSV
    Just check for the above settings.
    First create the PIR. Then create sale order. and check in MD04. PIR will get consumed based on the inwarded sales order.
    Revert back for any clarification.
    Thanks and Regds
    Sridhara K N

  • Issue between PO and Sales order

    we are having a serious performance issue in one certain circumstance.
    we have a sales order with 1800 items on it. of these 1800 items, 21 have generated a third party PO, for the goods to be shipped directly to the customer from the supplier.
    When we make a change to the purchase order, for example, to update the confirmation, and hit save, even for a single item, it can take more than a minute to do the update. It appears it is looping through the VBUP table for ALL items in the sales order, and any follow on documents, and pulling in first all VBUP records for the order, then all vbup records for the item. So it appears we are reading the full VBUP for the entire order 1800 times! THis is regardless of the fact that we have the sales order and item, so we dont need to read the entire VBUP for the sales document, and also regardless of the fact that only 21 of the items on the sales order have anything to do with our purchase order!
    I have tried a trace to see where VBUP is getting read and it is 90% of the response time of the save being used just read these records, over and over and over.
    Has anyone ever seen this or found a fix? i have searched google and here and OSS.
    What ties the PO to the sales order, other than the account assignment? what about the sales order is getting updated when we change a PO item, especially, just a confirmation?
    I have checked for user exits, etc, and we are running this vanilla.

    Hi David,
    I guess it might be hard if this is std code all along that takes that much time to process operation you describe.
    You might try some to do some things to speed this up if you are sure that reading VBUP is taking most of the time:
    1) add an index on some fields of this table (this might not be needed as the logic should know the key which is sales order no and item no
    2) try to archive some old data that will free the VBUP from some records and will speed up reading
    Of course you might also ask SAP via OSS channel but I guess if it's only a minute they won't really treat it as any bug and will answer "work as designed" and suggest creating smaller sales order (split the big ones).
    Good luck anyway...
    Tomek

Maybe you are looking for

  • Integrate BW 3.5 with EP 7.0

    If someone can help me resolving this issue that if we can integrate BW 3.5 with EP 7.0. If yes, then would like to know the steps involved in this integration. Thanks Mona

  • P35 neo cold boots twice when powered on or warm booted

    Hi, I'm trying to figure out  what is happening with this board, when I turn on my computer it automatically shutsdown again for a sec or two and then comes back and boots ok. It does that also in a warm reboot. I've seen similar issues in other foru

  • Tomcat 4.1.10 ignoring WebApp's WEB-INF/lib/*.jar

    I've been bashing my head against this for two days now: 1. Got a webapp deployed in tomcat, with a whole bunch of jars that sit in the /<webapp>/WEB-INF/lib 2. In web.xml, I instantiate a servlet that performs cache-loading - the servlet class is in

  • More Permissions Issues

    I have been experiencing a multitude of permissions issues on my XServe/RAD as of late. When I try to copy a file to my RAID I get an error message that reads: "You cannot copy some of these items to the destination because their names are too long f

  • Dynamically generating input grid

    I am trying to figure out a way to let users dynamically generate rows of input text boxes using a button in an HTML page e.g. user will enter text in say 10 columns and then hit enter, which will create another row of text boxes with same number of