Deletion flag on production orders.

Hello PP Gurus,
Is there any mass transaction to uncheck the deletion flag on production orders.
I know the deletion flag can be set thru CO78.
But, is there any way to uncheck deletion flag for bunch of production orders thru mass??
Thanks in advance !!
Sashivardhan

Hi,
You can do it by the following options
1) LSMW - take one order do recording of reversal of deletion flag and then run with your complete order list.
2) BDC - with help of your ABAP team create a BDC and the run the complete list of order to apply reversal deletion flag.
There is a program "RIARCORVS" for  activating the Deletion flag collectively but right now  as i do not have the authorization for SE38 i un able to check whether this program supports uncheck the deletion flag collectively.
Please check this program if it is not supporting then you have to go for a BDC or LSMW
Pavan

Similar Messages

  • Mass revoke deletion flag for Production order

    Hi all,
    As we know, we can use program PPARCHP1 to mass set deletion flag for production order.
    now, i would like to revoke deletion flag, i had been use tcode: co02  Functions -> Deletion Flag -> Revoke to do it.
    but, i have lots of production order, is there any standard program could mass revoke deletion flag?

    Dear there is no standard functionality or transaction is available to revoke the deletion flag the only option is you have to do it manually one by one order through the option which you already mentioned.
    Cheers
    KK

  • Set Mass Deletion Flag for production orders

    Hi,
    I am planning to set mass deletion flag for production orders using programme PPARCHP1.
    My users dont have access to SE38/SA38 and they cant run this program from directly.
    I dont wnat my users to do this preprocessig using SARA or CO78 as it will give access to them for whole archiving process + it only works in background.
    I am thinking to create a Z tocde for this program and use it in dialogue mode also. Do you guys see any aftereffects with this process?
    Let me know if creating a Z tocde sounds a good idea?
    Edited by: santosh sarda on Mar 10, 2011 3:23 AM
    Edited by: santosh sarda on Mar 10, 2011 3:28 AM

    The standard SAP procedure to set the archive is that
    - you run COAC in background to set deletion flag and deletion indicator.   It should be set as the variant and run periodically (i.e., monthly). 
    - The system get all orders with DLV status in the past xx days depending on your variant to set deletion flag. 
    - Also it will change the status DLFL to DLT based on your residence time 1. 
    - The orders with DLT that reside in system longer than residence time 2 then archive.
    This should be done by IT department or background jobs.  Not the users.
    Which, in my opinion, is enough.  However, if you do need the user to select by themselves which orders they want to set deletion flag (why is that?).  Then you may want to explore enhancement. 
    For the sake of simplicity, I will recommend to use user status (normal cohv can change that, as we know; therefore no new fancy screen needed).  Then develop the user exit to set deletion indicator in PPCO0002 - EXIT_SAPLCORE_001 based on user status.  The rest of the procedure should remain the same.
    If you want to allow user to do every steps and develop some Z* screen for users, they must have the authorization for archiving anyway.  They just don't have the t-code COAC, and SARA.  In my opionion, it is overkill.  Plus in terms of users, I don't think they have skills enough if there is some errors during archiving (i.e., logical file error, etc.).
    Hope it helps.

  • Set Deletion flag to production order

    Dear Gurus,
    I have a set of production orders, which has been partially confirmed. I confirmed them fully from CO11. These orders are for our sample materials so that the cost is zero. but when i try to set the deletion flag it gives an error as
    Unprocessed future change recs for order 1004050SP prevent del. flag/completion
    Message no. CO688
    Please kindly guide to set the deletion flag for these orders or close.
    Br,
    PubuduS

    Hi,
    Please check the below thresd for similar error.
    Process Order Deletation Flag
    Regards,
    Chandra

  • Unable to activate deletion flag for production order

    Hi Experts,
    I have created production order with reference to sales order. Now status of production order is REL PRC CSER GMPS MACM RESA SETC.
    I have already done goods issue & Goods receipt for this order and reversed the same all GI & GR.
    Now balance on order is also zero.
    My query is that I trying to activate deletion flag for this order but I found option of Activate is disable.
    Pls help.
    Regards,
    Rajesh

    Hello
    Probably, this is an assembly order. The deletion flag cannot be set manually for static assembly orders.
    A production order is recognized by the system as an assembly order because of the internal system I0170 on table JEST. Whenever this status is set for the order, the deletion flag can't be removed from the order on transaction CO02.
    See question 8 of the FAQ note 540834:
    8.  Question:
        When are the deletion flags for assembly orders set?
        Answer:
        You cannot manually set the deletion flag for static assembly
        orders. Instead, the system automatically sets the deletion flag
        when the corresponding sales order item:
        o  is completed (only for static assembly orders),
        o  is canceled,
        o  or is deleted.
        The deletion flag for assembly orders with dynamic assembly is set
        automatically if the corresponding sales order item:
        o  is canceled,
        o  or is deleted.
        You can set the deletion flag manually using the archiving PP_ORDER
        and, as of Note 1628094, using the transaction for changing the
        order.
    BR
    Caetano

  • How to set deletion flag in Production order item level

    Hi Friends,
    I have a requirement like...
    Suppose production order conatians 100 items. now i want to set deletion flag for 20 items only.
    In Co02 t.code deletion check box is disable mode.
    There are nearly 100 production orders .i have to write the program....
    Is there any BAPI or other way to meet this requirement.
    Can you please help me..

    Also, You might want to have a look at the BAPIs like BAPI_PRODORD_SET_DELETION_FLAG which are used to set the deletion indicator but it appears to me the deletion flag can only be set at the header level using these BAPIs.
    Please have a look at SAP business object BUS2005 methods from transaction SW01 for more Production Order related BAPIs.
    One more thing ... since you mentioned that in CO02 the deletion indicator is greyed out, then it might mean you are missing the authorizations to set the deletion flag. Please consult with your Authorization (BASIS) administrator. As a hint, the authorization object here is C_AFKO_AWK.
    Cheers,
    Aditya

  • Removal of deletion indicator in Production order

    Hi,
    Can any one explain me how to remove the deletion indicator in production order.
    thanks and regards
    Murugesan

    As I know we have delition flag status and delition flag in the control data tab page.
    both are related, whenever you set the status as delition flag set, this indicator will come automatically, and visa versa. I am not sill clear which you are refering as delition indicator?
    Is it some thing different from what I am talking about?
    If so what is the significance of this indicator and why you are using this?
    Form dlition  inicator many of he fuctions can be blocked. Is there any function which can be blocked after delition indicator than delition flag indicator what I am refferring?

  • Impact deletion flag set process order

    If i have "Set deletion flag for old process order" after the same any impact in Finance or production side.
    Chintan

    Hi,
    You should set the deletion flag only for orders:
    which are delivered or technically completed
    for which variances have been calculated
    for which you do not anticipate any further follow-up costs
    If follow-up costs must be charged to the object, you can remove the deletion flag (DLFL).  Deletion indicators (DLT), however, cannot be withdrawn.
    As long as the accounting period is not yet closed, data (such as from results analysis) can still be transferred to Financial Accounting (FI). The FI period should be closed before you can set the deletion indicator (DLT), since no more costs can be settled to FI after that point.
    When the orders are deleted, the quantity information on the routing operations is also deleted.
    Regards,
    Antje

  • Set deletion flag on process order.

    Hi Friends,
    My requirement is i want to set deletion flag on process order.
    For this system gives error as
    1. System status CRCR is active (ORD 93000112)
    2. System status ORRQ is active (ORD 93000112)
    Here i have solve the problem number one through transaction code BS22 (i.e. under System status I0241 -CRCR , previously LKZS - Set deletion indicator & LVMS -Mark for deletion was maintain as Forbidd now i have made it under No influence )
    after saving this customization system give only error two ( System status ORRQ is active (ORD 93000112)
    Same way when i try to find ORRQ but here i havenu2019t found  ORRQ.
    Could you plz help me.
    Best Regards,
    Parag Save.

    Dear,
    The system sets this status when you release the order, provided that the Order record required indicator is set in the order type-dependent parameters (see Customizing for Process Order)....
    This setting is there in SPRO....
    Production Planning for Process Industries - Process Order-Master Data-Order-Define Order type Dependent parameters...
    In this you set the option Order record Required....
    Requirements are that the process orders are settled, associated PI sheets, inspection lots and any linked purchase orders are complete.
    Following are prerequisites for closing a process order
    1 The order must have the status Released (REL) or Technically completed (TECO)
    2 The order balance must be 0
    3 There can be no open purchase requisitions, purchase orders.
    4 There can be no future change records from confirmation processes.
    .Now Calculate Overheads using Tcode : KGI2 - Individual Processing
    CO43 - Collective Processing
    Step to be follow,
    1.Calculate WIP using Tcode : KKAX - Individual Processing
    KKAO - Collective Processing
    2.Calculate Variance by using Tcode : KKS2 - Individual Processing
    KKS1 - Collective Processing
    3.Finally do the settlement of Order in Tcode : KO88 - Individual Processing
    CO88 - Collective Processing
    Please refer this thread also,
    https://forums.sdn.sap.com/click.jspa?searchID=17422319&messageID=5934846
    The transaction COA5 (Archive Administration Preprocessing).
    This will allow you to set the deletion flag
    Hope this helps.
    Regards,
    R.Brahmankar

  • Can't delete or set delete flag on PP order

    I want to delete a PP order and it tells me that I cannot select selected assembly order xxxxxx for deletion. The status of the order is REL  MSPT PRT  PRC  RESA SETC.   The production order has no goods movements associated with it , yet I can not delete the line or set the deletion flag.

    John,
    I see RESA status meaning that previously WIP run has happenned and system would have posted WIP. I would suggest you to first set TECO status to the order, and then Run KKAX transaction then you need to run KO88 to settle the costs to sales order. Once this is done settle the sales order after making TECO status to the sale order item and then you can Reject the sale order Item. This would allow you to perform the Deletion Flag to the order(I think system will automatically set "DLFL" status to the order).
    Regards,
    Prasobh

  • SETTING DELETION FLAG FOR PRODUCT COST COLECTOR:

    Hi Gurus, could you please help me with this question:
    We need to turn off the repetitive mfg
    indicator active for a group of materials. this in order to replace product collectors to production
    orders.
    When I tryed to set the deletion flag for product cost colectors, SAP
    Shows this message :
    "THERE ARE STILL UNSETTLED VARIANCES FOR ORD 710040".
    Cheking Note "421710 - Check report whether "Deletion flag" status can
    be set" I found the program COPC_COSTOBJ_REORGCHECK , this program
    shows that I have Unsettled variances since 2004...
    The order have a settlement rule PER, So I can't settle 2004
    variances.. checking the note 421710, I Found that other way is to turn
    off the field indicator "variance to costing-base PA" in OK07.
    Must I turn off the field "variance to costing-base PA" temporaly, in order to close de cost colectors ?
    there are another program or report that I can use in order to settle the old variances?
    Message was edited by:
            Andres Moreno

    REWARDED POINTS AVAILABLE  !!!!!!

  • Change in Sales order deleted all process production order

    Dear All,
    We have Make to order scenario for our export sales. When we have receive order we make production with reference of sales order with help of t-code MD50 then convert plan order into production order.
    IF sales department do changes in sales order it'll delete all processing production orders So, we have to do revoke all production orders manually.
    2 query is that, Is there any way to run MRP (Make-to-order) on all line items of sales order ?
    Please provide solution.
    Thanks,
    Farrukh khan

    Dear Farrukh,
    There is not tcode to run sales order for all line items, but if you run MD02 it will plan all sales order & line items also. You can run MD02.
    Regards
    Abhijit Gautam

  • Prerequisites required to set Deletion Flag for an Order

    Hi Experts,
    I need to know what are all the Prerequisites required to set Deletion flag for an Order.
    i.e. can i set deletion flag for any existing order?
    Kavin

    Hi Kevin,
    System will allow you to set deletion flag if,
    - No Goods Movement is carried out.
    - No Confirmation has has been carried out.
    - Conclusion of point 1 and 2 is order should not carry any cost.
    - If In process Inspection is active then Result Recording should be not started.
    - In case of Process Order CRCR (Control Recipe Created) status is not allowed.
    Regards,
    Dhaval

  • Open TRs not getting deleted after TECO production order

    Hi,
    We're having an issue.  We're using WMPP interface to supply the production line for the production orders.  The auto TRs are generated when the production orders are released. 
    After TECO the production orders, the open TRs are not getting deleted automatically.
    Could anyone know if these TRs get deleted automatically when we do the TECO production order?
    If yes, do we have any restriction or condition based on this, the TRs get deleted?
    Please explain.
    Thank you.
    with regards,
    Muthu.

    Hi Abhijit,
    Thank you for your reply.  It does not help me.
    The auto TR creation is happening now as required.  No issue on this.
    When you do the TECO, it also cancels the TRs.  I tested this also. 
    There're some scenario this open TRs cancellation is not happening.  I do not know when these open TRs are not cancelled.  If you know answer for this, please let me know.
    Thank you for your help and time.
    with regards,
    Muthu.

  • Deletion flag on process orders - HELP!!

    In order to speed up the CO Closing (WIP, variances, settlement) we want to activate the deletion flag on all the old process orders with the COAC transaction but it says that the ORRQ status is active.
    In order to remove this status we mark in the COR4 the "No process data documentation required"  for every plant and order type.
    We run the transaction COPA to archive the corresponding logs for the corresponding orders but when we mark all the orders that we want to archive the system says " Total Process orders archived: 0"
    How can we mark the deletion flag on all these orders???
    PLease we need to reduce the time of some process urgently.
    Message was edited by: Corrections
            Eugenia Zuniga Perezbolde

    Hi,
    We are facing the same problems here. We tried to complete the inspection lot, but this has no effect on status ORRQ.
    The transaction COPA is not working on it...
    Regards,
    Pérsio

Maybe you are looking for