Delivery quantity report

Dear All, As per our new requirement from business,They are asking report delivery quantity status report based on the date,Can you please advice how to calculate open delivery quantity based on date and total OBD quantity..

Dear Ravi
I would like to add some more findings here.
Open Delivery: means Delivery done--need to go for billing.
Is it what you are asking for??
(confirm--there is always difference between client terminology and SAP terminology)
If so-- First you retrieve all delivery docs from LIPS table--then retrieve the status of Billing from VBUP table(FKSTA)...
So you can easily find the open delivery Qty(again reiterating Open delivery Qty means-the Qty for which delivery happened--but not billed)
Note: I want to add a little bit to Experts opinion here---if a material is having availability check of KP--will not be observed in VBBE.
Please find the answer Given By Our Lakshmipathi sir in thread--VBBE table Not Updated....
Hope this helps.
Phanikumar

Similar Messages

  • Delivery quantity displaying double in BW report

    Hi All,
    One CUBE is getting data from two DSO's.
        1st DSO contains Sales deliveries data
        2nd DSO contains Sales Billing data.
    Mappings between CUBE and two DSO's
        Sales Deliveries DSO to CUBE : - Key fields are DELIVERY NUMBER, DELIVERY ITEM, BILLNING NUNMBER (Constant ZERO's), BILLING ITEM (Constant    ZERO)
        Sales Billing DSO to CUBE ; - DELIVERY NUMBER, DELIVERY ITEM, BILLNING NUNMBER, BILLING ITEM
    Data in CUBE:
    There is a one delivery number with two line item (10, 20), and delivery quantity is showing correct in delivery qty key figure
    and second row there is a billing document with same delvery number and with two line items (10, 20) and billing quantity is showing correct in billing qty key figure, but again delivery quantity is displaying in delivery qty key figure for this billing document number.
    Because of this reason delivery quantity is showing double in BW report.
    I want to display correct delivery quantity,
    How can I achieve this?
    Helpful answer will be appreciated with points.
    Thanks in advance,
    Venkat

    Hi Venkata
    You can restrict your Deliv Qty Key figure with Bill Num and Item Num both equal to zero.
    This will pick up Deliv Qty only from one record in cube and wont be duplicated.
    But in this I would have two cubes and build a MultiProvider on these two cubes. Map Deliv only from one cube,
    Regards
    Anindya
    Edited by: Anindya Bose on Nov 17, 2011 11:58 PM

  • How to get the total no of delivery quantity in PO

    Hello,
    This is shehryar. my previous account got locked(dunno why  ) , so i have created a new acc.
    I want to display the total no of delivery quantity of a line item in PO. can it be done ?
    Thanks..
    Shehryar

    Here is a sample.  This works pretty good for me.  You must account for the reversals(102 movement types) also.
    report zrich_0001.
    data: iekbe type table of ekbe with header line.
    data: tot_menge type ekbe-menge.
    parameters: p_ebeln type ekpo-ebeln,
                p_ebelp type ekpo-ebelp.
    select * into table iekbe
               from ekbe
                       where ebeln = p_ebeln
                         and ebelp = p_ebelp
                         and VGABE = '1'
                         and ( bwart = '101'
                         or bwart = '102' ).
    clear tot_menge.
    loop at iekbe .
      if iekbe-bwart = '102'.
        iekbe-menge = iekbe-menge * -1.
      endif.
      tot_menge = tot_menge + iekbe-menge.
    endloop.
    write:/ tot_menge.
    Regards,
    Rich Heilman

  • How to make query base delivery monthly report  link with delivery return

    Hi,
    I have facing some problem in Sales delivery report monthly. Problem is:
    1) When i make Monthly query delivery report without any delivery return and AR Credit memo, it is Fine.
    2) When i make Monthly query delivery report with any delivery return and AR Credit memo, it is not showing proper. Its showing in report including return quantity or AR Credit memo quantity.
    So, How to make query base delivery monthly report  link with delivery return and AR Credit Memo?
    Please help me regarding this.
    Mizan
    Edited by: mizan700 on Dec 18, 2010 2:50 PM
    Edited by: mizan700 on Dec 18, 2010 2:50 PM

    Hi,
    try this.
    SELECT DISTINCt T1.CARDCODE, T1.CARDNAME , T1.DOCNUM DELIVERY#,T1.DocStatus 'DELIVERY STATUS', T1.DOCDATE 'DELIVERY Date', T1.DocTotal 'DELIVERY Total', T3.DOCNUM Return#,T3.DocStatus 'Return Status', T3.DOCDATE 'Return Date', T3.DocTotal 'Return Total',T5.DOCNUM Invoice#,T5.DocStatus 'Invoice Status', T5.DOCDATE 'Invoice Date', (T5.DocTotal-T5.VatSum-T5.TotalExpns-T5.DiscSum) 'Total Before Discount', T5.VatSum 'Tax', T5.TotalExpns 'Freight', (T5.DocTotal - T5.PaidToDate) 'Total Payment Due', T7.DOCNUM AS 'CREDIT MEMO#', T7.DOCDATE
    FROM DBO.DLN1 T0
    INNER JOIN DBO.ODLN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN DBO.RDN1 T2 ON T2.BASEENTRY = T1.DOCENTRY
    LEFT JOIN DBO.ORDN T3 ON T2.DOCENTRY = T3.DOCENTRY
    LEFT JOIN DBO.INV1 T4 ON T4.BASEENTRY = T1.DOCENTRY
    LEFT JOIN DBO.OINV T5 ON T5.DOCENTRY = T4.DOCENTRY
    LEFT JOIN DBO.RIN1 T6 ON T6.BASEENTRY = T5.DOCENTRY
    LEFT JOIN DBO.ORIN T7 ON T7.DOCENTRY = T6.DOCENTRY
    WHERE  T1.DOCDATE >= [%0] AND  T1.DOCDATE <= [%1]
    Thanks,
    Joseph

  • Sales order Happened  but Need to track delivery Pending Reports

    Hi Experts,
    One of Our Cliend asking  Delivery Tracking Reports.
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Header 6
    sales order number/customer name
    Items name
    Pending Item for Delivery
    delvery Date
    Location
    Remarks
    Please Help me out this  issue.
    Thanks
    Dineshkumar kannan,

    Hi Dinesh...
    Try This
    SELECT T1.[CardName]'CustName',T1.DocNum 'SOOrder',(case when T1.DocStatus='o' then 'Open' else   'Closed' end) as  'SOStatus', T0.ItemCode,t6.ItemName,
    T0.Quantity 'SOQty',isnull(T2.Quantity,'0') 'Delivered QTY',isnull(T0.OpenQty,'0') 'BalQty', isnull(T3.DocNum,'0') 'Delivery#',
    T3.[DocDueDate]'DelDate', T5.DocNum 'Bill#'
    , T5.DocDate 'Bill date'
    From RDR1 T0 inner join ORDR T1 on T0.DocEntry=T1.DocEntry left join  OITM t6 on t6.itemcode = t0.itemcode left join OITB T7 on T7.ItmsGrpCod = T6.ItmsGrpCod
       left join DLN1 T2 on T2.Basetype=17 and T2.BaseEntry=T0.DocEntry and T2.BaseLine=T0.LineNum
       left join ODLN T3 on T2.DocEntry=T3.DocEntry
       left join Inv1 T4 on (T4.Basetype=15 and T4.BaseEntry=T2.DocEntry and T4.BaseLine=T2.LineNum)
                              or (T4.Basetype=17 and T4.BaseEntry=T0.DocEntry and T4.BaseLine=T0.LineNum)
       left join OINV T5 on T4.DocEntry=T5.DocEntry ----where t1.DocNum='342'
    Where T7.[ItmsGrpNam] Like [%0] and  t1.docdate between [%1] and [%2]
    ORDER BY  T3.[DocDueDate]
    Regards
    Kennedy

  • Difference between open quantity and delivery quantity

    Hi all,
    Please anybody explain me the difference between open quantity and delivery quantity My question is both are same in the value or different I need to report these 2 fields based on date.
    open quantity is available in table vbbe
    delivery quantity available in table lips.
    for open quantity i have one select statement.
    for delivery quantity i have another select statement.
    i want to club these 2 fields into a single report.
    please clarify my doubt.
    regards
    chandu

    Hi,
    Open quantity is nothing but the quantity which we have at the DAY starts.
    Delivered quantity means which was delivered on that DAY.
    So Opening qty - Delivered qty = Closing qty for a DAY.
    Again this Closing qty will be the Opening qty for next DAY.
    I think based on POSNR u need to club both the quantity in single report.
    select vbeln posnr matnr omeng mbdat into itab from VBBE where....
    select vbeln posnr matnr lfimg mbdat into itab1 from lips where....
    loop at itab.
    read table itab1 with key....
    move:....to itab2.
    endloop.
    Thanks.
    I hope this will help you.
    Message was edited by: Deepak333 k
    Message was edited by: Deepak333 k

  • Pending quantity report for a manufacuting firm

    Hi Guys,
    I need a report to know the daily pending quantity report for a manufacturing company..
    I have tried a query and to some extent its working fine.. i need some more changes in the query.
    The report should be look lie below,
    ITEMCODE,ITEMNAME,ORDERED QUANTITY,ORDERED VALUE,SALES QTY(DELIVERED QTY),SALES VALUE,PENDING QTY,PENDING VALUE ,SHORTFALL(IF THE INSTOCK QTY IS LESS THAN PENDING QTY).
    Here there are using 5 different price lists.
    and the above report has to be classifed seperately for each price list seperately and also in the given period if there is a item which has not been ordered then it also be needs to list in the report with eventhoug it dont have any values .
    Could anybody pls modify the below query.
    SELECT T1.ItemCode, Max(T1.[Dscription]) As 'Item Description' ,t3.price as 'Unit Price/PC',Sum(T1.[OrderedQty]) as 'Ordered Qty' ,(Sum(T1.[OrderedQty]) * t3.price ) as 'Ordered Value' , Sum(T1.[Quantity]) as 'Del Qty',(Sum(T1.[Quantity]) * t3.price) as 'Sales Value',(Sum(T1.[Quantity]) - Sum(T1.[OrderedQty])) as 'Pending Qty',((Sum(T1.[Quantity]) - Sum(T1.[OrderedQty])) * t3.price) as 'Pending Value',T2.OnHand, (T2.OnHand - (Sum(T1.[Quantity]) - Sum(T1.[OrderedQty]))) as 'SHORT'
    FROM ODLN T0 
    INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ITEMCODE = T2.ITEMCODE
    inner join itm1 t3 on t1.itemcode = t3.itemcode
    inner join opln t4 on t3.pricelist = t4.listnum
    WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1] and t4.listname = '[%2]'
    Group By T1.ItemCode,T2.OnHand,t4.listname,t3.price

    Try this query
    SELECT T1.ItemCode, Max(T1.[Dscription]) As 'Item Description' ,t3.price as 'Unit Price/PC',Sum(T1.[OrderedQty]) as 'Ordered Qty' ,(Sum(T1.[OrderedQty]) * t3.price ) as 'Ordered Value' , Sum(T1.[Quantity]) as 'Del Qty',(Sum(T1.[Quantity]) * t3.price) as 'Sales Value',(Sum(T1.[Quantity]) - Sum(T1.[OrderedQty])) as 'Pending Qty',((Sum(T1.[Quantity]) - Sum(T1.[OrderedQty])) * t3.price) as 'Pending Value',T2.OnHand, (T2.OnHand - (Sum(T1.[Quantity]) - Sum(T1.[OrderedQty]))) as 'SHORT'
    FROM ODLN T0 
    INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ITEMCODE = T2.ITEMCODE
    left join itm1 t3 on t1.itemcode = t3.itemcode
    left join opln t4 on t3.pricelist = t4.listnum
    WHERE T0.[DocDate] >='[%0]' AND  T0.[DocDate] <='[%1]' and t4.listname = '[%2]'
    Group By T1.ItemCode,T2.OnHand,t4.listname,t3.price
    union all
    select B.ItemCode, B.ItemName,D.Price,SUM(C.OnOrder), 0,0,0,0,0,SUM(C.OnHand),SUM(C.OnHand)-SUM(C.OnOrder)
    from OITM B
    INNER JOIN OITW C ON B.ItemCode = C.ItemCode
    INNER JOIN ITM1 D ON C.ItemCode=D.ItemCode
    WHERE B.ItemCode NOT IN (SELECT T1.ItemCode FROM ODLN T0 
    INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ITEMCODE = T2.ITEMCODE
    left join itm1 t3 on t1.itemcode = t3.itemcode
    left join opln t4 on t3.pricelist = t4.listnum
    WHERE T0.[DocDate] >='[%0]' AND  T0.[DocDate] <='[%1]' and t4.listname = '[%2]' )
    GROUP BY B.ItemCode, B.ItemName, D.Price
    Regards,
    Bala
    Edited by: Balakumar Viswanathan on Nov 15, 2010 4:23 PM

  • Problem when updating delivery quantity using 'BAPI_OUTB_DELIVERY_CHANGE'

    Hi experts,
    I have a requirement in which i need to update the material's delivery quantity in VL03N transaction.   For this im trying the BAPI
    'BAPI_OUTB_DELIVERY_CHANGE' and im passing the following values.
    HEADER_DATA : Delivery no.
    DELIVER : Delivery no.
    ITEM_DATA : Delivery no,
    item no,
    DLV_QTY quantity(changed),
    FACT_UNIT_NOM ( default to value '1')
    FACT_UNIT_DENOM ( default to value '1')
    ITEM_CONTROL : Delivey no,
    item no,
    CHG_DELQTY ( value "X")
    Then i use 'BAPI_TRANSACTION_COMMIT' for updating the changes. 
    Here the problem is, the BAPI is working fine for some quantity , say if i enter the DLV_QTY as 2 in ITEM_DATA, it is gettting updated.  But if i pass some other quantity , say 12, it is returning the folowing error.
    T ID                   NUM MESSAGE
    E VL                   363
    Pls tell why this error comes. and how to successfully update the delivery quantity for a set of material?
    Regards,
    Shanthi

    not answered

  • Sales order quantity equal to delivery quantity.

    31.10.2010
    Hi friends,
    To close all open orders I need to change the order quantity in the sales order to the total quantity delivered. Can you please advise how to go about this? Which table and which fields to use.
    Regards,
    Uday
    Moderator message: please try solving things yourself before asking, explain what you tried and where you are stuck when posting again.
    Edited by: Thomas Zloch on Oct 31, 2010 11:57 AM

    Hi all
      I am facing the same issue now. The system is not issuing an error message when delivery quantity exceeds order quantity and its letting me creating the delivery document and complete PGI. I have checked all the settings discussed in this thread.
    1.  0VLP Check Overdelivery is set to "B"
    2.  In VTLA, 'pos/neg' indicator is set to "+" sign for item category TAN (OR --> LF)
    3. Maintained the overdelivery tolerance limits in customer master.
    However when I set the 0VLP Check Overdelivery indicator to "A" instead, I am atleast getting a warning message. While it was B, I wasn't getting any message.
    I don't know what else could be missing or wrong. Any inputs would be highly appreciated.
    Thanks
    Vamsi

  • Scheduling Agreement delivery quantity mismatch

    hi all SD Gurus,
    I've a scheduling agreement with a schedule line for 10 units. when i go for delivery delivery quantity is taken as 351 (as available quantity 694 - scheduled for delivery quantity 343). how can i get exact delivery quantity in delivery.
    also can u guide me for JIT scheduling agreement concepts???
    thanks in adv.
    amol
    Message was edited by: Chittaranjan Nivargi

    For R/3 4.6C see link below
    Ron
    http://help.sap.com/saphelp_46c/helpdata/en/78/2085347860ea35e10000009b38f83b/frameset.htm

  • How to block change of delivery quantity in VLO1N

    The system should not allow the change of delivery quantity in VLO1N, say if in sales order the quantity is 10 & they change in VLO1n as 12

    Hello Prem,
    What I understand from your post is that you want that a delivery document created for a Sales order should not allow the quantity to go beyond the Sales Order Quantity.
    You can do this by going to the following customizing entry.
    First determine the item category relevant to you here:
    LE -> Shipping -> Deliveries -> Define Item Category determination in Deliveries
    Then go to "Define Item Categories for Deliveries". Open the relevant item category. In the field "check overdelivery" Provide value "B" and save.
    Hope this helps.

  • PO Confirmation Date (OA) & Inbound Delivery Date  Report

    Dear All,
    Please let me know SAP Standard Report
    PO Confirmation Date (OA) & Inbound Delivery Date  Report
    Regards
    Amey

    Hi,
    I guess ME2A will give u unconfirmed orders that require a confirmation, but have not yet been confirmed according to the dates configured for your monitoring period. First, ensure that you have such an order
    Also, ensure that your confirmation control (OMGZ) has BOTH a value in Monitoring period AND Reference date.
    Pls chk note for more information.    https://service.sap.com/sap/support/notes/500502
    BR,
    Krishna

  • Error message for over delivery quantity in case of batch split.

    Hi All,
    System is throwing error message if I try to to enter delivery quantity more than target quantity(order quantity) in case of standard process which is ok but in case of batch split when split line created (9000001 for line 10) and if go to item level in line item 900001 and enter delivery quantity more than target quantity system is giving only information message, still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massege as well. Delivery item category for all the line items is same and status B is assigned to over delivery in item category. Is there any standard way of achieving this or do we need any modification, if yes then what user exit need to use.  
    I searched alot about this in last three days but found only one thread which is unanswered, please provide your valuable suggestions. If this problem is discussed already and solved please provide me the link to that thread as I could't find any.
    Thanks,
    Davinder

    Hi
    Still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massage as well.
    I think it you can possible to change the Information message as Warning message.
    Please  go to SE91 put the Message Class XX (Ex:V1) there And in No. field enter the message number (Ex: If message no V1293 enter the number as 293)
    AND
    go for
    where used in then select only Program >ok then Program will come select the Program > double click, you will l find the message with the Description.
    Now with help of ABAP with just comment on these both the messages. Afterwards you will get the Error message.
    Hope this will helps you
    Dasaradha

  • Picked Quantity to be made equal to Delivery Quantity in VL02n

    Hello Experts,
    Have a requirement, where upon when entering in VL02n with a delivery no, the Picked Quantity field (LIPSD-PIKMG) should be equal to Delivery Quantity (LIPS-LFIMG).
    Only the exit USER_EXIT_READ_DOCUMENT  of include MV50AFZ1 is being called when entering VL02n and in that i tried changing the value of LIPSD structure and even tried changing XVBFA-RFMNG field value, but it is not working.
    I understand that LIPSD is structure and noticed that picked quantity is getting stored in VBFA-RFMNG field...
    Please let me know if any one have come across the same requirement and resolved it technically, rather than functional approach of EK00 condition type or making the item category as non relevant for picking, we tried these options and it is not working for the business.  I got to see many previous threads on this topic, but there was no conclusion or technical solution provided.
    So looking for TECHNICAL solution based on your experience and whether it is resolved.  Its kind of urgent and would appreciate the help of experts who have resolved it earlier. thanks

    OK got it resolved.
    We have to use BADI LE_SHP_DELIVERY_PROC, methods CHANGE_FIELD_ATTRIBUTES and CHANGE_DELIVERY_ITEM. And it works.
    thanks

  • Qty in Confirmation of Service is less than Delivery Quantity

    Hi All,
    I am trying to find the rootcause of a situation with our delivery document, hope you could help.
    In our delivery, we have TAX "Non Stock Item" line items (no Movement Type); and for these kinds of items, I understand that:
    1) They do not check stock, and you can do PGI without any stock
    2) Upon GI, these generate "Confirmation of Service" entries in the document flow (whereas Standard Items, with Movement Types attached, generate a material document)
    3) Unlike zero-delivery-quantity parent line items of batch splits, who also generate Confirmation of Service entries upon GI, our TAX items actually have a non-zero delivery quantity
    4) The TAX items are not relevant for picking, so there is a delivery qty, but then there is 0 pick qty
    The issue I am having is that for one of the TAX items, the Quantity in the Confirmation of service is less then the Delivery Quantity. That is, when I go into the document flow:
    a) The delivery line item has 55 units
    b) The Confirmation of Service has only 24 units
    c) The Invoice has 55 units again for this item
    What's weird is that, if TAX items do not check stocks at all, why did the qty in the confirmation of service become less than the original quantity that is specified in the delivery?
    Another unusual behavior i am seeing (may or may not be related to the above) is that the delivery is already invoiced but the delivery's doc flow status is still "being processed" (and not "completed"). This may be because of the above issue, but I see the TotalGdsMvtStatus of the delivery as C "Complete" - which may be why the invoice was possible.
    Hope you could help provide some insights. Thanks!
    Regards,
    Stephen

    Hi Arakish,
    Thanks for the inputs:
    you checked: delivery picked qty is showing zero (no one entereed 24 in error)?
    -> yes picked qty is 0 and the change logs do not show otherwise
    there is only the one confirmation not two for that tax item in the doc flow?
    -> yes there is only one confirmation of service entry in the doc flow, with 24 units
    there is no descrepency in units of measure? (meaning it's not EA in one place but UPK or something strange like that else where)
    -> yes the UoMs are all in KEGs
    Another observation is that for the delivery status overview, the goods movement status of each of the line items is also C/Green (including my TAX item). The total goods movement status (header) is also C/Green
    Hope you could shed more light. Thanks!
    Regards,
    Stephen

Maybe you are looking for