Date Wise Production Report

Dear All,
I want following column wise Production Report (From Production Order)
WARE HOUSE  UOM  COMPLETED Date(1,2,3,4,5,6,......31 ) Completed Qty. total qty
Basically i want Pivot (dynamic) by date
SELECT T0.[Warehouse], T0.[Uom], T0.[DueDate], T0.[CmpltQty] FROM OWOR T0 WHERE T0.[Status] ='L' GROUP BY T0.[Warehouse], T0.[Uom], T0.[DueDate], T0.[CmpltQty]
thanks
Ashish Gupte

Hi,
Hope this will help you
DECLARE @listCol VARCHAR(2000)
DECLARE @query VARCHAR(4000)
SELECT  @listCol = STUFF(( SELECT DISTINCT
                                '],[' + CONVERT(VARCHAR,DueDate,102)
                        FROM    OWOR
                        FOR XML PATH('')
                                    ), 1, 2, '') + ']'
SET @query =
'SELECT * FROM
      (SELECT Warehouse, Uom, (DueDate) Date , CmpltQty
      FROM OWOR  WHERE Status =''L''
     GROUP BY Warehouse, Uom, DueDate, CmpltQty
) S
PIVOT (Sum(CmpltQty) FOR Date
IN ('@listCol')) AS pvt'
EXECUTE (@query)
Regards
Edited by: Pari Minhas on Aug 18, 2011 3:42 AM

Similar Messages

  • Tables req to get date wise stock report

    Hi
    Pls advise, what are the tables req to get date wise stock report??? i don't want any t codes... i have to do with age analysis ,??
    Anyone has answer? pls provide it.
    Edited by: UJ on Mar 3, 2010 8:54 AM

    You can take below details which help you to get the exact things..
    *-- Tables delcaraion
    TABLES : mkpf,   " Header: Material Document
                  mseg,   " Document Segment: Material
                 mara,   " General Material Data
                 makt.   " Material Descriptions
    *-- Types declaration
    TYPES: BEGIN OF ty_mkpf,
            mblnr TYPE mblnr, " Number of Material Document
            mjahr TYPE mjahr, " Material Document Year
            blart TYPE blart, " Document type
            budat TYPE budat, " posting date
           END OF ty_mkpf.
    TYPES: BEGIN OF ty_mseg,
            mblnr TYPE mseg-mblnr, " Number of Material Document
            mjahr TYPE mseg-mjahr, " Material Document Year
            zeile TYPE mseg-zeile, " Item in Material Document
            matnr TYPE mseg-matnr, " Material Number
            bwart TYPE mseg-bwart, " Movement Type (Inventory Management)
            dmbtr TYPE mseg-dmbtr, " Amount in Local Currency
            menge TYPE mseg-menge, " Quantity
            lgort TYPE mseg-lgort, " Storage Location
            pbamg TYPE mseg-pbamg, " Quantity
            werks TYPE mseg-werks, " Plant
            ummat TYPE mseg-ummat, " Receiving/Issuing Material
            umwrk TYPE mseg-umwrk, " Receiving/Issuing Plant
            umlgo TYPE mseg-umlgo, " Receiving/Issuing Storage Location
           END OF ty_mseg.
    Further if you want you can play with Movement types.

  • Shift wise production report

    hi Exprts,
    Process:
    I shift starts at 6.00 am and ends at 14.00 hrs
    II shift starts at 14.00 hrs and ends at 22.00 hrs
    III shift starts at 22.00 hrs and ends at 6.00 am (next day)
    3.We confirm the qty in the t.code CO11N
    The requirement is : How to take the Shift wise production report? , and also a report which shows consumption of components against production order in a shift.
    Regards
    Ramesh

    Dear Ramesh,
    check this link to first post the confirmation shiftwise ,both in CO11N and CO15.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0fa9a04-376a-2c10-c396-86d32ac80614?quicklink=index&overridelayout=true
    Further to this you can get the shift wise production report using COOIS.
    Regards
    S Mangalraj

  • Shift wise production reports

    Hi Friends
    I am able to do shiftwise production confirmation.
    Shiftwise production confirmation is possible as of SAP ERP 6.0 Enhancement Package 3. But i want shift wise production reports. Is there any standard reports?
    Please suggest
    Tara

    Dear Tara,
    You can get the shift details in the report COOIS.
    Select the profile confirmation in the input screen and execute the report.
    Click on Change layout and select the field for shift definition and you will be able to get the shift details.
    check and revert back.
    Regards
    Mangalraj.S
    Edited by: Mangalraj.S on Sep 30, 2009 10:57 AM

  • Date-Wise KE30 Report

    Dear Experts,
            As per my knowledge we can generate the KE30 Report by Period and Year leve. But my client requires to generate the COPA KE30 Report by date-wise. I had checked the all characteristics, I didn't found the Date Charactereistic.
    How can I acheive this requirement?
    Thanks in advance,
    Regards,
    Balaji Bhonsle..

    Hi Balaji,
    there are two kinds of reports in KE30: segment-level based reports and line-item based reports.
    Posting date is available only in line-item based reports.
    Line-item based reports are created in TC KE91, the forms used by them in KE94 (vs. KE31 and KE43 for segment-level reports)
    Line-item based reports will run slowly, as they read all individual line-items
    regards
    Nikolas

  • Shift wise confirmation and shift wise production report

    Hi Guys
    To get shift wise production confirmation and reports,  I have maintained the following setting ,
    1-     maintained shift sequence and with shift grouping,
    2-     assigned the shift grouping to work centers,
    other theses settings, what other setting to be done for  shift wise confirmations and also production reports,
    thanks in advance,
    mohan.m

    Hi Mohan,
    We had similar requirement for our manufacturing plant.
    We have done Z-Development for
    1) Shiftwise - Linewise Production
    2) Shiftwise - Beltwise Packing
    1) for that we have define new control key
    2) That key assigned to master recipe.
    (Why new control key ?
    New control key is defined specifically to generate this report. Because Auto GR is done only at the end of packing and not at the end of shift. But we want report for each shift. That's why after each shift end proposonatly that much qty is confirmed by new control key. However actual Goods receipt is only happened while completing total manufacutring or packing)
    3) That control kept as base of Z-development.
    4) As far as shift timings are concerned, we have taken actual shift timings of our manufacturing plant.
    Hope this will help to resolve your problem.

  • Date Wise stock report (0IC_C03)

    How can we see the date wise stock quantity and value in Query using  cube 0IC_C03.
    Example:Suppose i want to see what was my stock quantity and stock value on 25th Jan08.

    Hi,
    Restrict the Key figure value and quantity with the date.
    OR
    Go to the key figure in RSA1-> Info objects -> Double click on ur key figure-> Go to the aggregation tab Specify exception aggregation as last value and reference char as 0calday.
    This will give u the stock on the last day.
    If u want to do it in bex
    Create a Calculated Key figure put ur key figure in. And right click select the properties select exception aggregation last value and reference char as 0calday.
    Khaja

  • Date Wise Stock Report

    Dear All
        Any Standared Report available Single line Openning balance and closing Balce with values for particular date
    Thanks and Regards
    Suresh

    hi Vijay Aditya 
       Thanks for your reply 
       mb5b report not Satisfied 
    you know which table stored that details?
    Thanks and regards
    Suresh

  • Date wise closing report

    MB5B report taking long time to execute, is there any report to see the closing stock  on date for multiple materials

    Partha,
    There is no other report available which would suite your requirement.
    Regards,
    Prasobh

  • Sales order wise Production Report

    Hi,
    Can any one guide me based on my client requirement they want to know that after one month or after 1 week or after 15 days
    how many sales orders they received with quantity , how much quantity is completed , how many sales order are not generated planned order and how many sales order quantity is lying under production department
    I tried by using the T-Code COOISPI & COOIS but i didnt get what my client wants
    please guide me how to get above report
    Regards,
    Prasanna

    Thanks for reply Mr.amit,
    Before posted this thread i searched in the SDN forum i got the 2 links based on that i tried but i didn't get satisfied because why
    i am asking this report is mainly required to my client but this is report also normal for each and every manufacturing industries
    that is the reason i think it is available in Standard SAP
    and also i tried another T-Codes SAP1, SAP2 but in that also i couldn't able to find out
    please guide me how to get my report
    Regrads,
    Prasanna

  • Sales wise production report

    Dear Experts
    We have one sales order with 100 line iitems .How to identify what are the production orders are confirmed from shop floor and reday for delivery ?
    Regards
    Akash

    Dear,
    Goto COOIS-Standrad Profile -Orders-Enter Plant Code and Order Type -Enter System Status CNF and also Enter Sales Order if you have the Sales Order number  and Execute .
    It will display all the sales line item along which are compalted from production order shop floor and also if you goto Header -Change lay out option -You can drag and rop of the required information line Sales Line item , Production Order ,Reservation etc .
    Hope this is clear
    Regards
    JH

  • Customer wise production report

    Suppose sales order 1 has got X-5 pcu2019s, Y-4 pcu2019s. Sales order 2 has got Y-5 pcu2019s, Z-7 pcu2019s, sales order 3 has got x-10 pcu2019s, Y-5 pcu2019s, Z- 10Pcu2019s. These three orders are from same  customer. This 3 orders are in production. Now how I can track for Material X and Y for this customer( at which stage is the X and Y)?

    Dear prasanna
    run MD04
    thanks
    G. Lakshmipathi

  • Production report date wise

    sir,
    actually i want daily cost of finish goods within that seperate the completed qty cost & rejected qty cost
    & also the raw material cost which i issue for that finish good.date wise.

    Hi
    please check the link :
    Re: Date Wise Production Report
    Regards

  • LIST OF STOCK  VALUES  BALACE REPORTS FOR DATE WISE

    Dear friends,
    In MB5L T.Code we can get period wise balance reports,but client's requirement is date wise Balance report,could you help me any kind of standard reports for date wise.
    Regards,
    Sabhapathy  R

    Dear Vishal,
    Thanks for your reply,mb5b only stock and  documents number  we can get client want to mb5l with date specific balance reports with GL account's.
    Regards,
    Sabhapathy R

  • Shift wise production booking report

    Hi experts,
    Is there any way to get the shift wise production report?
    Through MB51 & with mvt 131 /101 , we get all the production booking for a period but user required this information on shift basis.
    If any body had done some Z development, kindly communicate
    Maruti

    Dear Maruti,
    I you are working in ECC 6.0,you can use enhancement package 3 and do the confirmation in shift basis and also get the shift
    details in the COOIS report.
    Check the article,
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0fa9a04-376a-2c10-c396-86d32ac80614
    Regards
    Mangalraj.S

Maybe you are looking for

  • Problem with Bind Variable not updatable.

    Hi all, I'm using Jdev 11.1.2.3.0. In my VO, I created a Bind Variable and set it NOT UPDATABLE. Then I created a View Criteria with some other Bind Variables. I use this View Criteria in a search page, but at runtime I see also an inpunt text for th

  • All my songs are greyed out on my iPod except for the songs in my itunes library

    I have over 10,000 songs on my ipod touch and when I connect to my Macbook Pro and go to itunes it states that there are over 10,000 songs on my ipod, but when I click to play them a little exclamation mark appears before it. (As it does when the sou

  • Moving to a new PC soon...

    I want to make sure that my print and document pre-sets are moved. If I look in the presets folder for CS3, I see 2 files - "Saved Document Presets, and Saved Print Presets." I assume I simply save those 2 files and copy them in the same location onc

  • Authorization object impact

    Hi, I have got an infocube(IC) and multicube based on IC (MC). The authorization object for IC and MC are A & B. A report on MC has got B as authorization object. Now does the object 'A' has got any impact on report. As on now its saying that indequa

  • How to use the function module CONVERSION_FACTOR_GET?

    Hi Experts, I have to use convert the value of a field from units 'HL' to 'HHL'. According to me, we can use the function module CONVERSION_FACTOR_GET. However, i am not able to know how to use it? Can anyone explain how to use the FM, i mean what sh