Raw Materials for a production order

Hi,
i am using sap b1 8.81 pl06. i have a Production order or a sales order with some finished product item. i need to know how much we have to prepare as raw materials for this specific PO or SO. is there any report that can give me these infomation. note that my finshed product are composed from semi-finished product as well.
thanks

hi all,
thanks for your support, i found similar query in some sample queries by SAP. with some edition i managed to get what i need. here is the code maybe someone will find it helpful.
SELECT T0.[Father] as 'Assembly',
t16.[quantity] as 'BuildQty', t16.[quantity]*t20.[LastPurPrc] as 'Total Price',
T0.[code] as 'Component1', t10.[ItemName] 'Description1', T0.[Quantity] as 'Quantity1',
t16.[quantity] * t0.[Quantity] as 'ExtQty1',
t10.OnHand as 'OnHand1',
case when t10.OnHand - (t16.[quantity] * t0.[Quantity]) > 0 then 0 else
-(t10.OnHand - (t16.[quantity] * t0.[Quantity])) end as 'Shortage1',
T1.[Code] as 'Component2', t11.[ItemName] 'Description2', T1.[Quantity] as 'Quantity2',
t16.[quantity] * t0.[Quantity] * t1.[Quantity] as 'ExtQty2',
t11.OnHand as 'OnHand2',
case when t11.OnHand - (t16.[quantity] * t0.[Quantity] * t1.[Quantity]) > 0 then 0 else
-(t11.OnHand - (t16.[quantity] * t0.[Quantity] * t1.[Quantity])) end as 'Shortage2',
T2.[Code] as 'Component3', t12.[ItemName] 'Description3', T2.[Quantity] as 'Quantity3',
t16.[quantity] * t0.[Quantity] * t1.[Quantity] * t2.[Quantity] as 'ExtQty3',
t12.OnHand as 'OnHand3',
case when t12.OnHand - (t16.[quantity] * t0.[Quantity] * t1.[Quantity] * t2.[Quantity]) > 0 then 0 else
-(t12.OnHand - (t16.[quantity] * t0.[Quantity] * t1.[Quantity] * t2.[Quantity])) end as 'Shortage3'
FROM ITT1 T0 LEFT OUTER JOIN ITT1 T1 on T0.Code = T1.Father
LEFT OUTER JOIN ITT1 T2 on T1.Code = T2.Father
LEFT OUTER JOIN ITT1 T3 on T2.Code = T3.Father
LEFT OUTER JOIN ITT1 T4 on T3.Code = T4.Father
LEFT OUTER JOIN ITT1 T5 on T4.Code = T5.Father
LEFT OUTER JOIN ITT1 T6 on T5.Code = T6.Father
left outer join oitm t20 on t0.father = t20.itemcode
left outer join oitm t10 on t0.code = t10.itemcode
left outer join oitm t11 on t1.code = t11.itemcode
left outer join oitm t12 on t2.code = t12.itemcode
left outer join oitm t13 on t3.code = t13.itemcode
left outer join oitm t14 on t4.code = t14.itemcode
left outer join oitm t15 on t5.code = t15.itemcode
left outer join rdr1 t16 on t0.father = t16.itemcode
left outer join ordr t17 on t16.docentry = t17.docentry
WHERE T17.docnum = '[%1]'
order by t0.father

Similar Messages

  • In house mfgd. raw materials for a production order- Cost capturing

    Hello Experts,
    The scenario is as below:
    Client wants to manufacture in house some of the raw materials for a production order of sub assembly. These raw materials are made from scrap, with some manhours spent on it. After making them in house, these are handed over to stores for kit preparation.
    The planner wants to create a stock of these materials (without making individual prod. orders since there are many of these). One option is, planner can do the cost centre issue reversal (202 movement). But the raw material cost is also getting captured in it from the material master.
    From costing point of view, the cost of raw material should not be included since it is made from scrap. Only the cost of man hours spent is to be accounted for.
    Please help as to how to map this scenario. For capturing cost of man hours spent, we can include a routing for it in the production order of the sub assembly. But how to eliminate or exclude the material cost. All inputs from your side are appreciated. Thanks in advance
    Regards,
    Chetan.

    Hi Chetan,
    Your scenario has some major issue.
    1. You cannot produce RAW material in SAP.
    2. The cost of material produced inhouse will be different than that of original RAW material.
    3. There will be some cost effect in the final finished product if you consider this inhouse produced material for product costing of finished goods.
    We have similar scenario with my client and here is what I have implemented.
    1. Create a new HALB type part number for the inhouse manufactured RAW material. This will ensure that you assign Routing and BOM to same and can capture the COST for the same.
    2. Creating new material will enure that the product costing for inhouse produced RAW material is done.
    3. You can create single Production order for the same as you only have to capture cost. This depends on your Business scenario.
    4. Once you have inhouse produced raw material, you can create alternate BOM for the FINISHED Material with this new Part number in BOM.
    5. Create Production Version for the two BOM and ask Planner to select the Version 2 if he requires new part number in Production Order. I assume that this case would genrally appear in very small numbers.
    6. Now coming to product costing for final assembly. Since we are going to reuse scrap material to create the new part number, only activity cost and component cost will be used to determine cost. This cost will be less than that of RAW material cost.
    So we always suggest our customer to consider OLD part number to determine the PRODUCT COST of final material. BUT business will have to take a call on this.
    Do let me know if u need any thing else.

  • All the raw materials for finished products

    Can anyone please help me how to find all the raw materials for a finished product. The desired result which i am expecting is same that we get through TCode CS15.
    Please help me to solve this issue.
    anyone who answers will be rewarded..
    thanx in advance

    Hi,
    Please note what you are talking is multi-level blow up & the logic given by me is for Single Level blow up. In any case you can modify the above mentioned logic as follows so that you will get the desired result.
    Once you get all the first child materials of a BOM i.e. 800024 then check in MAST if there is a BOM for this child material. IF you get sy-subrc = 4 in Select of MAST it means there is no BOM Present for this child material hence no need to take any action. However for child material 800120 you will get sy-subrc = 0 indicating that there is a BOM for this child material so write these child material in ANOTHER INTERNAL TABLE SAY 'X' & DO NOT WRITE THIS CHILD MATERIAL in your current internal table. Follow this procedure for all child materials of this BOM. Once your thru with all child materials. loop at internal table 'X' which contains all materials which are haveing a BOM so repeat the above mentioned procedure for all child materials of material from 'X" i.e. in your case 800120. Stop this process till internal table 'X' is empty. I hope this helps,
    Regards
    Raju Chitale
    Edited by: Raju Chitale on May 5, 2008 12:55 PM

  • WM Staging Raw Materials for CS Service Order

    Dear WM Experts,
    I seek your help in solution for a particular scenario.
    My client accepts the customer-returns of faulty devices, repairs them and delivers back functioning device to customer. Faulty devices are received through a special returns sales order type (that is integrated with Customer Service module) and the repairs work is done via CS service order (IW32) which gets created directly from sales order. During repair, faulty components are replaced in the device and consumption of components is posted from service order using 261 movement. 261 movement reduces the stock in 914 interim storage (GI Area Production) and I'm trying to get the stock reduced from the actual production staging bin. I created a supply area, assigned it to the service order's work center and also created control cycle with the actual st.type and bin. But, service order is not recognizing the control cycle. In fact, I could not find the supply area value anywhere in service order. Do you know whether there is integration between CS and WM module similar to WM production staging for production orders ?
    Best Regards,
    Ashok

    Hi Ramesh,
    For testing the CS-WM integration, I created a work center with usage 009 (All task list types) so that I can use it in both Production Order and Service Order.
    Production Order did consider the Supply Area in this work center and its Control Cycle. ie. in reservation table RESB, supply area, destination storage type and bin were present. However, Service Order didn't consider the Control Cycle data. In RESB, supply area is populated but destination type and bin are not there.
    So, I conclude CS and WM are not integrated like PP-WM integration.
    As a solution, We got a new IM movement type created for consumption posting in MM and linked that to new WM movement type with automatic TO creation.
    Br,
    Ashok

  • Report on raw material to wip for a production order

    Hi,
    Is there a report which has a list of " issue of raw materials to a production order"?
    Or how to know how much raw material is issued to WIP on a production order.
    i nee dto have a report which has material cost and material overhead an dtotal.
    how to build this report ?
    Thanks,
    Sai.

    Hi Sai,
          You can try using MB51, use filter movement type 261. Add a filter for the posting date coverage.
    Then proceed. Click on the icon DETAIL LIST.
    Then click on the SUBTOTAL, add MATERIAL as a Criteria. The click the column AMOUNT IN LC.
    You should see the total issuances to per material.
    I hope this helps.
    Heinrick Palad

  • Text Instruction for spipment for materials w/o production order

    Hi all,
    Where can i put text instruction, for the warehouse guy, in sales order for materials that do not require production order.
    I hope i have not made is confusing.
    Genaraly for all the materials which have production order if i put special text in header it appears in production order. so warehouse guy comes to know how to do production.
    Thnaks,
    Utpal

    What is the warehouse guy supposed to do in case no production is required?  If no production is required, the items do not appear on the production order and the production guy has nothing to do.

  • DIMP - Two materials in same Production Order

    Hello experts
    anyone knows if it is possible combine two materials in one production orders with DIMP component?
    The scenario is for print flexible packaging, in one flexo printing machine we can print 2 different product with similar structure and characteristics like width, weight, colors and so on.
    This FERTs consume the same raw materials (BOPP Film, same colors of ink). the last process is cut the roll for obtain two different flexible packaging.

    Dear Ismael,
    You will have to test it, but i believe it's possible.
    If the order BOM has co-product, then settlement will have 2 entries. You can change the ratio over there, to settle to one material. So, the costing will happen accoridnlgy. There's no change in logistic process.
    Another option is to change BOM prior to creating the order, if you know the details beforehand. But, correcting master data is not a right practise.
    Thanks
    Prem

  • Same operation for different production orders

    hi, we use different sheets (like aluminium, steel etc). each sheet (as roh material for certain operation) is for different production orders. we keep all sheets as one bundle and cut all the sheets at a time. say aluminium sheet is for order X, steel sheet is for order Y. How to handle this during confirmation and GR, Settlement of individual orders etc? pls advise the best practice with this type.

    Yadav,
    As per my understanding, you maintain the sheets of different materials as different raw materials.
    The cutting operation takes place altogether for cost effectiveness.
    I don't think it would be a problem for you do deal with.
    Different sheets will be part of different orders.
    The GI would take place accordingly.
    The confirmation will be independent untill it is linked with backflushed.
    Explain the scenario in details.
    Hope this helps you.
    SmanS

  • Tables for Confirmation Production Order.

    Hi Friends!
    we want to be find Tables for Confirmation Production Order[PP].
    reply,
    Rahul

    Hi Rahul,
    MAST     Material BOM
    STKO     BOM Header
    STPO     BOM Positions (detail)
    MAPL     Assignment fo Task Lists to Materials
    PLKO     Routing Group Header
    PLSO     Routing Group Sequence
    PLPO     Routing Group Operations
    AFKO     Production Order Header
    AFPO     Production Order Position (details)
    Thanks,
    Reward If Helpful.

  • Target cost for a Production order

    Hi
       How to get Target Cost for a production order?
    Thanks
    Naga

    Well Naga, Right now I’m on HR implementation , but I programmed same kind of requirement two years before , but I got planned cost and actual cost .
    I also notice “cost analysis" the cost is not exact , it wont read the value from KP26 of that particular month .
    Here I am talking about 4.5b system.
    You can find the sales order ref on production order, and your production order is made up of your different kind of material like scarp, raw, semi-finished etc
    Here are the steps I followed .
    1- I read the material which you can see in material component on production order in Co03.
    After that I take the qty and also multiply by the cost at which machine is posted .
    I have that programs, as I need to find out . I’ll post you later .
    But you have to read the tables afko,afpo,afru,caufv,cost ..etc
    Do you see information structure I refer you , If i am not wrong this CO3 ( cost analysis ) report use report painter ( Tr.Gr51,Gr52 ) . you can also see by going in to said transaction which information structure its populating . This’ll also help you.
    Hope this’ll give you idea!!
    <b>P.S award the points.!!! DOn`t forget :)!!!!</b>
    Good luck
    Thanks
    Saquib Khan
    "Knowledge comes but wisdom lingers!!"
    "Some are wise and some are otherwise"

  • How to create a Reservation for my production order

    Hi,
    I have a production order for that I need to purchase 2 materials. but my problem is when the material come there is no reservation for my production order. someone can take it for another production order. How can I do that the system create a  reservation after the GR
    Thank

    Dear,
    When you create and release production order, the reservation is created for that order. Now you should first activate the Avelability check in production order.
    It is PP configuration
    Then you need to activate dynamic aveailability check in goods issue in MM configuration.
    Hence if the stock is reserved for your production order, then no one can issue and system will give error message.
    please come back if required.

  • Stop excess raw material consumption against production order

    Hello
    Please Guide
    Is there any  control to Stop the excess or less consumption of raw material against the Production Order confirmation.
    Eg
    Prod order Qty - 10
    Ram material reqd A- 10 piece & B- 10 Piece
    So now Order confirmation Qty - 10
    raw material consumption A - 10 & B- 10
    so for A or B if i want to issue (261) excess or Less qty than system should not allow this. System response to be as an error message in case I increase or decrease the Qty of A or B other than 10 against the prod order confirmation of qty 10.

    Hi,
    You have to use user exit only to avoid it.
    1.CONFPP02 - for checking good issue during confirmation
    2.MBCF0002 - for Checking Confirmations during the Goods receipt.
    For this you need to Use the User Exit:
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Sep 9, 2008 12:41 PM

  • PP : Need to find Multiple Batches for different production Orders

    Hi Experts,
    I have a requirement that, user wants to see the  "Single batch assigned for multiple production orders and different materials"
    Which its a off case, it cannot be done , but i have gone with 1. So user wants to know all the Orders which has same batch but for different  materials & Orders.
    Please help me in this regard.
    Br,
    SandeepCH

    Hi Shri,
    Please find the attachment  for your better understanding.
    Yes, as you said one material can have multiple batches, But that same batch cannot be linked with other material. This was my requirement.
    So now i want to know all the  batches which came in double for different materials.
    Br,
    SandeepCH

  • GR  for a Production order to be controlled on actual /planned cost

    Hi,
                   When I do a GR for a production order I want to restrict the GR if my actual cost of materials consumed for the production order is less that 80 % of the planned cost of that production order. There is no provision for restricting the above.
    When GR is done for a partial quantity of the production order, the system should consider and compare the GR quantity material cost against the same GR quantity Planned cost in the production order. If the GR quantity actual material value is less than 80% of the GR quantity material planned value, then the system should stop the GR to stores.
    Eg:
    Production Order for 10 Units of material “X”
    BOM for “X” are Material “A”, “B” and “C”
    Planned quantity to manufacture 10 units of material “X” is: “A” – 10 unit, “B” – 10 Unit, “C” – 10 Unit
                                    The planned value for the material BOM is : “A” – 100
                                  “B” – 75
                                  “C” – 25
                                         Total Value to manufacture material “X” is Rs .200                                        
    Case 1
    If only 5 units are manufactured using the production order.
    The GR to stores must be allowed only after the system check the total actual materials consumed in the production to produce 5 units exceeds 80% of the 5 units planned material cost.
    Planned Material Value               Actual Material Value
    A. 510 = 50                         A. 59 = 4     
    B. 57.5 = 37.5                         B. 56 = 30
    C. 52.5 = 12.5                         C. 52 = 10                    
    Total planned material Value is Rs 100            Total actual material Value is Rs 85
    The above case shows that the actual material consumed in the production order is more than 80% of the planned materials. So, the system should allow the GR to stores.
    It should check only material cost only.
    Case 1I
    If 10 units are manufactured using the production order.
    The GR to stores must be allowed only after the system check the total actual materials consumed in the production to produce 10 units exceeds 80% of the 10 units planned material cost.
    Planned Material Value                    Actual Material Value
    A. 1010 = 100                         A. 109 = 90     
    B. 107.5 = 75                            B. 56 = 30
    C. 102.5 = 25                                     C. 52 = 10                    
    Total planned material Value is Rs 200          Total actual material Value is Rs.130
    The above case shows that the actual material consumed value in the production order is less than 80% of the planned materials. So, the system should not allow the GR to stores.
    It should check only material cost only.
    CAN ANY ONE SUGGEST ME ON THE ISSUE
    Regards
    Madan Mohan

    Madan,
    Try using the userexit in enhancement MBCF0002.
    (A) Now the Planned cost can be calculated from the RESB table passing the Order no. For all the line items in RESB calculate the planned cost = Price * Qty.
    (B) For actual costs take it from AUFM for mvt type 261. The fields DMBTR will give you the value. Sum for all line items.
    Now suppose the GR bing done now is 5. This you will get in the user exit. In the exit check from CAUFV whta was the GR already posted. Say this is 2. So the total GR is 5 + 2 = 7.
    Planned cost for 7 = (A) / Order Qty * 7
    Actual cost = (B)
    Compare planned and actual and give yr message,
    rgds
    ram

  • Can we get the raw materials for a classified Material from MSEG table?

    Hi All,
    Can we get the raw materials for a classified Material from MSEG table using Order number?
    If yes How we can find it out for Past month only? As well how we can get the std price for this raw material.
    Please help me out,
    Thanks,
    Ravi

    Field STPRS (Standard price) From Table MBEW.
    Kanagaraja L

Maybe you are looking for