Query for Finished Product in Production

Dear All
I require a query for  Finished Product in Production. 
Product       Opening Balance                 Receipt                  Issued Quantity                  Closing Balance
Can anyone help me on this??
Thanks,
Pratap

Hi Pratap,
You may check this first:
http://scn.sap.com/thread/1631705
Thanks,
Gordon

Similar Messages

  • Query for releasing and closing Production order ststus in bulk

    Hi
    Releasing planed to released
    1. i want to release all those production orders entered in system which are in planned status.I want to apply one query for that which should change the status of Prod orders to release in systems automatically by applying this query.Please give me that suitable query and how to use it for proper result.
    closing released to planned
    2. Same like above i want to close all those Production orders whose receipt quantity is equal to planned quantity. i.e i want one query which should change the status of production order from release to closed on condition that receipt quantity is equal to the planned quantity.Please give me that suitable query and how to use it for proper result.
    Thanks

    For point 1 and 2:  It should not be tried and using a Query does not comply with SAP Support policy.  Doing so would lead you to lose SAP Support.

  • Query for updating prices if product IDs same

    I have a large Windows SQL 2000 database of products that
    need to have
    2007 prices.
    I have another Windows SQL 2000 database that has the correct
    prices
    that I can import into Windows SQL 2000 as a new table.
    I want to be able to UPDATE the Prices where product IDs
    match.
    What would an SQL query look like that would run in Query
    analyzer?
    So, basically, I need a query that would compare the product
    IDs and
    update the price column with the new price.
    Neither database is in the same location. One that holds the
    correct
    pricing is basically inaccessible to me. I can get a
    delimited file
    though. I know how to get that in.

    I've a table called Track, which has three columns named Part1, Part2 and Part3. I want all values of Part1 to be separated by a comma (,);
    No, don't go there.
    This breaks a fundamental point for relational databases: no repeating groups. A cell should hold an atomic value. And this is not only a matter of purism. Relational databases are designed from this principle, and breaking this means that you will need
    to write complex and higly inefficient code.
    The values in Part1 should be in a separate table, with one value per row.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Query for top 10 selling products and their current stock

    Hi ppl
    I am using the sales overview cube 0SD_C03 to get top 10 selling products. What I want is to get the current stock available of the top 10 products from Material Stocks/Movements cube 0IC_C03. From what I know, we have to make a multiprovider to get this information. Can anyone guide me how to go about it?

    Hello Javed,
                         You can use Replacement path for this.
    1.Create a report for Top 10 Products in InfoCube 0SD_C03 - Exampls Report A
    2.Create another report with Stock and use a variable for Product with processing type replacement path in InfoCube0IC_C03 - Example Report B
    3. In Report B and assing the Report A to this variable.
    When you execute the Report B it will execute the Report A in background and displays it in Report B.
    Hope it helps,
    thanks
    Chandran

  • Uploading Production Requirements For Finished Goods From External System To Run MRP For Components in SAP.

    Hello Production Planning experts,
    I'm looking to solve the current business problem:
    The company bought a third party software (JD Edwards) to calculate production requirements instead of using SAP's standard Production Planning or a tool like SAP's APO. They run a batch job to query Sales Orders, Deliveries, available stock, stock in transit, etc. from sap and feed/upload it to the third party software so it can calculate the Finished Goods Production Requirements for them. They love the third party software, so replacing it is not an option. Since the third party software is already taking into account Sales Orders, Deliveries, available stock, stock in transit, etc. from SAP, it just outputs a "Finished Goods Production Schedule" by week.
    My questions are:
    1) What's the best way to upload something like that in SAP in the form of Planned Orders or something of that nature?
    After i get that schedule in SAP:
    2) Is there any way to calculate components' requirements for that "Finished Goods Production Schedule" alone? The company would like to IGNORE existing stock AND expected-goods-issues in the future (sales orders, deliveries, etc) for Finished Goods ONLY. The components calculations would work the standard MRP way, taking into account existing stock and AND expected-goods-issues in the future (sales orders, deliveries, etc)
    I started looking into Master Production Schedule (MPS), but I don't know if that's the right approach since I'm not very familiar with it.
    Thanks in Advance! I will gladly reward points for helpful/correct answers.

    Hello Oscar
    I suggest you to upload your production plan in the for of "Planned Independent Requirements" using BAPI BAPI_REQUIREMENTS_CREATE. Later, MRP will create planned orders to cover the PIRs.
    If you don't want to consider the existing stock of the finished product, you should use the planning strategy 11 to create your PIRs. Take a look on the following link for more details about this planning strategy:
    Gross Requirements Planning (11) - Demand Management (PP-MP-DEM) - SAP Library
    Here you will find the following information:
    The make-to-stock strategy gross requirements planning is particularly useful in mass production environments; it is often combined with repetitive manufacturing. This strategy is particularly useful if you need to produce, regardless of whether you have stock or not. For instance, steel or cement producers might want to use this strategy because they cannot shut down production; a blast furnace or a cement factory must continue to produce, even if this means having to produce to stock.
    This strategy is also frequently used if there is a Material Requirements Planning system in a legacy system that needs to be linked to an SAP system which serves as a production execution system. The legacy system calculates a specific production plan, which has to be executed, regardless of the stock situation in the SAP system
    It looks like this planning strategy is exactly what you are looking for.
    BR
    Caetano

  • Query for Production

    Hi Experts,
    I tried to compress the report as Production order No., Planned Qty, Issued Qty, Retrun Qty, Finished Qty in one report/Query .But it is not exactly what i want. Please guide me.
    Thanks and Regards,
    Manikandan

    HI,
    You can use OWOR  and WOR1 tables base your query.
    OWOR -> Production order header table
    WOR1 -> components for production order
    Also the OINM table can be used for quering the components, products.
    select * from oinm
    where applobj = '202' and Appobjtype in ('C','P')
    where appobjtype = C means component (issue) and appobjtype = 'P' Product (receipt)
    the result of this query is displayed on the Poruction orders summary Tab. You can connect the Production order into OINM by OINM.AppObjAbs  = OWOR.DocEntry
    select * from oinm inner join owor on oinm.AppObjAbs = owor.DocEntry
    where applobj = '202' and Appobjtype in ('C','P')
    Regards,
    János
    Edited by: János Nagy on Jul 7, 2009 10:22 AM

  • Creation of Production order for FInished Product through Project

    Hi,
    Pls clear me on how we can create a Production Order for finished product.  
    If we confirm the production orders in PP, cant the same be confirmed in PS.. Should we consider the same activity types in both PS and PP
    Pls clarify

    hi srikanth,
    your answer has been very helpful... but could u clarify  why MRP is run in MD51 for WBS element and in MD02 for network..
    Pls clarify...  My scenario is like this ...                                                                               
    A
                            B                                                                                C
                    D  E F G H I                                                                                J K L M N O
    I have  a Assemblies B and C which are always delivered in sets.. under assemblies B and C,  we have 6 sub assemblies which has its own components.  I am assigning sub assemblies to differenet WBS elements 01 and 02. so, initially these sub-assemblies are produced to stock. this should happen in PP i.e., through production orders generated in MRP run ( MD51 ). In the next phase i will assign Assemblies B and C to another WBS element.  Again system should generate two Production orders thru MRP for this. Here the 6 sub-assemblies produced earlier will be consumed in confirmation of the production order...
    What i am doing is this correct...
    and the procurement for the components is happening thru the purchase requisition generated via MRP. the components themselves are not directly assigned to the project..
    Pls advise and clarify?

  • Alert message(Query) for a Production order?

    Hi Experts,
    I want to get an alert message for the production order doucument based on the due date of it. The user must get the alert a  one day before the duedate of the document. How to write the Query for it? Urgent ,waiting for earliest reply.
    Regards ,
    Magesh.

    Create a Formatted Seach with the following Query
    SELECT T0.DocNum AS 'Document Number', T0.CreateDate AS 'Creation Date', T0.DueDate AS 'Due Date'
    FROM  [dbo].[OWOR] T0  WHERE DATEDIFF(Day,GetDate(),T0.DueDate) = 1
    Then, Create an Alert from Adminis..> Alerts Management and Give a Name, Click Open Saved Query, Select the query you saved, Tick the Int. check box against the user who gets the Alert.  Check Active. Select Frequency.
    Good luck
    Suda

  • Re:Query for no.of days delayed using Receipt from production posting date.

    Dear SAP Experts,
    I need a query to calculate no of days delayed by using Receipt from production posting date and prod.order due date..i have already done the query but there is no link for joining the tables.Is there any link to join the tables..
    Plz Suggest a good query for this issue..
    With Regards,
    Revathy

    Dear Revathy,
    I think there is no need to link table if you just need calculate no of days delayed by using Receipt from production posting date and prod.order due date.
    You may check this query with the above:
    SELECT T0.ItemCode,T0.DueDate,
    T0.DocNum, T0.CloseDate,
    Datediff(dd,t0.DueDate,T0.CloseDate) Diff
    FROM dbo.OWOR T0
    WHERE  Datediff(dd,t0.DueDate,T0.CloseDate) > 0
    Thanks,
    Gordon

  • Pallet sheet for finished products printed in the not expected printer

    Hello to all,
    I have an issue right now with a user printing pallet sheet for finished products in Z602 printer.  The user wanted it to be printed in printer Z630.  I have checked transaction SU01 and found that the output device assigned to the user is Z630.
    What would be the cause of the documents coming out in Z602? 
    Just to add, the user print the document via transaction CO02, if the person needs more palette sheet then he prints by transaction LT01, and LT16 is just to cancel.
    Many thanks.
    Regards,
    Patvin
    Message was edited by:
            patvin

    Hi Patvin,
    You can try using T.code Co04 and after giving parameter got to Print and do print setting.
    If it solve reward and close this issue
    Thanks
    Bala

  • Material Valuation for Finished Product in Production Scenario

    Dear SAP Gurus,
    Kindly recommend appropriate Material Valuation Control for Finished Product in manufacturing scenario. SAP recommends pricing control 'S' (Standard), but my client's buying nature is not periodic(varies), they buy material on requirement basis (On actual material consumption ) which is very frequent. Pricing for each buy also changes due to the market conditions. You are requested to suggest me appropriate Material Valuation Control (either S / V) for Finished Product along with reasons, advantages & disadvantages for the same.
    Thanks,
    Shantanu

    Hi Alll
    Well one disavantage in material with 2/V for production consumption is in case of incorrect goods receipt, incorrect price for example, all your consumption will be wrong.
    For correction you would have to reverse all production posting, correct the goods receipt and repost the production confirmation.
    If you were using 3/S configuration, all consumption would be done in standard price and at month end material ledger would calculate the actual price for price revaluation. People from MM would have time to correct the entries during the month.
    Regards.

  • Plantwise Production & Sales report for Finished Goods

    Dear All,
                  Please let me know how to generate Plantwise Production & Sales report for Finished Goods. Is there any t code?
    Regards,
    Anil

    Dear All,
                         Thank you for the solutions. But can i draw the values in one single report. It will be more useful.
    Regards
    Anil

  • Purchase requisition generate for alternative bom use for finished product

    i hav alternative BOM for finished product in which different raw material component in both BOM of same finished product.But when i RUN MRP that time only one raw material requisition generate another alternative bom raw material requision not generate.
       Is there any option when i RUN MRP that time we select one of the alternative bom component of  raw material for generation purchase requisition.
    Thnaks in Advance

    Dear ,
    MRP will select the BOM based on the MRP4-BOM Explosion tab -Selection Indicator .It can eitehr of these ways :
    1.Maintain Production Version with  different Alternative BOM  and keep Selection Indicator -3 .So sysetm will look into only the Valaidty  and lot size of the Production version and select the correct BOM to explode  and generate PR for depednts based on stock situation
    2.If you maintain Blank -then it will look into order qty and select the BOM according ly
    As in your case , selection methods 3 will fit  and you need to maintain PV with correct validity and lot size in MMR-MRP4-PV option .
    Try in sand box with different lot size and validity with indicator-3 .Create Order and run MRP-MD02-1,,3,3,3,2
    Check and revert
    Regards
    JH

  • Query for Alert on production order to be released

    Dear all users and experts,
    I need a query for getting an alert on production orders to be released (from planned status to release status) by whether reading the release date of production orders created from 'order recommendation window' or by reading the due date of production order and substract the lead time(days) of the item from its due date or by any means you know best.
    Thanks and best regards,
    Farhan Sufi

    Hi Gordon and Joseph,
    Thanks to both of you for giving me queries.
    Gordon, I made 3 production orders for testing from MRP order recommendation window from which 2 production orders has release date of today 9th July, 2010 (due date 12th July monday) and the 3rd one has release date of after weekend i.e. 12th July 2010 (due date is 13th July). release dates are calculated by MRP acording to the items' lead time and due date.
    Gordon, when I applied your query It gave me msg 'no data was found as a result of this selection criteria' Can you explain what your query will give me in result?
    where as Joseph, when I applied your query on alert, it gave me all 3 production orders as an alert to be released. I was expecting it will give me alert for 2 production order for today as their release date in MRP is today(9th July, 2010) and the alert for 3rd production order should come on 12th July and not today.
    what I understood your query is displaying all production orders which have status 'planned' regardless of their release date.is it?
    Joseph can you edit this query in such a way that It should consider the release date (calculated from due date and lead time in MRP order recommendation window) and display only those production orders which should be released today and exclude those which have release date in future. so that I can get alert for only those production orders which should be released today.
    I hope good response from both of you
    Thanks and best regards,
    Farhan

  • Palette sheet for finished products not printed in expected printer

    Hello to all,
    I have an issue right now with a user printing pallet sheet for finished products in Z602 printer. The user wanted it to be printed in printer Z630. I have checked transaction SU01 and found that the output device assigned to the user is Z630.
    What would be the cause of the documents coming out in Z602?
    Just to add, the user print the document via transaction CO02, if the person needs more palette sheet then he prints by transaction LT01, and LT16 is just to cancel.
    Many thanks.
    Regards,
    Patvin

    Hi Patvin,
    You can try using T.code Co04 and after giving parameter got to Print and do print setting.
    If it solve reward and close this issue
    Thanks
    Bala

Maybe you are looking for