Query Partially Delivered Orders

Hi!, how can I query only the partially delivered orders?
Thank you.

You could try this query
SELECT DISTINCT T0.DocNum FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.TrgetEntry IS NOT NULL and T1.LineStatus ='o' or T1.Quantity > T1.OpenQty and T0.DocStatus ='o' ORDER BY T0.DocNum
Regards,
Vijay Kumar
SAP Business One Forums Team
Hi Vijay !
How do I modify the above query  to get " only real month's open orders " ?
I try this way but I think it's still not trusted.
select convert(numeric(6),CARDCODE)cardcode,convert(numeric(6),T0.docnum) docnum,CONVERT(VARCHAR(10), T0.docdate, 112),itemcode,convert(varchar(30),T1.Dscription),T1.Quantity,T1.INMPrice
from ORDR T0,
         RDR1 T1
where  T0.DocEntry=T1.docentry
and T0.docdate=T1.docdate
and T0.docstatus='O'
and T1.linestatus='O'
and delivrdqty=0
and paidtodate=0
and    (Year(T0.DocDate)*100+Month(T0.DocDate) )
       = ( Year(GetDate() )*100+Month(GetDate()) )
Thanks in advance !
Argenis Ascanio

Similar Messages

  • Settlement of partially delivered order

    Dear all,
    I have one question.
    Can we settle the process order which is partially delivered?
    Need your valuable suggestion.
    Regards
    Nilesh Joshi.

    Hi
    You can calculate the wip for partial delivered orders and the same may be settled  to FI  WIP ac debit and Change in invetory account will be credited and once complete the order you can reverse the wip and calculate the variances on the process order.
    Regards
    Madhav

  • Want to close open/partial delivered order

    I want to close all open/partial delivered sales order from the sytem without either changing their quantity or defining reason for rejection in the order.
    Is there any other way than that pls suggest.
    reg
    Deepak

    Dear deepak rana,
    If this is your requirement , then got delivery user exit and write your logic ( probably , you may use date ), means , order date less than the cut over date should not be processed , it can come out with an error message.
    User exit MV50AFZ1.
    saravanan

  • Credit check for Partially delivered order

    Dear Gurus
    We have a scenario where we are releasing a sales order (vkm3) forcefully since it is exceeding the dynamic credit check.
    Now when we do a partial delivery for the first time it is working fine, But when we again try to create a delivery for the remaining qty it again gives the error of "dynamic check exceed".
    My question is : why is it again showing the error msg at the time of delivery inspite of the sales order being released once. We have not made any changes in the Sales order. still we have to relaese the sales order everytime we create a new delivery for that released sales order,
    Can anyone suggest anything
    Regards
    DDP

    Hi DDP,
    Info structures are updated daily/weekly/monthy basing on your configuration. The Info structure S066 in Transaction OMO1 is for credit. These Info Structures are used for different purposes eg reporting, for updating credit records etc. So once you release the order, the release would hold for one day, so you can do any number of partial deliveries on that day. But again on the second day it would be blocked for credit and updated in S066. For more information on Infostructures, you can search forum.
    regards,
    prasad

  • Delivered Quantities In a partially delivered sales order

    Hi All,
      My client want the report of  delivered quantities and quantities to be delivered for a partially delivered sales orders.
    How to get this. Is there any transaction code for this.
    Reward points for helpful answer.
    Regards
    Ashis

    To check open quantity, check T.Codes: VL04, VL10C.
    Standard SAP SD Reports:=
    Statistic Group:
    Purpose – To capture data for Standard Reports, we require to activate Statistic Group as under:
    --> Item category (Configuration)
    --> Sales document type (Configuration)
    --> Customer (Maintain in Master data)
    --> Material (Maintain in Master data)
    When you generate statistics in the logistics information system, the system uses the combination of specified statistics groups to determine the appropriate update sequence. The update sequence in turn determines for exactly which fields the statistics are generated.
    Configuration:
    IMG --> Logistics Information System (LIS) --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Statistics Groups -->
    1. Maintain Statistics Groups for Customers
    2. Maintain Statistics Groups for Material
    3. Maintain Statistics Groups for Sales Documents
    4. Assign Statistics Groups for Each Sales Document Type
    5. Assign Statistics Groups for each Sales Document Item Type .....
    All Standard Reports which are available are as under:
    SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
    1. Customer -> Incoming orders / Returns / Sales / Credit memos / Sales activities / Customer master / Conditions / Credit Master Sheet
    2. Material -> Incoming orders / Returns / Sales / Credit memos / Material master / ...
    3. Sales organization -> Sales organization / Sales office / Sales employee
    4. Shipping point -> Deliveries / Returns
    5. SD documents -> Orders / Deliveries / Billing documents ...
    & so on.
    Regards,
    Rajesh Banka
    Edited by: Rajesh Banka on Apr 23, 2008 8:24 AM

  • Open PO's which are partially delivered

    Hi all,
    can anybody tell me how to get the open po's which are partially delivered.

    http://oracle.anilpassi.com/encumbrance-migration-to-oracle-grants-for-open-purchase-orders.html
    http://www.csun.edu/sponsoredprograms/2.2.5%20Purchase%20Order/Purchase_Order.htm
    http://groups.google.co.in/group/microsoft.public.access/browse_thread/thread/5cb8405ba5bd7911/79c4c574d876dd3f?hl=en&lnk=st&q=howtoopenpurchaseorderswhicharepartiallydelivered#79c4c574d876dd3f
    check these they may be use ful.
    Regards,
    Muneesh Gitta.

  • How to find the status of production order for fully delivered orders

    Hi,
    My question is :
    when an order is confirmed for the end of month(jan) and no Gr is generated in jan then the order will not be included in jan month.
    For this solution given by functional :
    Get fully delivered orders for that period.
    My query's are :
    how to find fully delivered orders, is there any status in Co02 tran?
    Any suggestions for the given query are welcome..with elobration..
    thanks in advance.

    hi,
       The table name for Order status is VBUP and the field name is GBSTA.
    regards,
    Meiy

  • Messages "Item completely/partially delivered on purchasing documents

    Dear,
    We're testing the new layouts of the purchase documents for the upgrade to ECC 6.O and there is a problem with a specific message on item level.
    If a purchase order is changed, a message "Item completely delivered" or "Item partially delivered" occurs on the document, that isn't the case in our PRD - system. 
    I already deleted messages P14 and P15 in SPRO => MM => Purchasing => Messages => Change Texts (Item completely/partially delivered) but the messages still appear when the document has been changed (when a goods receipt is done,...). 
    Does anyone knows where I can change the settings so this text won't occur anymore?
    Thanks in advance!
    Kind Regards,
    Lien Van de Velde

    Hi
    Ae you using the same layout & print program that is in Productions, as these texts come only with the Standard Print program & form.
    Please check the same in Define Message Types for Purchase Order
    Thanks & Regards
    Kishore

  • "Delivery Status" in SO is "Partially delivered" though complete PGI hppnd.

    Dear Friends
    An SO has been created  (single line item), delivered & invoiced completely.
    The issue is at "Delivery status"  & "overall status"field in SO (both header & item level).
    Though complete delivery & PGI has been completed & also invoiced., the 'Delivery status' in SO is showing "Partially delivered"
    & 'overall status" as "Being processed".
    But at S.Line cat level (CP)  of SO, the system is showing the correct delivered qty.
    In delivery, the GI status is C (Completed). (both at header & item)
    The  item is a batch split item. At So, item cat is TAN. In delivery, at batch split level, it is ZTAN
    I've checked in all places, do NOT understand why this behavior at SO "delivery status" & 'overall status" field.
    Rgds
    Sumanth.G.

    Hello,
    Check the status of the sales order both Header and item.
    Go to the sales order (dont select any line item)  Environment --> Status overview, the system will show the header ans well as the list of line items. Check the individula line items, it will show order qty, Dly Qty, Delivered Qty and invoice Qty. Try to analyse from here...
    Regards,
    SAM

  • Price updation for Partial delivered case

    Dear All,
    I raised an invoice for 5 qty out of 10 nos from the sale order.
    Now I want to sell the balance qty with updated price. I changed the price through VK12.
    I changed the pricing date to current date in the sale order to effect the updated price in the sale order for the balance qty.
    Since the item is partially delivered even though the pricing date is not getting updated for that item & the price remains same as older one.
    Pls advise me on this issue.
    Rgds,
    Senni.B

    Hi Seeni,
    Lakshmi's has correctly stated above that repricing will not happen in sales order, but the repricing can happen in billing.
    Now for repricing to happen in billing you will have to change your pricing type to B in copy control. Also as stated by you the billing date is to be set to current date will solve. Thats not completely true, you will have to change the pricing date in the invoice to current date then only it will do the repricing for current date. The billing date is for accounting purposes for Invoice due dates.
    So to set the pricing date to current date, you will have to ensure that the pricing date is not present in the copy control routines and also in the definition of billing type change the pricing date to current date.
    Hope this helps,
    Abhishek

  • Query for Sales Order Analysis

    Dear Experts
    I have written a Query for Sales Order Analysis and would like to have help on this.
    The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
    where U_Total_GP is a UDF for storing the GP of each order.
    After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
    Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
    Thank you
    Regards
    Elton

    Hi Elton,
    Try this:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
    Union ALL
    SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0]
    ORDER BY T0.[DocNum]
    Thanks,
    Gordon

  • Report for mass interruption of partially confirmed orders in PPDS?

    Hi gurus,
    our client has a lot of partially confirmed orders in the past, and this is giving us problems with the optimizer.
    Is there a report for mass interruption of this orders?
    We can do it one by one in the DS planning board, but there are too many!
    would appreciate any help,
    Pablo

    Hi Pablo,
    I would suggest you can close the partially confirmed orders at R/3 itself
    so that it will update in APO via CIF.
    There is delivery complete indicator in R/3 production/process order which
    upon checking will close the order.
    Regards
    R. Senthil Mareeswaran.

  • Query on Sales Order Analysis

    Dear Experts
    I have written a Query for Sales Order Analysis and would like to have help on this.
    The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
    Union ALL
    SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0]
    After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. Everything is fine with this query except I would also like to incdude the total number of Sales Order (per day) right below the column "DocNum".
    Is it possible to achieve this?
    Thank You
    Regards
    Elton

    Try this:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
    Union ALL
    SELECT count(DocDate), SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0]

  • Receiving credit for online delivered orders that are pickup for return

    I'm having a frustrating time with online delivered orders that are pickup for return. Items picked up and confirmed via email on 8/8/14...why does it take so long to return to best buy master card. Plus still no replacement gift card or reissue of reward points. I just believe this should be easier.....please correct this. Order number is (removed per forum guidelines)

    Hi Joseph,
    Under normal circumstances, orders placed on BestBuy.com are immediately refunded once they've been returned to one of our U.S. retail stores or to our Findlay returns center. Based on your order number though, am I correct in understanding that you originally placed your order through your local store? If so, then this may explain why you haven't seen a refund yet -- in-store orders often require that customers physically visit the purchase location to finalize the return.
    I'd be glad to point you in the right direction, so please make sure to check your private messages when you can. To check your PMs, simply sign into the forum and then click on the letter icon in the upper right-hand corner of the page.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Query on Internal Orders

    Hi
    I have a query on internal orders. As of now the system is including all the Purchase Requisitions and Purchase Orders into the total commitment. We want Purchase Req to be discluded. How can this be done?
    Regards
    Rahul Sharma

    Hi
    Pls suggest
    regards
    Rahul

Maybe you are looking for

  • WD For ABAP : cl_wd_table  HELP?

    Hi:    I have a problem to solve about web dynpro for abap.    I create a table and the first column is a LINK_TO_BUTTON(Function LIKE BBS),if there are 6   rows  data ,when i click the link_to_button of 1 row in 6,I want to konw which row i have cli

  • Reservation problem in production order for PIPE line materials

    while releasing the specific production order reservation number generated but in generated reservation pipe line materials are not existig hence while doing confimation as backflush indicator activated hence this got stucked in COGI. On observation

  • More GNOME 3 tweaks - expanding the panel, changing scrollbars

    In most of my applications, the scrollbars are massive white things, and the handles are relatively big white dots. In others (like Firefox and Exaile), the scrollbars are really skinny and blue, and the handles are clusters of tiny dots. It looks mo

  • Access level for Tab

    Hi, How can i define security level for each tab? i have set of users and i want a particular tab to be displayed to certain users only not to all users. i have already defined access privilege for the particular tab in the Advance option for tab gra

  • Documentation in FPM app

    Hello, I would like to put some documentation for my FPM application. Like the documentation on an ABAP program in Netweaver. Simple. Thank you, Jean-François Lapalme