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

Similar Messages

  • Where store Production order Summary Tab values like Actual Compnent cost,

    Hi Experts
    Can you tell me that where it store Actual component cost and Actual product cost value which are in summary tab of production order. I checked It is not stored in OWOR table. than where it store these values.
    Thanks
    Regards
    Gorge

    It is in the OINM table.
    Thanks,
    Gordon

  • Budgeting for CO production order

    From KOT2 we can see budget profile exists for CO production order type CP01 and CP02.
    But it is not allowed to use KO22 to enter budget amount.
    Can anybody tell me how to set budget for CO production order?
    Thanks~

    Hi Ajay.
    The reason why we want to control cost of production order is because there are too many subcontract items.
    Sometimes works can be done within a plant are contracted outside. 
    Because there is no BOM or routing for a particular product,
    we have to use CO production order instead of PP production order.
    Planning on the order is also not possible.
    That's why we want to set a budget to limit the use of subcontracting and also control production costs.
    If Project System is activated, budgeting can be used on CO production order.
    Since we are not using PS, we have to use internal order to collect subcontract related costs.
    Best regards,
    Sharon

  • For a Production order - Operation wise Inspection Lot

    Hi Experts,
    Please help me out to resolve the following problems.
    1. How can we create inspection lot for each operation for a production order?
    If a production order has 10 operations, I will have to have 10 inspection lots for that order.
    2. I have a final assembly called A with components B & C. Some other material called D has similar characteristics of B.
        But sometimes, for A, instead of B (if stock is not available), i want to use D also. Please note that, if B is not available, then
        only, I will use D. Otherwise always B only, so we cannot go with probability.
    How can we map this scenario? and MRP run also should consider D if B is not there.
    Thanks in advance.
    Regards,
    Vijay.

    Dear
    Answer Q1 : Go to SPRO > Production> Shop floor control> operations > confirmation> define confirmation parameters
    Maintain
    1)Operation sequence u2013 error when operation sequence is not adhered to
    2) Over delivery u2013 Error when over delivery tolerance is exceeded
    3) Results Rec. (QM)- Error message if no Insp results exist
    So what these setting helps is that  :
    1)All operation has to be confirmed operation wise means 0010 has to be confirmed for confirming 0020 operation. SO production guys can only confirm 0040 operations only after 0030 operations is confirmed by quality personal.
    2)Over delivery is not allowed means of in 0030 operation if only 50 quantity is confirmed in 0040 operation only 50 can be confirmed. Production people cannot confirm more than 50 quantities
    3) Also PP personal cannot confirm operation 0030 through C011N till the result recording of that operation is done through QA32.
    4)Maintain Operation Control Key -PP01 with marked Inspection Character Marked -OPJ8  and maintain this Control Key for   those operation which are required for Inspection Lot .
    Now For QM stand point , activate inspection type 03 and 04 in material master. For 03 type of inspection, you have to make routing in CA01. So when you release your production order, an inspection lot will be generated. This lot will not be stock relevant. This is just to check that you production is in accordance with quality norms. Only after clearing this lot from quality you can do your order confirmation, otherwise system will give hard error due to 3rd point of prev post.
    For 04 type of inspections, prepare inspection plan in QP01. Now when order is confirmed, an inspection lot of 04 origin will be created in quality, and this is stock relevant and for final inspection of production order material.
    If you need you can set for early inspection as well. That will give you another intermediate stage before final inspection. Inspection points are also an option if suites your requirement.
    If you need more inspections, I suggest go for manual inspection lots of 04 origins, they are created in ref to order and are not stock relevant.
    Q2 : Please explore this thread for options explained for Alternative Item selection .
    Alternate Item in BOM
    Regards
    JH

  • BAPI for Open production orders

    Hi All,
    Any BAPI for open production orders?.... Using BAPI i want to upload open production orders informatiomations.... Please help
    Thanks & Regards
    Santhosh

    Hi,
       Please check the following BAPI,
    Goto BAPI tcode, select hierarchical tab
      Production orders,ProductionOrder ,ProdOrdConfirmation , RCVPRORDCF and check the BAPIs

  • Open the reservation for the Production order

    Hi,
    I have post the GI for Production order MB1A with movement type 261 from 100 peaces components. I would like to cancel a partial quantity of components from this posting (about 30 peaces). After cancel it the reservation for the production order has to be open for 30 peaces of components.
    I've canceled it through MB1A and mtype 262 but the reservations weren't open and in the PO (component overview there is always the sign"the Final Issue for This Reservation").
    Which T.code and mtype could I use.
    Thanks
    Dede

    Hi,
    Have you cancelled the movement (of 30 pieces) by selecting the "with reference" option from the menu?
    If not, then reverse the current cancellation document. Then again cancel the 261 movemtn by selecting the with refernce button from the menu. It will sove the problem.
    Check & revert.
    Regards,
    Rohit.

  • BAPI - Goods receipt and then create transfer order for a production order

    Hello Everyone
    We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
    We are using BAPI 'BAPI_GOODSMVT_CREATE'
          i_items-orderid = wa_afpo-aufnr .
          i_items-order_itno = wa_afpo-posnr.
          i_items-mvt_ind = 'F'.
          i_items-stge_loc   = wa_afpo-lgort.
         i_items-stge_type = '901'. "wf_styp.
         i_items-stge_bin = wf_sbin.
          i_items-entry_qnt  = wf_qty.
          i_items-entry_uom = wa_afpo-meins.
          i_items-entry_uom_iso = wa_afpo-meins.
          i_items-batch      = wa_zmobtag-charg.
          i_items-move_type  = '101'.
          i_items-move_reas  = wl_3131.
    We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
    The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
    My requirement : Creating material doc and then TO. Material should move to specified storage bin.
    Please let me know any alternate way( No BDC) so that my requirement is achieved.
    Regards
    Swetabh

    Hi ,
    can u check these fields ,
    STGE_TYPE_PC     UBTYP     CHAR     3     0     Storage type for transfer posting
    STGE_BIN_PC     UBPLA     CHAR     10     0     Storage bin for transfer posting
    Regards
    Prabhu

  • Multiple batches for a production order and mapping with components

    Hello Gurus,
    Our business requires to create multiple batches for one production order + they want to trace which component in the production order has been issued to the main equipment.
    For example, I am creating production order for 'A' equipment for 4 qty. Business wants to create 4 different batches for these equipment
    Lets say now 4 batches are created A001, A002, A003 and A004.
    Now lets assume 2 nos of 'B' component are required for 1no of 'A' component. So the requirement of B component is 8.
    Lets say 8 batches are generated B001, B002 ......B008
    Now lets say batch B001 and B002 are issued for A001 and packed together. How do we map this?
    I understand we can do some enhancement for creating the multiple batches but I still dont know how to map them with each other.
    Please help

    Hi Ethan
    There is a functionality called WIP batches, that allows you keep the batch traceability within an order.
    With WIO batches you can track which batch of component was used to produce each batch of finished product.
    See this link for more details:
    Work-in-Process (WIP) Batch - SAP Library
    BR
    Caetano

  • 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

  • Report of List of all status changes for various production orders at a tim

    Hi,
    Can I have a standard report which shows the dates of each and every status (user & system) of a production order.
    I need to have a report for a list of productio orders at a time.
    If we go to CO03, header menu, status changes option is there, but it only caters for single production order.
    Table JCDS is available to know the dates but I need a standard one rather than a Z development.
    Or you can guide me any function module.
    Thanks,
    Kumar

    Hello,
    You will get the details of status in following table.
    JEST - for object status
    JSTO - Status Profile
    TJ02T - to Decode the status Number
    as the status data you will get from JEST is in very typical form you have to use TJ02T to find the exact status
    AM

  • 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.

  • Process Code for Outbound Production Order??

    Does anybody know the Process Code for Outbound Production Order??
    BASIC Type : LOIPRO01
    Message Type : LOIPRO
    Regards,
    Ravi

    Hi Everybody.
    There's no standard process code for LOIPRO Outbound Idocs.
    This Idocs are threated as master data info, and could only be automatically generated by Data Distribution Model.
    BD64.
    Anyway, you can define your own Outbound Process Code in WE41 using CLOI_MASTERIDOC_CREATE_LOIPRO FM.
    You can choose.
    Regards.
    Albert.

  • Need transaction similar to KKBC_ORD but for multiple production orders

    HI all,
    Have been scouring the system looking for a report which displays production order variance information for multiple production orders.
    The best way to describe what we need is KKBC_ORD but with the option to select multiple production orders or a range.
    This transaction gives us exactly the results we want, but we have a long list of orders to analyse and to be able to get a list of them all rather than have to go into each individually would be fantastic.
    Do you think we're looking at a custom development here ?
    Regards
    Helen Smith

    IN these situations, I have sometimes written a "wrapper" program, with a Z version of the transaction....Get the list of documents via user input to your selection options, then loop at that pick list and do a call transaction for each document.

  • Standard form for printing production order

    hi experts,
                 i need the standard script for printing production order.

    Hi
    Check out this Forms
    PSFC_DOC_LINKS   Print production order
    PSFC_PRINT_LAY    Production order printing
    WE_FERT_VERS2    GR slip for production order
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS

  • Accounting Document for a Production Order

    Hi,
    How to get Accounting Document for a Production Order?
    Please help.
    Thanks,
    Shiva

    Hi Shiva,
    Go to table bseg....
    retrieve belnr -
    > accounting document number
    for a particular aufnr-----> production order
    where bukrs = your company code.
    Regards
    Debarshi

Maybe you are looking for

  • How to delete completed reminders automatically

    When I complete a reminder, is there a way for the reminder to be deleted, either immediately or after a short period of time?

  • Question about selecting only one tree at a time...Please help

    Hi , guys does anybody know how to make only one tree selected in an application which shows three trees simultaniously. Untill now I can select both trees at a time (the third one is not implemented yet ) This is probably so because the trees are sh

  • In PO -Me21N Material PO text field non editable

    Dear All ,               We have specific requirment in PO (ME21N). In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields (1) Item Text (2) Info Record PO text (3) Material Po text (4) Deivery Text As per our configu

  • KM repository to WPC

    Hi, is there any easy way or any way at all to convert a KM-based site (KM repository and roles) into a WPC site. E.g. i have a portal role mainly relying on existing KM content. I then upgrade to my EP7 to include the WPC functionality. The question

  • Set Email to web site email client

    Ideapad A-1 I need to set the primary email address to a web site on Google, the high school email client. Seems I have to put in a standard form of email address and can't put in a URL. By primary, I mean I want to touch Email and have that site com