Current operation for the product order

how do i determine a current operation for the production order? in what table shall i get this indicator? ive been searching in afru and i cant seem to find it?

In your production order, there might be a sequence of operations. Each operations will be having the status. Based on the confirmation, the operation status will be updated. If the order status is CNF means it is completed. If the status in not CNF, then it is not completed. Based on the operation sequence, you can find out the current operation in your production order.
This information you can get from the table AFVG. AFVG table is for order operation details.
Hope this clarifies your doubt.
Regards,
V. Suresh

Similar Messages

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

  • Subcontracting of one of operations in the production order of SPK

    Dear All,
    Example:  
    Material A (soft) having special procurement key SPK as "52". In the routing of this material there r 3 operations 10, 20, 30.
    We have generated production order of this material A.
    We want to get 20 th operation done from outside i.e.  subcontracting.
    When we receive the material from subcontractor we should able to confirm 30th operation in the production order by CO11.
    outgoing material & incoming material will remain same i.e. material A. (Material A has special procurement key SPK as "52")
    How to do this in SAP ?  Pl' give detailed steps.

    Hi,
    sorry to point you to help ....
    check out whether this std scenario is a best fit
    http://help.sap.com/saphelp_46c/helpdata/en/51/95303ca1fa11d189ba0000e829fbbd/frameset.htm
    SAP Std BPL: http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    Thanks,
    sudhakar

  • 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

  • How to mass set deletion flag for the production order

    Hi Expert,
      do you know which transcation code or program is used to mass set the deletion flag for production order?
    thank you in advance!

    Hi,
    http://www.sap-img.com/production/how-to-delete-old-production-orders.htm
    Note that CO78 is the start of the Archive process.  We are not using Archiving yet but the initial process fits the bill for what we need to do as mentioned in the original note.
    Decide the range of orders you want to delete.  This range will be used in the program variant. Note that we will be running CO78 many times because of the number of orders involved. 
    Running CO78 calls program PPARCHP1 and this involves the use of a Variant where the parameters for selection etc. are set. 
    First of all, create the variant via SE38 for PPARCHP1. 
    Enter details for number range, order type, plant and set deletion flag. Flag Detailed log and set this to go to Spool when running. Save the variant. You can also force the job to run in background at this point (which I would recommend) via menu line Variant --> Attributes.  Also here you can flag order number, order type and plant to be required fields. 
    Run CO78
    Press the first button - deletion flag/deletion indicator.
    Choose the variant you have just created.  Press "Maintain" to update the selection range on subsequent runs. Save changes and return to initial screen.
    Press Start date to set date and time for job to run as per any background job. Icon will turn Green.
    Press Spool Params to set save output in Spool Q rather than print immediately. Icon will also turn Green.
    Press Execute and job can be tracked via SM37.
    Details of deleted orders and errors will appear in the Spool.
    Rerun as many times as you need with relevant order ranges till all required orders are deleted.
    Hope this will resolve your issue.
    Regards,
    Naveen.

  • 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

  • How the material PRT issue/receipt to the production order can be handled?

    Hi PP Gurus,
            For one of our clients, the handling of PRT is to be controlled with the issue/receipt for the production order.
    1. What is the procedure for issue/receipt of PRT material in the SAP?
    2. What is the procedure to block the PRT for the creation/release of production order when it was already assigned to the other production order during the same time?
    3. The PRT is to be available automatically once the assigned production order operation is confiremd.How it can be handled in the SAP?
    Appreciate your early response.
    Thanks,
    Reddy.

    Hi Ramanujam,
            Thanks for your response.
         1. The dies can be used for the production of Pressing, Casting and Forging etc. These dies will be managed in the stores. The stores representatives will issue the die to the shop floor for an operation of a production order.They will return back the die once the production is completed at that operation using the die. How to map this process in the SAP.
            Typically, these dies can be treated as PRT materials in the SAP system.
         2. OPJK configuration is not sufficient. The same PRT will be assigned to the many production orders during the same time.The system won't block with only this setting. There are some other steps involved to complete the process.
                     I would like to know the complete procedure with all the steps to block the PRT once it was assigned to the production order operation. The same PRT is to be available for other production orders automatically once the operation is confirmed after production.

  • Error while Closing the Production order.

    Hi ,
      We are doing operation Subcontracting Process. This process works on the basis of Production order, once the Production order generated automatically system generates a Purchase requisition which we are converting to Purchase order  and doing the sub contracting process.
    Now i have received all the material from the Subcontractor ( GRN and MIRO ) has been completed , for the Production order all the confimration and Delivery has also been completed , now i have done Technically completion for that order , now i am closing the Order ( Functions -Restrict processing - close ) , while closing it gives me an error saying that Purchase order still exists .
    Wat is this error ?? why is it coming so ??
    Regards
    Rajesh

    hi,
    You have to ensure that the order is not having any WIP, if you have any WIP for that order you have to complete the order and then only you could abale to clsoe the order.
    Check the WIP for the order thorugh KKAX.
    Regards,
    Rama Mohan

  • 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

  • Want last date of the month as default basic finish date for the Proc order

    For forward scheduling type in process order, irrespective of the start date i want last date of the month as my  basic finish date.
    Ex start date can be 01/10/2009 or 15/10/2009, but the basic finish date should be 31/10/2009.

    Hi Sam,
    sorry to say , its not possible in standard SAP.
    1) If, on order creation, a planned order exists for the production order/ process order, the basic dates are copied from the planned order.
    2)If no planned order exists on order creation, you must specify at least one basic date.
    The scheduling type determines the basic dates that you must specify. and it useses timings from routings for scheduling.
    so may be you need some work around.
    explain your requirement why do you want to fix it for the last day of month and other constraints, may be we can find some way.
    Regards
    Ritesh

  • How to use BAPI_GOODSMVT_CREATE against the Production Order

    Hi Friends,
    I need ur help very urgently,
    I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
    everything working fine, ie it gets updated in IM/WM.
    but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
    How to solve this issue using this BAPI.
    I have attached the code, plese help me is there any other parameter to set for this BAPI.
    Thanks in advance.
    Shankar
    Code:
    *Header Structure
    st_gm_code-gm_code = '03'. "
    st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
    SORT itab BY aufnr matnr j_3asized.
    LOOP AT itab.
    itab_afs_gm_itemx-material = itab-matnr.
    itab_afs_gm_itemx-plant = itab-werks.
    itab_afs_gm_itemx-stge_loc = itab-lgort.
    itab_afs_gm_itemx-batch = itab-new_charg .
    itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
    itab_afs_gm_itemx-stck_type = 'F'.
    itab_afs_gm_itemx-move_type = '262'.
    itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
    itab_afs_gm_itemx-grid_value = itab-j_3asized.
    itab_afs_gm_itemx-orderid = itab-aufnr.
    itab_afs_gm_itemx-move_reas = itab-move_reas.
    APPEND itab_afs_gm_itemx .
    SELECT SINGLE etenr
    INTO etenr
    FROM j_3abdsi WHERE aufnr = itab-aufnr
    AND matnr = itab-matnr.
    gr_afs-matdoc_itm = '0100'.
    gr_afs-sched_line_sku = etenr.
    gr_afs-stock_cat = itab-j_4kscat.
    gr_afs-grid_value = itab-j_3asized.
    APPEND gr_afs.
    ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header = st_gm_header
    goodsmvt_code = st_gm_code
    IMPORTING
    goodsmvt_headret = st_gm_headret
    materialdocument = mat_doc
    matdocumentyear = doc_year
    TABLES
    goodsmvt_item = itab_afs_gm_itemx
    return = bapi_return
    afs_goodsmvt_sku = gr_afs.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    Hi Friends,
    I need ur help very urgently,
    I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
    everything working fine, ie it gets updated in IM/WM.
    but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
    How to solve this issue using this BAPI.
    I have attached the code, plese help me is there any other parameter to set for this BAPI.
    Thanks in advance.
    Shankar
    Code:
    *Header Structure
    st_gm_code-gm_code = '03'. "
    st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
    SORT itab BY aufnr matnr j_3asized.
    LOOP AT itab.
    itab_afs_gm_itemx-material = itab-matnr.
    itab_afs_gm_itemx-plant = itab-werks.
    itab_afs_gm_itemx-stge_loc = itab-lgort.
    itab_afs_gm_itemx-batch = itab-new_charg .
    itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
    itab_afs_gm_itemx-stck_type = 'F'.
    itab_afs_gm_itemx-move_type = '262'.
    itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
    itab_afs_gm_itemx-grid_value = itab-j_3asized.
    itab_afs_gm_itemx-orderid = itab-aufnr.
    itab_afs_gm_itemx-move_reas = itab-move_reas.
    APPEND itab_afs_gm_itemx .
    SELECT SINGLE etenr
    INTO etenr
    FROM j_3abdsi WHERE aufnr = itab-aufnr
    AND matnr = itab-matnr.
    gr_afs-matdoc_itm = '0100'.
    gr_afs-sched_line_sku = etenr.
    gr_afs-stock_cat = itab-j_4kscat.
    gr_afs-grid_value = itab-j_3asized.
    APPEND gr_afs.
    ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header = st_gm_header
    goodsmvt_code = st_gm_code
    IMPORTING
    goodsmvt_headret = st_gm_headret
    materialdocument = mat_doc
    matdocumentyear = doc_year
    TABLES
    goodsmvt_item = itab_afs_gm_itemx
    return = bapi_return
    afs_goodsmvt_sku = gr_afs.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

  • Batch Determination - Number of the production order

    Hi All,
    First of all i must say that my knowledge in this module is low. I am a FI, CO consultant but my administration ask me to check the following situation.
    In Production Orders we want to attrib to the batch number the number of the production order.
    Can we do that?
    Can you give some details about that?
                     Best Regards
                          João Fernandes

    Hi João Fernandes,
    If I understood clearly, you want the batch number for the production order to be same as the production order number.
    This is not possible in standard but can be achieved using the user exit (try SAPLV01Z).
    Tell your abaper to write a code in that to pick up the batch number same as the production order number.
    Regards,
    Narendra Bora

  • Batch determination in the production order header

    Hi,
    I'm trying to determine the batch for the production order header (AFPO-CHARG). I've set up the search strategy, added the procedure to the relevant plant/order type combination in OPL8 and created the batch search strategy to default the batch, however, when I create the order the batch does not default. Am I missing anything obvious?
    Thanks in advance!

    Hi
    Batch Search strtaegy is used to get the batch numbers of the components in the production order or get the batches in the delivery of the sales order.
    These batches can be selected based on the selection criteria and the sort rules.
    I do not completely understand what you mean by batch at heaser level.
    If you mean to say the batch number for the header material then you can not search that batch since it has to be created first.
    Hope this helps.
    Cheers

  • 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

  • How to analyse actual cost for each operation in Process/Production Order?

    Hi all,
    IN SAP, I know that we can analyze plan cost for Operation in Process Order/ Production Order.
    However, I can not analyze Actual cost for Operation .
    I know the object when I good issue material is ORDER, not OPERATION.
    But, as requirement of users, they want to analyze actual cost for each Operation.
    CAn SAP do this analyze?
    If Yes, What should I do in SAP to have this reports?
    THanks in advance,
    Emily Nguyen

    Hi Emily,
    as I see from one other message that you're using material ledger. Then your expectation is apparently to also see the actual costs of materials in your production order by operation.
    This is not supported. Actual material costs are handed up in material ledger multi-level settlement from one material to the next, bypassing the production orders.
    That means the production order will always contain the material costs valuated at plan price, not at actual price.
    For activity prices that might be better, when you revalue the orders at actual activity prices with CON2. But even there I am not sure that it will always be assigned correctly to the operations.
    There is currently an enhancement in development, the operation level costing. But that will affect more the planned cost side not the actuals. Might be interesting to learn more about your requirements and the use case behind.
    best regards,
                      Udo

Maybe you are looking for