Sale Order Status Report

Dear Expert.
I want Sales Order Status report as below mentioned format required quarry base report from Date to To Date.
Location-OrderSeries-OrderNo-CardCode-CardName-ItemCode-Item Descripotion-Inv.UOM-Order Qty-Allocated Qty-DeliverQty-Peniding Qty adn Pending Order Value.

Hi,
You can check this :
select t3.location as 'Location',t0.series as 'Order Series',
t0.docnum as 'Order No.',t0.cardcode as 'Business Partner Code',
t0.cardname as 'Business Partner Name', t1.itemcode as 'Item',
t1.dscription as 'Item Name', t2.invntryUom as 'Inventory UoM',t1.quantity as 'Order Qty',
t1.QtyToship as 'Allocated Qty- Qty to Ship', t1.delivrdQty as 'Delivered Qty',
t1.OrderedQty as 'Ordered Qty', t1.openCreQty as 'Pending Qty',
t1.Opensum as 'Pending Order Row Value'
from ORDR t0 inner join RDR1 t1 on t1.docentry = t0.docentry
inner join OITM t2 on t2.itemcode = t1.itemcode
inner join OLCT t3 on t3.code = t1.loccode
where t0.docdate >= '2011.01.01' and t0.docdate <= '2011.12.31'
Hope it helps.
Kind Regards,
Jitin
SAP Business One Forum Team

Similar Messages

  • Sales Order Status Report

    Hi,
    Can you please guide me for Sales Order status report extractors?whether some standard extractors would be used or customized or standard is available which can further be enhanced.
    Scenario is- I have to populate report columns like
    0-25000     25001-50000     50001-100000     100001-200000     200001-500000     500000>
    And analysis has to be shown in the report rows : Sales District. In Columns only number of sales order in each district would be entered as a number. Example- of for district ZMJT there are 3 order are in pending stage having quantities 35000 then entry 3 will come in first column and so on. Following are other columns for drill down purpose.
    Input Fields:
    Date Range
    Company Code
    Currency Type
    Sales District
    Sales Group
    Analytical Fields-
    Sales Org.
    Distribution Ch.
    Division
    Sales Order No.
    Sales Order Dt.
    Sales District
    Tube Dia
    Tube Length
    Laminate Structure
    Application Category
    Customer
    Customer Group
    Sales office
    Sales region
    Sales Order Qty
    Sales order Value
    Regards,
    Ritika

    Hi,
      We have standard extractor 2LIS_11_VASTI (Sales Document Item Status) for getting the status.
    Regards,
    Vamsi Krishna

  • I Need Sales Order Status Reports using ALV

    Hi I Need Sales Order Status Reports using ALV.

    HI!
    For alv use REUSE_ALV_GRID_DSPLAY function module.
    For the given report fetch data from the tables:
    VBAK - sales order header
    VBAP - sales order details
    VBUK - sales order header status
    VBUP - sales order items status
    Regards
    Tamá

  • Sales order status close when item partial invoice.

    Can anyone tell me how to solve this problem,
    i have a sales order (ZTP - 3rd party), when i create this sales order the status becoming "Being Processed".
    then im doing partial invoice ... when i check the header on table VBUK the status becoming slow.
    im working on my sales order status report for 3rd party order.

    Hi Nizam,
    1. Check Your Customer Master - Sales Area Data u2013 Shipping Tab - Partial Delivery per item - please remove Option D from Partiral Delivery per item.
    2. Check Incompletion Rule and Completion Rule on Sales Document type the backgroud table of Sales
    order and item category
    Inshallah it will help you alot, if not please you can ask me
    Regards,
    MH

  • To create Sales Order Status

    hi
      i want to create sales order status report.
      i want to know the all tables and fileds required  for this report.
    pls help me asap.
    thank  u

    **& Report ZBAPI_SALESORDER_GETSTATUS **
    Read and Display the Sales Order Items and Status of the Order
    REPORT zbapi_salesorder_getstatus NO STANDARD PAGE HEADING LINE-SIZE 200 LINE-COUNT 33(3).
    TABLES: vbap. "Sales Document Item Data.
    DATA: wa_bapireturn TYPE bapireturn,
    wa_bapisdstat TYPE bapisdstat,
    it_bapisdstat LIKE STANDARD TABLE OF wa_bapisdstat.
    TYPES: BEGIN OF ty_mat_name,
    matnr TYPE makt-matnr,
    maktx TYPE makt-maktx,
    END OF ty_mat_name.
    DATA: wa_mat_name TYPE ty_mat_name,
    it_mat_name LIKE TABLE OF wa_mat_name WITH KEY matnr .
    PARAMETERS: p_vbeln LIKE vbap-vbeln DEFAULT 5573.
    START-OF-SELECTION.
    SELECT matnr maktx FROM makt INTO TABLE it_mat_name.
    CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'
    EXPORTING
    salesdocument = p_vbeln
    IMPORTING
    return = wa_bapireturn
    TABLES
    statusinfo = it_bapisdstat.
    IF wa_bapireturn IS INITIAL. " Successful Execution.
    WRITE: / 'Document No: ' COLOR 1, 20 'PO Number : ', 40 'Status' , 50 'Delv.Stat',60 'Item No', 80 'Material', 90 'Material Description', 130 'Net Price' COLOR 2.
    ULINE.
    LOOP AT it_bapisdstat INTO wa_bapisdstat.
    WRITE: / wa_bapisdstat-doc_number. " Sales Document Number.
    READ TABLE it_mat_name INTO wa_mat_name WITH KEY matnr = wa_bapisdstat-material.
    WRITE: /20 wa_bapisdstat-purch_no, " Customer Purchase Order Number
    40 wa_bapisdstat-prc_stat_h, " Processing Status
    50 wa_bapisdstat-dlv_stat_h, " Delivery Status
    60 wa_bapisdstat-itm_number, " Item Number
    80 wa_bapisdstat-material, " Material
    90 wa_mat_name-maktx, " Material Description
    130(10) wa_bapisdstat-net_price. " Net Price
    CLEAR wa_bapisdstat.
    ENDLOOP.
    REFRESH it_bapisdstat[].
    ELSE.
    WRITE: wa_bapireturn-message.
    ENDIF.

  • What is table field name for order status report  of rate per unit and  bal

    hi  i want to make FS for order status report i almost get all table and field but i don't get only two field  rate per unit and balance value  table field didn't get please help me searching in field and table
      i want to develop my status report

    Hi,
    Check tables VBAK and VBAP wherein you will get all header and item details.
    VBUK and VBUP for header and line item statuses.
    KONV would give you rates/pricing details for each condition type determines in the sales order.
    VBAK-KNUMV = KONV-KNUMV is how you relate both of them.
    Hope that helps.
    Regards,
    Amit

  • Sales Order Status "Being Processed"  after completion for Free Goods Sales

    Hello All,
    This problem is related to Free Goods Sales which is as follows.
    The process-flow for free goods sales is first we raise a sales order, then we do outbound delivery for the sales order and then finally PGI of the goods.We don't raise any invoice and the Free Goods Challan is issued to the customers by running a report.
    The document flow at the end always show the Sales Order  status as " Being Processed" and Outbound Delivery & PGI as "Completed".I want the system to show the Sales Order status as " Completed" and not " Being Processed".How to do that?
    Please suggest some solutions.
    Thanks & Regards
    Priyanka Mitra

    Hi Raja,
    Thanks a lot for your prompt reply and suggestion.
    Now we are able to get the Completed status in Document Flow.
    Thanks & Regards
    Priyanka Mitra
    P.S. -  I would request you to go through another problem which we are facing in Shipment , please go through this and suggest some solution regarding it if possible.
    I have already posted this problem in a separate thread few days back but am yet to receive any fruitful suggestion.
    The problem is regarding Shipment Cost Calculation while doing STO which is as follows -
    In our scenario the Shipment cost calculation is done on two basis -
    1) Absolute Rate / Flat Rate Wise - For example for transporting of goods from Kolkata Depot to Delhi Depot is Rs. 20,000 fixed.
    2)) Gross Weight Wise - where the weight unit is kg and rate for example is Rs. 4 / Kg. So for 10 Kg the shipment cost will be Rs. 40.
    Now I want the system to calculate the shipment cost on Rate / Carton Wise i.e. How will I be able to calculate the shipment cost of 100 cartons if the rate is Rs. 100/ Carton.
    How to configure this ? Please help in this regard.

  • Sales Order status still "Being processed" after invoice (3rd party sales)

    Dear SD gurus,
    Here's what is done so far:
    1. Create a sales order with one line (TAS item cat).
    2. Trigger PR to be created. Approved the PR.
    3. Create Purchase Order. Approve the PO.
    4. Perform MIRO.
    5. Create sales invoice based on sales order (billing based on supplier invoice).
    6. Invoice released to accounting
    Now, when I checked the sales order status, it's still showing "Being processed". However, invoice have already been created and released. I'm just wondering what else have I done wrongly. I believe the status should show "Completed" as well otherwise this order will keep showing up as outstanding in my sales order listing report.
    Anyone got any ideas?

    SAM
    I had a looked at both the SAP Notes provided. Doesn't really apply in my situation. The Sales order was for 10 qty. My PR for 10 qty and I have also done a MIRO for 10 qty. even my sales invoice was for 10 qty.
    I do not want to configure it to follow the PO quantity because I need a control where only vendor has delivered the products to the customer only then I should invoice the customer accordingly. If I allow the invoice to be created based on the PO quantity then the control factor will be lost.
    I have yet to try the program that you recommended... will try that shortly.
    And yes ... since I'm using the standard sap TAS item cat ... the "relevance for delivery" is already turned off and the billing is "F"

  • Sales order status ( SO to Shippment)

    Oracle 9i , EBS 11i
    Dear
    Experts
    I am making a report on sales order status, which show all the items in and outs from sales order to shipment. and for that i write one sql to gather all the data from diffirent tabels. it is working fine for some orders but not for all. Main reason is outer join conditions. because items are varey in sales order, po, receving and shipments. all item are not same as in all tables. now i would like to ask
    1- can i make this report on the bases of MTL_MATERIAL_TRANSACTIONS
    so i can get all the statuses of transactions. but how can i find transactions for the specific sales order ??
    2- see my query and give me some idea . how can i correct it ..
    select
    'ITEM',
    a.inventory_item_id, a.segment1, a.description,
    'ORDER' , b.order_number, b.ordered_date, b.order_quantity_uom, nvl(b.ordered_quantity,0) ordered_qty, b.unit_selling_price, b.ordered_quantity*b.unit_selling_price ext_value,
    'PO', c.segment1 po_no, c.currency_code, nvl(c.rate,0) rate, c.list_price_per_unit, c.unit_price, nvl(c.quantity,0) po_qty, c.po_ext_value,
    'RCV', d.receipt_num, nvl(d.quantity_received,0)rcv_qty,
    'SHIP', nvl(e.shipped_quantity,0)ship_qty, nvl(e.unit_price,0), e.currency_code
    from
    (select * from mtl_system_items_b where organization_id=141) a,
    (select
    a.order_number, a.ordered_date, a.sold_to_org_id, a.salesrep_id, a.flow_status_code order_header_status,
    b.flow_status_code order_line_status, b.order_quantity_uom, b.ordered_quantity, b.inventory_item_id,
    b.unit_selling_price, b.ordered_quantity*b.unit_selling_price ext_value, b.unit_cost
    from oe_order_headers_all a, oe_order_lines_all b
    where
    a.header_id=b.header_id ) b,
    (select a.po_header_id, a.segment1, a.vendor_id, a.currency_code, nvl(a.rate,0) rate, a.comments,
    b.item_id, b.list_price_per_unit, b.unit_price, b.quantity,
    case when a.rate is null then b.quantity*b.unit_price else ((b.quantity*b.unit_price)*nvl(a.rate,0)) end po_ext_value
    from po_headers_all a, po_lines_all b
    where
    a.po_header_id=b.po_header_id and a.comments like '%'||:p_oia_no||'%') C,
    (select b.RECEIPT_NUM, a.quantity_received, a.item_id, a.shipment_line_status_code, a.po_header_id from RCV_SHIPMENT_LINES a, RCV_SHIPMENT_HEADERS b
    where A.SHIPMENT_HEADER_ID=b.SHIPMENT_HEADER_ID) d,
    (select source_header_number, inventory_item_id, shipped_quantity, unit_price, currency_code from wsh_delivery_details) e
    where
    b.order_number=:p_oia_no
    and a.inventory_item_id=b.inventory_item_id(+)
    and a.inventory_item_id=c.item_id(+)
    and c.po_header_id=d.po_header_id
    and a.inventory_item_id=d.item_id(+)
    and b.order_number=e.source_header_number
    and a.inventory_item_id(+)=e.inventory_item_id
    its an urgent matter .. any solutions and suggussion would highly appriciatable ..
    regards
    Anwer

    TRy transacton_source and transaction_type.

  • Open Balance on Sales Order Cost Report

    Hi SAP Group -
    I have a couple questions about the settlement of manufacturing variance to COPA.
    When our settlement process is complete (production order and sales order both settled to COPA), there is a balance remaining on the sales order cost report which is equal to the manufacturing variance on the production order.
    It seems that the manufacturing variance is posting from the production order to the sales order, but is not being assigned to the PSEG and flowing to COPA.
    I am looking for advice in two areas:
    First, how do we "clear" these balances on old orders that are already settled?
    Second, how do we prevent this from happening on future orders?
    Thanks !!!

    Refer to OSS 183250 and note 186485.
    If you don’t specify in the settlement profile for the production order that the variances are not transferred from the production order into CO-PA, you will settle the variances to <b>CO-PA twice</b>: once from the production order (broken down into variance categories), and once from the sales order item. The settlement rule still references the material and not the sales order item.
    Special Features of Product Cost by Sales Order with Valuated Sales Order Stock
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/90/ba66cc446711d189420000e829fbbd/content.htm">Read the topic on 'Special Features of Product Cost by Sales Order with Valuated Sales Order Stock'</a>
    You may want to check the period of the variance settlement from mfg order to sales order and ensure the settlement of sales order is also done the same period, if the type is PER.

  • Sale Order Status Change after delivery of materials from projects

    have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • Sale Order Status after dellivery of materials from Projects

    Hi,
    I have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Thank you in advance.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • Material Order status report - Closed PO's

    Hi,
    In my "Material Order status report" I got closed PO's. I dont want any closed PO's to be displayed in my report. How to set this?
    Regards
    P.Ramprakash

    Hi,
    This is your own doveloped report or you are talking about any standared report.
    Regards,
    Manish

  • Sale order status showing being processed

    Dear Friends,
    I am working in SAP ECC 6.0
    My sale order Qty is 10 pcs eing processed
    and delivery qty is 10 pcs - Completed
    Good Issue - 10 Pcs - Completed
    Invoice - 10 Pcs - Completed
    In spite of carrying out full delivery sale order status is still showing being processed.
    is there any configuration missing or is there any program to update the status.
    Kindly advice.
    Satish

    Hi Ankur,
    2 Doubts i have:
    1)
    In our case for the Item Category we have not maintained anything in Completion Rule however we have maintained Update Document Flow in Order to Delivery Copy Control.
    Our Document status shows as Completed in this case as well. Hence i do not know the Significance of maintaining Completion rule in item category.
    2) I have a order type which has Order Relevant Billing. The Copy Control for Order to Billing does not have any Update Document Flow Check Box. We are using a Service Material in this Order Type.
    After creating the Billing we still have Order status as Being Processed.
    Can you help in finding a solution to the above?
    Madhukar

  • Sale order status not getting completed

    Hi Friends,
    I had sales order with milestone billing for which I completed billing, even though sale order status is showing as being processed. The same way with periodic billing also.
    Kindly suggest.
    Kumar

    Dear all,
    I have cleared my actual issue. But the below doubt was regarding the standard SAP.
    Hi All,
    Thank you for your answers. First point is that I hope completion rule is only for quotation and contracts but not for normal sales orders. Second point is that I am using TAO item category which tells order related billing with billing plan. This means there was no delivery, then why schedule line CP (MRP) was assigned to TAO in standard? This is the problem for me. As the schedule line is MRP the system is not completing the status of the sale order even I have completed total quantity and value also. Can anyone tell me why this was assigned like this in statandard?
    Kumar

Maybe you are looking for