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.

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

  • 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

  • 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).

  • 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

  • Status is not updated from delivery to sales order item.

    Dear Folks,
    One user created sales order with 10 line items and he created delivery and later he deleted line item 30 in that delivery document and with remaining 9 line item he done the PGI & Billing.Here what is the problem is the deleted line item in sales order status showing as completed and delivered quatity showing as 10.Status is not updated from delivery to sales order item.Please let me know how to resolve this?
    Thanks & Regards,
    murali.

    Dear Murali,
    Please go to VTLA transaction then select your delivery and order types after that go in to the details of the item level settings here you check field called Update document flow under Control data tab.
    I hope it will help you,
    Regards,
    Murali.

  • 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

  • Sales order item text to delivery item text

    Hi All,
    Please find my query below :
    sales order is maintining  item level text . is there any posibility to update same text at the item level in delivery ?  Means after creating delivery the sales order item text tranfered to delivery item  text.
    How can i update the sales order item level text to delivery item level text.
    is there any user-exit or any configuration process or any other process. please let me know
    Thanks in advance
    Regards
    Sudhakar

    Check this [link|http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf]
    Refer to page 19. you will have to assign the requirement to the access sequence of the header/item text determination, this, you can ask your functional consultant to do it,. If you want to code your own requirement, then refer to the link that I provided you above.
    KR,
    Advait

  • Partial delivery of sales order with some line items

    Hi all,
    Please help me in the issue i want to create delivery against sales order partially for some line items of the sales order . Can any one suggest me the procedure how to do it through programing .
    Thanks in advance,

    Hi,
    You have several methods of doing same.
    Method 1
    Go to VL01N, and given your sales order number.
    Without giving the line item, just press Enter
    Now inside the delivery, you can delete unwanted line items, and you can adjust quantities under Item overview tab.
    After that do picking and PGI.
    Method 2
    Go to VL10E,
    Give your sales order number and execute.
    Mark relevant schedule lines only and press execute,
    then those line items with marked schedule lines will copied to the delivery document.
    Best regards,
    Anupa

  • How to supress tab for Sales Order item (VA01)

    Hi,
    Please suggest the ways to suppress tab (example "Country") which appears at Sales Order item for some countries.
    Thanks,
    Edited by: Dipesh Kothari on Oct 6, 2009 8:34 PM

    Hi
    If you want to suppress the tab which is appearing at sales order line item then using t.code SHD0  and give the t.code VA01 and business object as BUS2032 and then select the line item data and then you can suppress the fields as per your requirement
    Kindly let us know  why you want to suppress the fields ?
    Regards
    Srinath

  • How to get PO from sales order item in CRM

    Hi,
    I am building a BI extractor which needs PO for a given complaint. I am able to get the sales order/item for a complaint using crm_order_read FM. Is there anyway to get the PO based on this SO-item. Are their tables that link these two.
    Thanks!

    Table CRMD_ORDERADM_I -> Give Item GUID in filed GUID and get the document header guid in field HEADER. Then use function module CRM_ORDER_READ and table ET_SALES to get the Sales Data for the right item. The PO you are interested in can be any of the fields related to PO in this set. Usually it is PO_NUMBER_UC.
    Alternately, if you want to use only the table reads use this.
    1. Table CRMD_LINK --> get the record with GUID = Item GUID and OBJTYPE_SET = 11 (for Sales Set)
    2. Table CRMD_SALES --> get the record with GUID = CRMD_LINK-GUID_SET
    Get your PO information from this Sales set record for your item. But since, PO is usually associated with the header, you can do the same as above but with the GUID = Header GUID in the CRMD_LINK table.

  • EK01 and EK02 not copied to sales order item

    Dear colleagues,
    Is it possible to have EK01/EK02 transferred to the sales order item for assembly type = "0 no assembly order processing"
    (specified in requirement class definition)? I would like to have planned production costs in EK02/EK01.
    I don't specify costing method, variant and sheet in requirement class definition (transaction ovzg)
    The steps are following:
    1. create sales order
    2. set manually proper item category (which refers to assembly type = "0 no assembly order processing")
    3. MD04 - convert generated planned order (lower-level for HALB) into production order
    4. MD04 - release HALB production order
    5. MD04 - convert generated planned order (higher-level for FERT) into production order
    6. MD04 - release FERT production order
    7. ????? we could expect EK02/EK01 in sales order item coming from production orders ?????
    I have found SAP note 857299 nevertheless it is not stated precisely there.
    Please let me know your observations in this area.
    Regards,
    Wojtek

    Hi..
    Hi
    Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer
    Data which is not copied
    LOCAL: VBKD-FKDAT.
    LOCAL: VBKD-FPLNR.
    LOCAL: VBKD-WKWAE.
    LOCAL: VBKD-WKKUR.
    LOCAL: VBKD-DELCO.
    LOCAL: VBKD-BSTKD.
    LOCAL: VBKD-ABSSC.
    LOCAL: VBKD-BSTDK.
    In your data declaration, you have
    LOCAL: VBKD-BSTDK
    Regds
    MM

  • Delivery of Sales BOM Item

    Hi All,
    We are creating automatic delivery from Sales Order.Items in sales order is Sales BOM.quantity is calulated based on sales factors of item.,but when we change the quantity on sales order ,SAP automatically sets the factor values to 1.
    we are getting factors from item master on delivery document,but it is updatinng the quantity of parent item only i.e not updating the child item quantity.
    suppose parent item quantity i set to 5 it still show child item quantity as 1 on delivery.
    how to do this,
    thanks,
    neetu

    This is the bug in SAP B1,reported to SAP and will be fixed in future versions

  • Sales order items due for delivery,customer want to cancel order reming ite

    Hi,
    sales order raised for 50 items and delivered 40 items. customer does not  want 10 items.
    how we can canceled that reaming 10items.
    Regards,
    Raja
    [email protected]

    Hi just open the Sales order in change mode i.e. VA02. and less the quantity i.e maintain as 40 . Then the remaining quantity automatically come and add to u r plant stock....( check the plant stock using T.Cdode MMBE )
    it will solve u r problem.
    regards,
    vas.v.s
    REWARD POINTS IF IT HELPS.
    Message was edited by:
            v.s.vas.

Maybe you are looking for