Set deletion flag in the maintenance order

Hi all,
Am not able to set the deletion flag from the maintenance order, the :set: button is not active. can anyone help me in this regards?
Or is there any tcode for setting deletion flag to maintenance orders?
Thanks
Anish

hi
i think it is probably authorization issue ie you don't have the authorization to put the deletion flag
or check whether you have technically completed the order ,if not try to TECO and then try
regards
thyagarajan

Similar Messages

  • 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 Deletion Flag for the Preventive Maintenance Order

    Hi,
    I need to set the Deletion flag for the Service Order. Deletion flag available in the screen disabled. Please suggest.
    also I need know under which I shall be able to set such deletions.
    Thank you,
    Vijaya

    Hi Vijaya,
    Pls refer the help.sap.com related to deletion flag for PM/CS Orders. Some of the check criteria mentioned below for your reference.
    Before a deletion flag is set, the following requirements must be met:
    u2022 Any manually added purchase requisitions or purchase orders for the order must be deleted first.
    The balance of the actual costs for the order must be zero. This means that the deletion flag can only be activated if the order has already been settled, or if no actual costs were incurred for the order.
    u2022 Commitments relating to the order must be deleted.
    u2022 Unprocessed and incorrect goods movements must be processed.
    When the deletion flag is activated, all remaining capacity requirements are deleted. A deletion indicator is also set in any open material reservations.
    An order that has been flagged for deletion cannot be changed. However, you can cancel the deletion flag.
    Thanks
    Siva
    Edited by: sivakumar kasi on Sep 3, 2009 12:09 PM
    Pls set the Order as Techically completed (TECO) and check the deletion flag set.
    Thanks
    Siva

  • BAPI to Set Deletion Flag for CO Production Orders

    Hi All,
    Iu2019ve a requirement to Set the deletion flag of a Production Order [Order Category u2013 4 (CO Production Order)].
    For this I tried BAPI u2018BAPI_PRODORD_SET_DELETION_FLAGu2019 but unfortunately it works only for Order Category u2013 10 (PP Production Order). Also all other standard transactions and programs work only for Order Category u2013 10 (PP Production Order).
    Is there any other BAPI which could work for Order Category -4 ? I want to keep BDC as the last option.
    Any help in this regard would be great.
    Thanks!
    Sushil.

    It also works only for Order Category u2013 10 (PP Production Order).

  • How to delete or activate the deletion flag for the sales order line item

    Hi All,
    I  have one Cust order & with referance to that cust order one production order is created . The production order user has done the Goods issue with 261 movement type  & GR wi 101 before 4 months back , & he has reverse  the GR  with 102 on todays date . but in materila master the  variable prize is maintain thats why it is showing  a differance in the cost .
    User want to delete the Production order as well as the custemer order From MDO4 , So we have make the Production order TECO & save , it is gone form the MD04 but the Custumer order still there . It is not allow us to cancell or reject . We have tried to maintain the reason for rejection but it showing the message that you can not activate the deletion flag for the order .
    Could you please Help me to find out the way how can i delete the custemer order ?
    Thanks In advance
    Regards
    Piyush

    W ehave Settele that order & then activate the deletion flag for the order & then cancel the sales order.

  • 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

  • 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 as default value the Item Category in the Maintenance Order

    Hello everyone,
    We are trying to find a user exit in order to set as default value the item category in the Maintenance Order once the Material has been introduced (Tag Components).
    SAP Customizing let the user set the Item Category automatically per Material Type, but we need to set different Item Categories to materials belonging to the same material type.
    We would really appreciate any help relating this issue.
    Thank you very much,
    Víctor Liedo

    Dear Paul,
    Thank you very much for your response.
    I had already tried customizing mentioned by Pithan, but it did not work because we need to set different Item Categories for Materials with same Material Type.
    We have been searching for exits which may let us set Item Category in the Maintenance Order, but it does not seem to be possible.
    What you say about adding some custom validation through user exit, not to set item category as default value, but to check if the one entered is valid, sounds the best way of achieving our commitments.
    I have tried to look for CNEX0037 & CNEX0038, by using transactions SE37 and SE38, search for programs and functions modules, but it did not work. Could you please tell us what kind of objects are?
    Thank you very much in advance.
    Víctor Liedo

  • Follow up action to set delete flag after UD (QS41, QS51)

    Hi all,
    If user give UD as 'not good' for Equipment (eg Vernier Caliper) then he has to set delete flag for maintenance plan no and Equipment no through IP02 and IE02 respectively
    now he want that, above delete flag should set automatically after giving UD so particular maintenance plan or equipment should not release in future.
    I got one follow up action 'QM_PM' in transaction QS51 due to this after giving UD for Inspection lot, plan get technically complete (TECHO)
    so how to make changes so i'll achieve above functionality
    plz tell me about catalog, follow up action, QS41
    thanks....

    Hi all,
    i got one solution on which i am working
    Steps:
    1.The solution is to use the User Exit namely QEVA0010 and use the logic as mentioned below.
    2. Test and use the above mentioned user exit.
    3. The first condition should be checked for Inspection Type - 14 and for UD code NG.
    4.Logic to be used To set the deletion flag for the Equipment.
       Go to Table QAPP - Pass inspection lot Number and get the Equipment no.
       Go to Table EQUI - Pass Equipment no and get OBJNR  
    Go to Table JEST - Pass the Objnr - The value for deletion flag status is active is I0076 and the value for deletion  flag inactive is I0320.
       In order to set the deletion Flag,use help of FM - STATUS_CHANGE_INTERN to code.
    5.Logic to be used To set the deletion flag for the Maintenance Plan.
    Go to Table QALS - Pass inspection lot no and get the order no.
    Go to Table AFIH - Pass order no - Get maintenance Plan.
    Go to Table MPLA - Pass the maintenance plan and get the Objnr no.
    JEST - Pass the Objnr - The value for deletion flag status is active is I0076 and the value for deletion flag inactive is I0320.
      In order to set the deletion Flag,use help of FM - STATUS_CHANGE_INTERN to code.

  • Archiving/Deletion flag settings of   prod   orders co78

    I am trying to set deletion flag for the orders but few of the orders couldn't be set due to the following error message
    1.Order "XXXXXXXXX": Purchase order "XXXXXXXXXX" still exists
    2.Unprocessed future change recs for order "XXXXXXXXX" prevent del. flag/completion
    3.Order "XXXXXXXXX" is already being processed by MP-BATCH
    4.Balance of ORD "XXXXXXXXX" is not zero
    how should i approach to deal with this issues?
    Thanks in Advance

    Hi,
    Still your query is not answered yet, let me try.
    1) There is still open purchase order against the production order. This open purchase order has to be deleted. Select the item and press the delete the button in the purchase order.
    2) The system suggest that there are still some unprocessed records in PP. As per the present PP settings, system allows for errors in confirmations and it should be post processed. But this post process has not been taken up. Hence, we need to post process the records.
    3) The system says that this production order is being processed at that point of time. This mesage shall be there after that. If possible, the particular user shall be requested to come out of that session.
    4) The system says that still the order is not settled and the values are still remaining in the production order. You need to run variance calculation and then settlement.
    You can prioritise the above tasks as 1, 2 and 4. The 4th task shall be final. After completing these tasks, you can assign deletion flag to the production order.
    I hope that I have answered your query. If not, let me know.
    Cheers and Thanks.

  • HOW TO SET DELETION FLAG TO SERVICE ENTRY SHEET ?

    Dear Experts,
    Can anybody explain how to set deletion flag to Service entry sheet created ?
    Service Entry sheet has been accepted and saved, i want to set deletion flag to the Service Entry sheet.
    Thanks in Advance

    Hi,
    Go to ML85 and give your service entry sheet no in Entry sheet data and select "cancel release" check box and give the corresponding release code and execute and save. The release gets cancelled.
    The other way is go to ML81N and give your Po and service entry sheet and click on the icon "cancel release" (reverse arrow mark) give the corresponding release code for cancellation and save. Now the service entry sheet will go to "No acceptance" mode. again go to the change mode and select the line item and delete it by clicking on delete icon.
    regards,
    Kannaiah Naidu

  • WBS Series break up after setting deletion flag

    Hi Experts,
    I was having WBS levels at 1 and 2. I have set the deletion flag at one of my level 2 WBS. Now, the WBS has disappeared. Now, when I am creating new WBS it is skipping the series like for an example:-
    I was having WBS
    WBS     A
    WBS     A.1
    WBS     A.2 - Deletion Flag set
    Now, I am creating new WBS, I think system should allow me to create WBS with A.2 but it is giving number A.3
    I want to know is this is standard behavior or is there any other alternative so that I could use the same A.2 number for new WBS
    Please suggest.
    Thanks,
    Y.Kanitkar

    Hello,
    This is a standard behavior. As for setting deletion flag on the WBS element, it is not physically deleted. If you set the following indicator, you can find the deleted objects in the project structure again.
    Then, there is some more information about naming the WBS element with a used number. If you have already physically deleted this WBS element but there is message CJ026 when you try to name the WBS element with a used number, you can check in table VSPRPS_CN. If there is data in this table, you still cannot use this number again. You can refer to note 529634 for more details.
    Best regards,
    Kim

  • Purch Req get deleted once the maintenance order is TECO'ed

    Guys,
    Purchase requistion is automatically get deleted once I do the TECO, I think there should be a config to restrict this. Could anyopne knwo what I need to do for this. Thanks.

    Hi Praveen ,
    TECO is assigned to work which is Technically completed (Physical work  completed ).
    When Maintenance work required for the Order is completed , it means that excess material and services planned are no longer required.
    Hence Purchase requisition is automatically get deleted once you do the TECO .
    Any purchase requisitions that have not been converted into purchase orders are deleted . This is standard functionality.
    Though system allows you to do the following
    a)Locked or Unlocked
    b)Set deletion flag
    c) you can still post some cost like invoice receipt for material delivered or consumed
    User Exits will surely help you in this Scenario ,  Your ABAP team will be able to help you here  .
    Regards
    Arif

  • How to check, when the Maintenance Order was deleted

    Hello Experts,
                          Can you please tell me of how to check for the maintenance order that when it was deleted and who has deleted that.
    If any T-Code is there or at the Table level also to check the requirement.
    Regards,
    Yawar Khan

    If you want to track when you have put deletion flag, you can track it using above mentioned techniques.
    If you archived (deleted) permanently, then using archival history only, you can check I guess.
    Check these links. While deleting maintenance order, we can hisorical order with same number. Using that creation date, you can track.
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e6552462a11d189000000e8323d3a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e4d2f462a11d189000000e8323d3a/frameset.htm

  • 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

Maybe you are looking for