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

Similar Messages

  • 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

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

  • Link between Prod Order and Sale Order schedule line

    Dear all,
    Ours is a MTO (81).
    In Scheduling Agreement / Sale Order , there are multiple schedule lines for a single item .
    Production Orders are generated for every schedule line of the Item.
    The client wants to know (for a custom developed report) , against which schedule line of the Sched Agreement/ Sale Order, the Production Order is generated ?
    This Information can be seen in MD04.But  I am not able to fetch from the tables .
    The schedule line field (KDEIN ) is not updated in AFPO table & the order no (AUFNR) is not updated in VBEP table .
    Say,
    Sale Doc No : 42000506
    Schedule line/Dely date            Order qty          Prod Order No
    06.10.09                                    500kg               100170
    15.10.09                                    300kg               100171
    Pls give your valuable inputs.
    Regards,
    Sheik

    Hi,
    Only Sales Order No & Sales Order Item No is updated in the table.
    Whereas , I want to know the Sales Order Schedule Line no.
    Regards,
    Sheiki

  • 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

  • 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

  • Mapping between Sales Order-Schedule-Line and Delivery-item

    Hi together,
    I want to extend the Datasource 2LIS_12_VCITM (Delivery-number, -item, Order-number,-item is available) by Sales Order Schedule Line.
    Could not find any ERP table (VBEP and LIPS allow a mapping only on item level) for the mapping between Sales Order Schedule Line and Delivery item yet. The use of the extractor 2LIS_12_VCSCL for the extention (e.g. infoset) afterwards is no option.
    Thanks for your help in advance!!
    Assign full points!!
    Sven

    Hi Reddy,
    thanks for your answer.
    I know that I have to add this field.. but the problem is, how to fill this field. I don't know how to map the delivery-item with the schedule line-item.

  • Difference between sales order schedule line and item level data

    Hi All,
    Could you please let me know what is the difference between sales order schedule line and item level data?
    Thanks,
    Ramya

    Hi Ramya,
    Sales order schedule line contains del date, order qty, rounded qty, confirmed qty, delivery qty, schedule line category, purchase requisition etc.,  ie It contains the full details of sales order data with respect to the scheduled line of delivery.  The total quantity of a sales order item can be subdivided into schedule lines that contain the various subsets with the corresponding delivering dates.
    Sales order Item level data contains details of the item in the sales order like material code, net price, net value, UoM, PO details, reason for rejection if any, material group,billing date, plant etc., ie this
    contains the full details of item irrespective of scheduled line.
    Regards,
    R. Senthil Mareeswaran.

  • Interesting and an  imporatant issue at sales order schedule line.

    hi all,
    interesting and an  imporatant issue at sales order schedule line.
    i created a sales order with 10 qty.and the system proposed a two schedule lines.
    let's say to order created date is 27.11.2008.and the requested delivery date is 27.11.2008.
    but the stock is not available today then the system proposed two more schedule lines apart from the 27.11.2008.so now there are three schedule lines like below.
    schedule line date                      Material availabilyt date   delivery date                   
    27.10.2008 with zero quantity.     
    28.10.2008 with 5 qty.                28.10.2008                     29.10.2008
    02.10.2008 with 5 qty.                02.10.2008                     03.10.2008
    now the delivery and pgi already for the schedule line 28.10.2008.
    then when i run the availability check on 01.11.2008 system is over writing the material vailability date as today at the scheduleline number two.
    now i can able to view only two schedule lines only.
    schedule line date                      Material availabilyt date   delivery date                   
    28.10.2008 with 5 qty.                01.11.2008                     29.10.2008
    02.10.2008 with 5 qty.                01.11.2008                     02.11.2008
    now my concern when we reschedule the avalability check it should notchange the Material availability date of the schedule line which i already delivered.
    Regards,
    sheshukumar

    can any one repsond for this.....

  • 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

  • Sales order schedule line quantities in decimals

    Gurus - Required your help to resolve the following scenario.
    I'm facing with the problem where schedule lines of a sales order allocated with decimal quantities even though materials with UOM as EA(Each). For example Material A of sales qty 13 has the schedule lines allocated as 11.960 and 2.040. The delivery has been created as per the schedule lines with qty 11.960 and 2.040 and it has been pick/packed and delivered to the customer. Now, while issuing goods for the delivery, received the error message as <b>"Serial number management only allows whole numbers".</b>
    Can anyone provide what are the possible ways to round the delivered qty and issue the goods, when the delivery is complete?

    Sree - Question 1 - Why would you deliver the product and then try goods issue it (In general ;)...anyway....I know, a lot of companies do that way....
    Question 2 - How much exactly did you ship out, surely must not have shipped products in decimals, since you've EACHES defined and not KGs....or LBs...
    I would suggest finding out the correct quantities shipped out and then cancelling this delivery document....you can then go on to modify sales order schedule line accordingly and then process it again..."WHAT ABOUT PICK PACK DETAILS"....before cancelling this delivery doc out..capture the packing details (HUs) and then apply them to the new delivery doc... if you are using external system for packing HUs.....process the IDOC (or file etc) using the new delivery doc number....
    Hope you got the direction )
    Thanks
    Nikhil

  • Material availabity date showing incorrectly in sales order schedule line

    Hi ALL,
    In Sales order Schedule line(after clicking shipping i.e displaying bottom of the screen)  material availabity date is coming incorrectly . In my material in mrp2 view i selected proceument type as F and i gave planned delivery  time as 19 days and GR processing days as 1 . suppose if i am putting sales order as on today 9-6-2010 it should show material avaialbity date as
    7-7-2010 but it is showing 10 days more (excluding saturday and sunday) . So please give me suggestion where to check in the program SAPMV45A.
    Regards
    R.Vijayakumar

    Check to see if your pick, pack,transportation planning lead time etc are also being included.

  • Manually Enter the Sales Order Schedule Line

    Dear All,
    I have a requirement where Sales Order will be created by Customer Service with Quantity and customer requested delivery date.  Subsequently Planning department will go to the sales order schedule lines and enter manually the delivery date and confirmed quantity (multiple schedule lines) based on the stock/availability.  They also need to do some changes in the shedule line if required.  But when I try, the manually entered schedule lines are disappeared.  Could any one advice how to set this up?
    Thanks,
    Regards,
    Venkat

    Hi Venkat
    A schedule line gets grade out because this has been determined . through schedule line determination. . Now in the shipping data tab you can change the schedule line tab if you want .  manually you can change the request delivery date also. 
    But it is not advisable to change the schedule line because again the affect of availability check will vary.
    But can we know for what purpose you want to change the schedule line when you create the sales order. Any reason .For what purpose you are going for that customization ?For what purpose?
    Regards
    Srinath

  • How to control not to confirm quantity in sales order schedule line

    Hi,
    We have a problem with confirmed quantity in sales order schedule line.
    When I reject a position in a sales order, confirmed quantity still remains with quantity ( diferent to 0).
    I need in some cases that system not to confirm quantity in schedule line at item level.
    I've tried to do this with a new routine in OVB8 transaction, but it didn't work.
    Could you help me? How can I avoid the system to confirm quantity in a sales order item?
    Thanks in advance....

    Hi Lakshmipathi,
    I'm sorry. The rejection was a bad example.
    I need, in some cases, that the system doesn't confirm quantity in sales orden item. We have a custom field in sales order item and we need to confirm with 0 quantity , when that field has a specific value.
    Due to that field is a custom field, I need an exit, or rutine, or .. i don't know...to inform a standard field too ( delivery block, rejection...) something to get confirmed quantity to 0.
    I've tried with rutine in OVB8. But It didn`t work
    I've tried with delivery block, but with this all items in sales order, confirms with 0. I need at item level.
    Thanks

  • Sales Order Schedule line not populating in the Production order

    Queation: Is there a way to tell the system to look at the sales order, line item AND schedule line. It is displayed in MD04 but it doesn't carry over to the Production Order. We are a MTO and this information is relevant in a number of ways. 
    Please Help.

    Vickie,
    If you are using MTO scenario then when you run the MRP for the material, it will create a planned order for that sales order based on the dates calculated from the sales order schedule line (Shipping tab)...
    So now when you convert the planned order to production order, all the sales order details will get copied.
    try and revert back.
    Swapnil

Maybe you are looking for

  • No account determination for Service PR with acct assngmnt

    Dear Experts, I am creating a PR with account assignment as K (even any other like F, N) and Item category D. After completing the entery of all details like service number, qty and gross price, a new screen is appearing to enter the cost center but

  • Help in Purchase order check BADI !

    Hi Experts, I have made some changes in the BBP_DOC_CHECK_BADI for the BUS2201 object implementation whereby I had implemented the changes for checking the attachment details in the Purchase Order. Now here I used the Function Module BBP_PD_PO_GETDET

  • Vendor Email id in  PO Output tabhttps

    Hello All, We have a business requirement where, we need to modify the vendor contact details (Email, phone, fax) while creating the PO. After shopping cart approved completely, then the PO will gets created automatically. To meet this requirement I

  • SQL Update statement not executing in Filter

    Hi, I am trying to update Documents table using the query resource in a custom component. The document table is requred to upate for vault file(1 row) and for weblayout file(1 row). The java code is executing in PostConversionFilter, the sql is defin

  • Error trying to use VHV or diff

    Hi, I've installed SCM 9.0.4 on a 9i database. I'm trying to use it but I get the following error while trying to use RON's diff tool or VHV: Message CDR-03120: Internal Error - Problem making a repository connection Cause An internal Diff or Merge c