Delivery and Sales Order Relation

Hello friends I need to show this data on report output.
Delivery note # (LIKP-VBELN)
Shipment # (if applicable) VTTK-TKNUM
Material (LIPS-MATNR)
Quantity (LIPS-LFIMG)
Bill of Lading (LIKP-BOLNR)
Means of TransType (LIKP-TRATY)
Sales Order # (VBAK-VBELN)
Sold to Party (VBAK-KUNNR)
Customer PO # (VBAK-BSTNK)
The selection criteria should be:
Delivery note # (LIKP-VBELN)
Sales Doc Type (VBAK-AUART)  Please default KB
Created on (LIKP-ERDAT)
Sold to Party (VBAK-KUNNR or LIKP-KUNAG…whatever you want)
Sales Org (LIKP-VKORG)
I am unable to find a link between LIKP and VBAK, please help me regarding the same.
Thanks

Hi
Join the tables LIPS and VBAP as below
LIPS-VGBEL = VBAP-VBELN  (VBAK-VBELN)
LIPS-VGPOS = VBAP-POSNR.
join the VBAKm VBAP with VBELN field and LIKP and LIPS with VBELN field
To get the shipment number join LIKP-VBELN  = VTTP-VBELN
VTTP is shipment Item and VTTK is shipment Header (both can be joined using TKNUM field)
<b>Reward points for useful Answers</b>
Regards
Anji

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

  • 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

  • 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

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

  • Report regarding delivery and sales order

    anyone know of a report where i can see the quantity that is left from partially delivered orders. basically, if i place an order for 100 units and delivery only 50, i wanted a report that showed me the sales order that was partially delivery with the amount that is left to deliver. va05 tells me what order is partially delivered but it doesn't tell me how much of that order is left to deliver, need a report or list to do that.

    Hi
    In VA05 only you can check , by adding the feild in the drilldown option . and include the quantity feild also and then you can run the report VA05 and then you can check the quantity feild.
    Secondly also run the following reports
    MCTC  -
    Material Analysis
    MC(A  -
    Customer Incoming Orders
    MC+Q ---   Material, Sales Volume
    Regards
    Srinath

  • 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

  • Delivery date and sales order creation date

    Dear all
    Can you please explain the relation between delivery date and sales order date. In my case i can create delivery with delivery date as before the sales order date... how it is possible that i can create delivery before the sales order date.??
    Please explain.........
    Warm Regards
    Inder Pal

    Hi,
    Sales order date: Date on which the customer officially places an order to your company.
    All the commitment and product allocation counting starts with reference to this date.
    e.g. customer says that the goods are required from 20 days of placing order, then from this date the calculation starts.
    Delivery date: Date on which after the system goes through material availability date, replenishment time, calculates the date on which physically the goods can be delivered to the customer.
    e.g. customer orders 100 qty of material X in 15 days, you will hve to check this delivery date through availability check which can be done in sales order and also delivery.
    payment date is based on this delivery date.
    regards,
    Siddharth.

  • Pending order delivery against sales order and quotation problem

    Dear Expert
    I am facing problem when we are tracking delivary quantity against sales order and quotation. then our delivary quantity not matching with invoiced quantity.
    Actually the logic of report are below
    Pick up the VBAK-VBELN and VBAK-KUNNR where AUART = quotation, VKORG, VTWEG, SPART, ERDAT = selection.
    now when any quantity which are added in sales order in new line not cattered through below code and it show problem of mismatch.
    Can any one help me in finding data from all this table to catter delivey quantity, quotation qty and sale order qty.
    thanks in advance.

    Starting from quotes, you could find your quote, then read SD document flow table VBFA for next document of type sales order (could be more than one sales order from a quote).  Then you could obtain delivery documents (could be more than one for a sales order) for all your sales orders, again using next document code in table VBFA.  This would present you tables that could contain multiple rows:
    quote
       sales order
           delivery,
           delivery
        sales order
            delivery
    and so forth.  You might also consider using table VBUK or VBUP to discover status of each quote item.

  • How to relate Campaign and Sales Order in WebGUI?

    Hi experts,
    When I am working on WINGUI side I see that there are fields to store item and header information for Campaign. On WebGUI side I can not find them. So, how can I relate Campaign and Sales Order on WEBGUI side?
    Thanks in advance
    Erkan

    HI Erkan,
    It might be because your Field is been hidden in the Web GUI.
    Take teh Component ID and goto component enhancement workbench, then goto configuration see the Available fields option. You should select your field and display .
    Hope this solves your query.
    Regards
    Arun Kumar

  • BAPI to get delivery number and Sales order

    Dear all,
    Is there a standard BAPI that would help me get the delivery number and sales order number when Shipment number is given as an input?
    Regards,
    Neha.

    BAPI_SALESDOCU_CREATEFROMDATA  Creating a Sales and Distribution Document
    BAPI_SALESORDER_GETSTATUS      Sales Order: Display Status  
    BAPI_SALESORDER_SIMULATE       Sales Order: Simulate Sales Order
    Reward Points if useful.

  • Relation between serial number and sales order number

    Hi,
    Is it any one to one relation between serial number (IN) and sales order? For example, when I create the special serial number for the special sales order (Internal or External) , whether I put the sales order number in the IQ01 or not, sales order accept that serial number(IN). Is it any way to specialize one serial number to exact one sales order number?
    Edited by: Lida Navabpour on Jun 9, 2009 1:02 PM

    Hi,
    > Is it any one to one relation between serial number (IN) and sales order? For example, when I create the special serial number for the special sales order (Internal or External) , whether I put the sales order number in the IQ01 or not, sales order accept that serial number(IN). Is it any way to specialize one serial number to exact one sales order number?
    Yes, There is one to one relation ship. U have to maintain serial number profile for the same. The serial number runs on different status.The status ESTO means the serial number is in stock. ECUS means the serial number is at customer site. AVLB means the serial number is available.
    If the status is ECUS then u cant use that again.
    Serail number profile Check t-code OIS2.
    Thanks,
    Raja

  • Sales order and Production order relation

    i hav a requirement to display list of production order against each sales order....VBAP table has field AUFNR  but i do not find any entry in this field....
    is  there anyway to determine the production order number for the particular sales order......?

    Hi,
    Check Table AFPO
    KDAUF is the SO Number
    You can even check this link
    Production order and sales order can be made by using the KDAUF KDPOS fields of AUFK or AFPO and linking them to VBELN and POSNR of VBAP.
    Regards,
    Satish

  • Link between Accounting Document and Sales Order

    Dear SD Gurus,
    How to find the Sales Order number and Sales Order Item from the accounting document- like document types DZ, DG, ID etc.
    Kindly specify the table links and fields to fetch the above details
    Regards
    Vimal

    Link Between SAP SD, MM & FI
    The link between SD and MM :-
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    There are many such links between SD and MM.
    Now the link between SD and FI :-
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
    Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    SD Integration points with other modules
    SD module is highly integrated with the other modules in SAP.
    Sales Order –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Costing                        -       CO/ MM
    •Tax Determination              -       FI
    •Transfer of Requirements       -       PP/ MM
    Delivery & Goods Issue –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Reduces stock                  -       MM
    •Reduces Inventory $            -       FI/ CO
    •Requirement Eliminated         -       PP/ MM
    Billing -
    Integration Points                      Module
    •Debit A/R                      -       FI/ CO
    •Credit Revenue                 -       FI/ CO
    •Updates G/ L                   -       FI/ CO
      (Tax, discounts, surcharges, etc.)
    •Milestone Billing              -       PS
    Return Delivery & Credit Memo -
    Integration Points                      Module
    •Increases Inventory            -       MM
    •Updates G/ L                   -       FI
    •Credit Memo                    -       FI
    •Adjustment to A/R              -       FI
    •Reduces Revenue                -       FI
    SD Transaction Code Flow: 
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    <b>The SD & FI link is established through mapping of appropriate G/L accounts through T.Code: VKOA</b>
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

Maybe you are looking for

  • Vista - Updating iTunes Library Error, Freeze, Blue Screen - Work Around?!

    I may have a solution & partial root cause for the "Update iTunes Library" freeze / blue screen issue. Details: - I've been running Windows Vista since its release. - iTunes worked fine under Vista since my XP->Vista clean install. - I updated to iTu

  • Do I need to change OCI layer to utilize Oracle RAC failover Feature?

    Dear Oracle Experts, From the Oracle documents, the RAC is a great feature providing the scalability and high availablility. I thought the failover features should be transparent to users. However, from this book: http://www.oreilly.com/catalog/oress

  • TDMS Set Properties in a loop?

    I am using LV 8.5 and am trying to apply TDMS properties to multiple channels in one fell swoop, with the idea of being able to automate it for the number of channels currently active.  I know how to do this, except for one step I'm struggling with. 

  • PP - Production Order Cost Balance View

    I need help regarding the following situation. I need to see the Legal Valuation in Cost Balance for some Production Orders (Collective View). The Information I need can be obtained for a single PO by entering the PO (transaction CO03) -> <i>GoTo</i>

  • Problems launching Encore 2.0 as an authenticated user....

    Hi All, I'm working on creating a PC build that gets mass distribution across multiple computers, anyhow.... I installed Encore 2.0 and it runs fine when you are logged in as a local administrator, however, as soon as a regular user logs in Encore gi