Link between Order & Delivery

Hi All,
Order and delivery should be linked, but it appears the link is broken. Do you have any idea how this can happen ( if it is like this) and how can it be fixed again?
Regards,
Mahavir
Edited by: Mahavir Patil on Dec 5, 2011 5:02 PM

Dear Mahavir,
but it appears the link is broken.
How did you reach the conclusion that the link is broken?
Check whether the delivery document comes in the document flow in the sales order screen.
This following thread might help you.
http://help.sap.com/saphelp_45b/helpdata/en/93/744f86546011d1a7020000e829fd11/content.htm
Also as given earlier, check the VBFA table.
Put the SO no as  preceding document and see whether there is any entry in the table with subsequent document type as J.
This will give you the delivery no, if any.
Thanks & Regards,
Hegal K Charles

Similar Messages

  • Link between outbound delivery and matriel documents of good receip

    HI,
    in which table we can find the link between outbound delivery and matriel documents of good receipt.
    thanks

    Hi!,
    If you have posted a goods receipt for an outbound delivery, you should find in the header table MKPF for the material document the field MKPF-XBLNR completed with the outbound delivery number.
    Then, if the document flow for the delivery has been updated correctly, in the table VBFA for the delivery (VBFA-VBELV), you should find the material document under VBFA-VBELN.
    I hope this helps you!
    Best regards,
    Esther.

  • Establishing Link between Order and Routing

    Hi
    When I am creating an order (e.g. production order from CO01) by default itu2019s getting Routing and BOM. I want to know from where my order is populating BOM and Routing?
    I want to know how the link between Order and BOM and Order and Routing are established
    Thanks

    If you want to see how the tables are linked you can see this in table CAUFV (order header).  Fields PLNTY, PLNNR, & PLNAL define the task list type, group, and group counter.  These can be used to look up the routing information in tables PLKO and PLPO.  The BOM link is in field STLTY, STLST, & STLNR (bom category, status, and BOM).  Use these values to find the the BOM details in tables STKO and STPO.
    If you want to know how the system knows which BOM and routing to bring in, that is done in configuration under Order plant dependent parameters (t-code OPL8).  Also, once the boms and routings are copied into the order you can make changes to the operations and components within the order.  The operation and component details that are stored in the order can be found in tables AFVC and RESB.
    thanks,

  • Link between Inbound Delivery and Sales Order for Third Party

    Greetings Gurus,
    My client is using a third party business model in a retail setting that fulfills sales order via purchase req --> PO --> Inbound delivery with GR posting --> customer billing document created through batch based on the delviery quantity ('G' in item billing relavence) --> vendor invoice reciept happens subsquently.
    My question is this, is there an inexpensive (performance wise) way to link the customer billing and the inbound delivery?
    Since the inbound is not in the doc flow i don't think VBFA will suffice. I think the best route would be via schedule line back up, but i have yet to find a link.
    There are process implications for this link for reporting and customer service which are a critical to the business. Point will be rewarded for sound advice.
    Thanks for your help.

    Hi Daneil,
    Through the document flow VBFA you can capture the PO number and the link for what you have asked can be found from table EKBE. check out for field BELNR.
    regards
    prasad

  • Link between Inbound delivery and Billing

    Hi Experts,
    I am new to MM.
    It appears to me that inbound delivery is linked to Billing or the other way round.
    Can I know how are the 2 processes related?
    Can i say a billing doc can require the inbound delivery doc as the reference document at point of creating the billing doc?
    If so, inbound is about receiving goods delivered as a result of purchase order sent out to vendor.
    So, when creating a billing doc, does it mean the company is billing someone when he is the one who has purchased something?
    So, you can see that i am confused.
    Please advise. Thank you.
    regards
    Pascal

    Hi,
    Need not to confuse about inbound delivery, it is just a shipping document only.
    It is normaly used when you do STO process. because without a delivery challan you can't shift any things from one place to another place. So this Inbound delivery doc is accepted as delivery challan by the government.
    In STO process, receiving plant will raise the billing document because both plants are within a client only and receiving plant will add shipping cost, loading & unloading cost, etc on the net price of the product to sell to customer. that's why, here receiving plant creating the billing doc.
    But if you are consider that the Inbound delivery is created by a vendor with reference to your PO then the billing document will be created by the supplier (Vendor) only.

  • 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 Sales Order Schedule Lines to Delivery

    Hi we have a custom report we use to gather all the inventory information, as well as open orders and deliveries.  We are running in to a a bit of a snafu when it comes to the order's schedule lines.  It seems we can not find a good link between the delivery and order's schedule line for the sales order item.  Any one got some thoughts?  Thanks.
    -Larry

    Hi Larry,
    The link are there in standard tables.
    Depending on the types of information that you want to gather from Sales Schedule Line, you can use the below logic:
    1. Give your program selection screen for VBAK-VBELN (optional), VBAK-AUART (optional), VBAK-VKORG (mandatory) and VBAK-AUDAT (mandatory).  Give as much selection possible to narrow down the search and so that the program can run more efficiently.
    2. Based on selection screen input + VBAK-VBTYP = C, get all VBAK-VBELN.
    3. Where VBAP-VBELN = VBAK-VBELN, get all VBAP-POSNR, and for information at Sales Line Item, get all respective VBAP-MATNR, VBAP-KWMENG and respective VBAP-MEINS, VBAP-WERKS and VBAP-NETWR. Store in Z-table.
    4. Where VBEP-VBELN = VBAP-VBELN, VBEP-POSNR = VBAP-POSNR and VBEP-ETTYP = XX (Schedule Line Type - you do not want to retrieve all types. Name only a few.), get all VBEP-EDATU, VBEP-VBEP, VBEP-BMENG and VBEP-LMENG. Not forgetting also VBEP-WADAT if u require.  For 3rd Party Sales, Requisition number can be obtained from VBEP-BANFN.
    5. Where all data are obtained, populate in ALV for respective Sales Order and group accordingly. ABAP will know what to do.
    6. Where LIPS-VGBEL = VBEP-VBELN and LIPS-VGPOS = VBAP-POSNR, get all LIPS-VBELN.
    7. Then gather all your required fields in LIKP and LIPS table accordingly.
    Hope this helps.
    Thanks.
    Rgds.
    Edited by: PKW on May 4, 2010 12:21 PM

  • Creating Links between Tables.

    I have tables
    Client
    Order FK to Client
    Product
    OrderDetail FK to Order and to Product
    Tables were successfully created in Pointbase with Primary and Foreign keys displayed at the final SQL editor and were successfully populated and recognized as datasource by Creator. Now, trying to follow the same steps as per the Accessing Databases tutorial, when I add OrderDetail to the Design view (page 7 PDF Tutorial), the link between Order and OrderDetail tables does not show. It seems I will have to add it manually, but I cannot find in docs how to do that.
    Thanks,
    Luis.

    Post Author: dominicsthomas
    CA Forum: General
    I am working in crystal Xi.
    But try the same option for 10 also.
    go
    to File->Options
    then select database Tab
    from that Uncheck Automatic smart Linking.
    Hope this will work for u.

  • 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 sales order-delivery-invoices

    Hi all,
    I need to display an order , the delivery that is based on the order , the invoice based on this delivery...
    I need to find a link property between them ...
    Plz help...
    Ola

    The links between the documents are held at the item line level. 
    The BaseEntry property, BaseLine property, and BaseType property are used to link from one document to another. On your invoice these would contain pointers to the delivery it was based on, on the delivery these would contain pointers to the sales order.
    BaseType contains a BoObjectTypes reference (eg. Sales Order = 17) to let you know what type of document the line was based on.
    BaseEntry contains the document key to the originating document.
    BaseLine indicates which line number on the original document the current line was based on.
    John.

  • Link between delivery schedules in purchase order and GR document

    Dear all,
    Can you provide link between Delivery schedules in po and gr document. for which schedule gr is done etc.
    With Regards,
    prasadbabu

    i want fields mblnr and eindt in one table.
    With Regards,
    PrasadBabu.

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • When I plug in iPod - iTunes crashes?

    Hello.. sorry if this is a repeat question. I lost track of my user i.d. and couldn't track down my question. Anyways, when I plug in my ipod - iTunes loads as usual. However, it crashes and says "this application has failed" or something like that.

  • [SOLVED] Conky: After 2.6.37 update, conky no longer shows temperature

    Well, the title is quite self-explanatory but I'd also like to add that: I noticed that conky reads correct values and after exactly 3 refreshes it just displays 0, no matter how long is the update interval. /sys/class/hwmon displays correct values,

  • Sql Developer Data Modeler 3.0 EA1: Export - To reporting schema

    When launching Export -> To reporting schema the schema tables are created and messages show that data is being generated but after indicating that it "Exporting Diagrams" I get the following error message: "Error occurred while exporting to Reportin

  • HOW TO SEE THE NONACTIVE MATERILA LIST

    HOW TO SEE THE NONACTIVE MATERILA LIST

  • One RFC Lookup for numerous messages

    Hello I send large number of idocs in one message from ECC to XI and then processing EDI file on the filesystem my question is if I want to make one rfc lookup to convert the quanitiy unit  for all idocs at the same time (one call) is it possible  wi