Set Deletion Flag for Process Order is not possible due to status ORRQ

Hi Guys,
I need to mark some process orders for deletion, but the status ORRQ (order record required) is blocking me. I've read some SAP Documentations and SAP Notes and it's recommending run tcode COPA to store the order records. A
Although the Process Order is appearing there to be stored, we I execute store process it gives me a message that "Zero Orders were stored".
So, can you help me on this?
Thanks.
Pérsio Kojima

Hi Pérsio,
Check In Customizing whether the order type has been set up for storing in T code COR4 (order type-dependent parameters, Master data tab page, Order record required indicator).
IF the option is selected, the system will not delete the record directly. The order record must be archieved and then deleted.
based on this either you can de activate the option or archive before deletion.
Hope this answers your question.
regards,
Pradeep.

Similar Messages

  • 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

  • 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

  • What are the Pre-requisite to set Deletion Flag for Maintenance Order ?

    Hi Gurus,
                  Pls give me what are the pre- requisite to set the deletion flag.
                  I want to set deletion flag to some Maintenance Orders which are with notification, but deletion flag - SET,RESET Indiacaors are inactive.    
                  Following are my observations-
                  1) Order is not yet released.
                  2) No actual Cost is with the order.
                  3) No PR and POs are with the Order.
    Pls guide me.
    With best regards,
    narendra

    hi
    you can put the deletion flag only when the order has the status CLSD or the balance of the order must be Zero
    you can refer the following link
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e65a0462a11d189000000e8323d3a/content.htm
    regards
    thyagarajan

  • Set deletion flag for service orders

    Hi
    How do I mass update service orders and notifications to set the deletion flag.
    I tried with IW72 but no luck Please help.
    Thanks
    Kumar

    Hi,
    You can use batch recording to assign DLFL status to work orders,
    This is the program code
                          0000     T     IW32                                                                               
    SAPLCOIH              0101     X                                                                               
    0000           BDC_CURSOR                                                                                CAUFVD-AUFNR
                          0000           BDC_OKCODE                                                                                /00
                          0000           CAUFVD-AUFNR                                                                                4000488
    SAPLCOIH              3000     X                                                                               
    0000           BDC_OKCODE                                                                                =LVMS
                          0000           BDC_CURSOR                                                                                CAUFVD-AUART
    SAPLCOIH              3000     X                                                                               
    0000           BDC_OKCODE                                                                                =BU

  • 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

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

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

  • Cannot set deletion flag for order

    Dear Experts,
    I am trying to set deletion flag for order XXXX,
    i am getting Error Massage " You cannot set deletion flag for order XXX (see log) Message no. CO432"
    my order status is REL  CNF  DLV  PRC  GMPS MACM OPGN SETC
    How can i set deletion flag for order.....
    Please give your suggestion.
    Thanks for support.......

    Dear,
    Order status is REL CNF DLV PRC GMPS MACM OPGN SETC
    And, I have checked log u201CThere are no entries in the deletion flag logu201D
    There no balance- I have not done any confirmation (Total Qty 1000 EA, Delivered Qty 0 EA)
    You have done confirmation and delivery has happened thats why the status shows "CNF & DLV" You need to complete your settlement.
    Check and revert back.
    Regards,
    Alok Tiwari

  • Set deletion flag for Order before releasing the order

    Hi all,
    can we set the Deletion Flag for an order before release of that order.
    Regards,
    Bhanu.

    Hi,
    You can lock and unlock order without releasing.
    In case of Un execute we can not release order further.
    Path:
    ORDER-FUNCTION-LOCK
    order-function-unlock
    Regards,
    Sudhakar

  • SET DELETION FLAG FOR ORDER

    Dear friends,
    once maintenance order has been released,I am unable to put deletation flag for that order.
    is there any option to put deletion flag after releasing maint order other than locking
    your response is highly appriciated.
    Regards,
    K.Sunil

    Hi Sunil,
                It can allow you to delet, might be an Authorization Issue
    for your Maintenence Order Creation Role, Just check for the Object:  I_VORG_ORD
    Field: BETRVORG
    Field Value: LVMS  Mark for deletion
                        LVMZ  Remove deletion flag
    Hope it helps you.
    Regards,
    Yawar Khan

  • 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

  • Standard/Custom program to set deletion flag for Purchase Requistions

    Hi all,
    If any of you know the Standard/Custom program to set deletion flag for purchase requistions, please let me know. It would be of great help.
    Thanks in advance,
    Karthik

    Hello
    Bapi BAPI_REQUISITION_DELETE will help you.

Maybe you are looking for