Move Order lines and Delivery Detail lines - Relationship

Hi All,
Is there a one - to - one realtionship between Move Order Line and Delivery Detail Line?
i.e., Each Move Order line will correspond to only one Delivery Details line Record?
Thanks in advance.
Regards,
Gowri

Hello,
There is a one - to - many relationship between Move Order Line and Delivery Detail Line when you split lines in delivery.
select * from mtl_material_transactions t you have source_id.
select * from WSH_DELIVERABLES_v t you have move_order_id.
Regards,
Luko

Similar Messages

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

  • Is there a DIRECT link between SD schedule lines and delivery lines?

    Is there a direct link (db table) between schedule lines on a sales order (VBEP) and the delivery lines (LIPS)? 
    Is there a function module to retrieve the data?
    Example-
    One order line with 3 schedule lines.
    Each schedule line is for 2 units (total of 6 units).
    Three deliveries made.  1st is for 2 units, 2nd is for 1 unit (backorder), 3rd is for 3 units.
    You can use document flow (table VBFA) or examine the SD document in the delivery line (LIPS) and link the delivery line to the order line.  The schedule line already references the order line.
    I am using math to decrement the schedule lines used and make the link between VBEP and LIPS.  It works fine.  I need four records back....
    1st schedule line for 2 units uses delivery 123
    2nd schedule line for 1 unit (partial) uses delivery 124
    2nd schedule line for 1 unit (partial) uses delivery 125
    3rd schedule line for 2 units uses delivery 125
    Like I said, it works. Just wondering if I missed a more direct link.

    As far as Db link is concern , I don’t remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order.  If you see process wise…. when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
    but I remember there’s a link between these tables, VBAP,VBFA AND VBEP , LIPS ...  against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
    I hope this’ll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
    Thanks

  • Consolidation of split delivery detail lines after backordering

    Does anybody know about any functionality which can consolidate split delivery detail lines again back into one according to current sales order status after they were backordered.

    Prabhu
    To get an answer, please do the following:
    1. When the order line is scheduled, how many delivery details you see for a given order line?
    2. If you see only one, then during pick releasing, do not pick confirm automatically.
    3. In the transact move order form, how many allocations you see?
    4. At the same time check (after pick releasing) check whether all the delivery details (if multiple) have different delivery_id (wsh_delivery_assignments table).
    5. If only one allocation is there, pick confirmation should not split it.
    So you can get an answer in the steps 2 to 4.
    Thanks
    Nagamohan

  • Difference between Scheduling lines and Delivery schedule

    Hi SD Experts
    can u say me the clear difference between Scheduling lines and Delivery schedule.
    where we will maintain deliver schedule. whether delivery schedule is automatically created along scheduling agreements..
    with regards
    James

    Hi James,
    Schedule Lines: Has basically information realted to delivery scheduling in Sales Order level.
    Delivery Scheduling: Is a process using which system will determine what are the different activities which need to be performed and time taken for each activitiy only after which the material can be delivered to the customer.
    Delievry scheduling will be started only from the material availability date i.e., system will first determine the material avail date and then do scheduling. By default Standard SAP system does Backward Scheduling in case material availability falls beyond the required delivery date system will do forward schedluing
    Delivery Scheduling consists of the following Basic activities:
    We give deatils while creating order:
    Order Creation Date
    Required Delivery Date
    Order date - Material availability date - Transportation Planning Date - Loading date - Goods Issue Date - Required Delivery Date
    Time Between GI Date and required Delivery Date is called Transit Time
    Time Between LoadingDate and GI Date is called Loading time
    Time Between Material Availability Date and Loading Date consists of 2 components - Pick / PackTime and Transportation Planning Time
    System has to calculate all this before it determines the confirmed delivery date.
    Give your mail Id I have some Presentation I will send you across.
    REWARD POINTS IF IT HELPS
    Regards
    Srini

  • Reading a text file line by line and splitting each line into an array

    I have a text file that I want to read in line by line and within each line, I want to do some processing. I have a file like the following:
    apples||oranges||bananas||grapes
    cars||trucks||planes||boats
    And I want to end up with an array such that
    First...
    item(0) = apples
    item(1) = oranges
    item(2) = bananas
    item(3) = grapes
    Then move onto the next line with item getting cleared each time. Can anyone offer any ideas on how do to this? I am unclear on reading line by line and then also splitting into an array as I am new to this.
    Thanks.

    For reading a text file in line by line, you want to use a FileReader (java.io.FileReader)
    If you wrap it in a Buffered reader, you can call readLine() and get the file one line at a time.
      File file = new File("C:\myFile.txt");
      BufferedReader in = new BufferedReader(new FileReader(file));
      String s = in.readLine();
      while (s != null){
        // string handling here
        s = in.readLine();
      }For the second part, you probably want to look at the method String.split() which should split your string up into an array for you. Check out the API for java.lang.String
    Check out the

  • Reinitialize Sales Orders, Billing and Delivery (11, 12 & 13)

    Hi,
    Due to continues rollouts we need to reinitialize Sales Orders, Billing and Delivery do-cuments from R/3 into BW.
    This requires us to delete all loaded data, logs, queues etc. on the BW side - Fair enough.
    The real challenge come as we need to run the transactions OLI7BW(order), OLI8BW (billing), OLI9BW (deliveries) on the R3 side in order to fill the setup tables. Here we need to switch the "block all orders" on in order to ensure that no new documents are created while load-ing.
    In relation to the above situation I have a couple of questions:
    Is there no way of doing this in a more "online" fashion?
    What transactions are actually blocked by flicking the "block all orders"?
    Thanks in advance
    Michael Bisfelt
    Arla Foods a.m.b.a
    Message was edited by: Michael Bisfelt

    Hi Michael,
    I've seen this process accomplished without blocking orders, but instead by blocking all transactions that may in any way lock an order or related sales document.  Also, you can dramatically speed up the process of gathering the old documents by running multiple batch jobs (with different document number ranges) at the same time.  In this case, I believe you want to "uncheck" the "New run" flag.  I've seen runtimes for this reduced from over 24 hours to under 4 hours.  The important thing is that you don't want to have ANY activity that modifies or locks order documents until after the date and time of termination that you specified, otherwise you will lose data on your transfer to BW.
    Regards,
    Chris

  • BAPI to bring TAX INFO, ORDER HISTORY and PAYMENT DETAILS of a PO ??

    Hi All,
    Is there any BAPI that brings
    TAX INFO
    ORDER HISTORY and
    PAYMENT DETAILS of a PO ?
    Please let me know.
    Thnx.
    Regards,
    Nandha

    Hi,
    The BAPI exports all details required however I am not sure whether this exports payment details as well.  Kindly let me know if this exports payment details or is there any other BAPI that provide these details.
    Thnx.

  • Schedule Line and Delivery....

    Hi Experts,
    When I use VA02/3 to diplay a sales order, I select a line item.
    I double click the line item, and click the 'schedule line' tab.
    In some cases I may have 2,3 or 4 schedule lines...whatever. On the line when a delivery has been made it displays 'delivered qty'.
    So shcd line 1 might be 2...shcd line 1 might be 3...BUT which delivery corresponds specifically to each one of the schedule lines?
    In my report...I can read vbap, vbep etc and get the sales item data.
    I can read VBFA and get the subsequent deliveries. No wehere on LIPS does it reference the schedule line detail i.e. the ETENR which the delivery relates to. The only cross reference is back to the sales order itself.
    Yusuf.
    Message was edited by:
            YUSUF BHORI

    Hi Yusuf,
    In the Predecssor tab of the Delivery , you will find the Sales Order Doc and item number You can track this link in VBFA ( something that u already have done).
    As the standard transaction itself track up to the Sales Order line item only ( note that while creating a delivery u only mention Sales Order , Item ( optional)).
    So I dont think it will be possible to line Delivery with the Schedule line delivery quantity.

  • Schedule Lines  and Delivery Pending Quantity Issue

    I have created Sales Order (Number 1032) with following scenario and posted one goods issuance against first delivery with less quantity.
    Sales Order Item                    
    Item     Item Desc     Order Quantity          
    10     High Speed Diesel (HSD)     5000          
    Schedule Lines                    
    Line: 10
    Delivery Date: 07.07.2011
    Order Quantity: 1000
    Rounded Qty: 1000
    Confirmed Qty:1000
    Delivered Qty: 9500
    Line: 20
    Delivery Date: 07.07.2011
    Order Quantity: 1000
    Rounded Qty: 1000
    Confirmed Qty:1000
    Delivered Qty: 0
    Line: 30
    Delivery Date: 07.07.2011
    Order Quantity: 2000
    Rounded Qty: 2000
    Confirmed Qty:2000
    Delivered Qty: 0
    Now when i goto VL01N and execute delivery on 08.07.2011 with reference to Sales Order system sum-up the previous quantity + 2nd schedule line quantity means (1500). But our requirement is that it should only propose the order qty of current  scheduling lines date instead of previous + current date quantities..

    can any one answer my this question....

  • Link between Schedule lines and delivery quantity

    Hi all,
    At the item level in a sales order, can anyone tell me the link between schedule line data and delivered quantity.
    Schedule line data can be found in VBEP and delivery qty can be found in LIPS. But I want the link between the two. For which partcular date in the schedule line item the delivery qty is displayed.
    Thanks in advance.

    Hi Amol and Rahul,
    Actually I dont want the link between sale order and delivery, I want the link between schedule line dates and delivery qty.
    Hope I am clear.
    Thanks in advance.
    Edited by: Rajini R M on Sep 11, 2008 6:12 AM

  • Schedule Line and Delivery Link

    Hi,
    I need to get schedule line info and its related delivery info. I am unable to link schedule lines ( VBEP- ETENR) to its related delivery. Is there a way to do this ?
    Ex: Order 1, item 1 has 2 schedule lines 1 & 2  with delivery # 11 and 22.
    From VBFA I get 2 deliveries for item 1 but unable to link sch. line 1 to 11 and sch.line 2 to 22.
    SAP does this. Can anyone help on this. How does SAP provide info in doc flow of order where it links sch. line to delivery.
    Thanks !

    Hi,
    Delivered quantity at the schedule line is calculated with function module RV_SCHEDULE_CHECK_DELIVERIES. You have to feed it with document flow from sales order to delivery (FVBFA), schedule lines (FVBEP), status (FVBUP), and sales order item (FVBAP) to get the vsmng filled in FVBEP.
    Also please check the following FM.
    SD_VBEP_ARRAY_READ_VBELN
    SD_VBEP_READ_WITH_POSNR
    SD_VBEP_READ_WITH_VBELN
    SD_VBEP_SELECT
    SD_VBEP_SINGLE_READ
    It will return VSMNG value(s) in table parameter (table strucuture VBEPVB).
    Hope this will help.
    Regards,
    Ferry Lianto

  • Schedul lines and delivery

    Hi to all,
    is there a way to identify the connection between the schedul line of sales order (vbep-etenr) and the line of outbound delivery? My problem is that i have 2 or more schedul lines and 2 or more deliveries for the same sales order item and i want match this with a program.
    thx a lot

    Hi,
    Schedule lines are defined by scdule line category.
    As we know that item category is determined by a sales order type,Item category group,Usage,High level item category using VOV4 T.Code.
    These schedule line category is going to be determined by item category and MRP Type by using VOV5 T.Code.
    Means it has indirect relation ship with sales document.
    Each schedule line in a sales order refers to an outbound delivery.So in your order as there are 2 schedule lines two deliveries will come.
    Regards,
    Krishna.

  • What is the link between schedule lines and delivery document item level

    Can any one please explain me what is the link between the schedule lines of the order/scheduling agreement and the item level of the delivery.
    Is there any link between VBEP and LIPS ?

    Hi
    Most of the item level data in delivery doc is copied from Schedlue lines in Sales order for eg delivery date
    So u may say that schedule line in sales order becomes the line item in Subsequent doc that is in Delivery doc .
    The table u are talking about i.e VBEP is related to sales doc and it contain data for Schedule line in sales order and the other table i.e LIPS give the delivry doc related data at item level.
    Hope this help

  • Issue on Purchase order creation with Delivery schedule line items per PR

    Hi
    Note->Developed inbound FM to create PO's in SAP through IDOC.
    We are creating purchase orders from vendor which is coming from Inbound IDOC. Here we are using as BAPI_PO_CREATE1
    to create PO's. before that i am passing all the inbound data of the IDOC and getting some Purchase requisions for plant and material wise from EBAN table where we have open PR's and split the inbound line item qauntity as per Open quantity in Purchase requisions. Problem here we are modifing schdule line data as per purcahse requisitions and post the all the shehduline data into above functional module, we are using creation date as delivery date in the scheduling line for each line.
    Set1- If we have multiple requisions for each material and plant in the inbound IDOC item , while creating PO using  above BAPI
    creating PO with delivery date is taken from Purchase requesion date, this only will happend in the first schudle line item always, second line scheulde has taken correctly from creation data as delivery date.
    Set2-If we have one requisition for each line item, it will creating correctly for schulding line item as with correct delivery , whcih is not taken from requstion delivery date.
    Set 2 is working correctly, but Set1  has problem with delivery date  in the scheduling lines particulary for first schduling line item.
    Please help me on this issue.
    Advance wishes

    Hi Satish
    Thanks for the reply.
    I checked the parameters and it is creating 2 PO when the Indicator Ordering address is set.If I uncheck this Indicator then only one PO is created.
    But now my question is from where is the Ordering address taken because for both line items Vendor is same and ordering address is also same.
    Then why the system is creating new PO?
    Regards
    Vaibhav Mahajan

Maybe you are looking for