Set deletion flag

Hi gurus,
I have a set of orders which needs to set the deletion flag. But they have issues so that it gives an error. they are very old set of orders. When we run the WIP run it goes through these orders. is there way we can set the deletion flag to these order. Please update us its a very urgent requirement.
Br,
PubuduS.

Hi,
That can not b the case..
Try to set the CLSD/DLFL manually and check the error message, if the error message is same then there must be some entries in these transcaction codes..
Regards,
Siva
One more additionl point:
If there is any associated Purchase Orders are there with reference to the Production Orders (In case of External Processing Operation), until the Pur.Orders is not taken care properly, you will get this Message.
Next Steps:
Execute the Program : PPARCHP1, in the test mode, try to set deletion flag, you will come to know the reasons for...
Regards,
Siva
Edited by: Siva Kumar M on Jan 12, 2012 7:52 AM

Similar Messages

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

  • 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

  • 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 is the BAPI for setting "deletion flag" in IW32?

    What is the BAPI for setting "deletion flag" in IW32? Thanks!

    Hello
    There seems to be no BAPI to set deletion flag for MO.
    Quick Approach:
    You can copy an existing BAPI module BAPI_ISUSMORDER_SETSTATUSTECHN, for example, to Y_BAPI_MORDER_SETSTATUSDEL, and then edit this copy
    change the code in the existing lines for screen 3000
    PERFORM BDC_DYNPRO USING 'SAPLCOIH'      '3000'.
    PERFORM BDC_FIELD  USING 'BDC_OKCODE'    'LVMS'. (Instead of current 'ARCH')
    It should hopefully work.
    fyi: The orders can be set with Del flag only when they are in CLSD status
    Rgds
    Kartik

  • 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

  • Order status ORRQ is active error when setting deletion flag

    Hi all.
    We couldn't able to set deletion flag in production order by the following error message
    System status ORRQ is active (ORD 1008458)
    This was caused due to order record required.So we tried to store thro T-code:COPA.But when accessing, No orders were found.
    Please guide to correct the error.
    Thanks
    Bhuvan

    Hi Bhuvan,
    Refer the below discussion and do accordingly.
    ORRQ  Status Process Order | SCN
    Thanks & Regards,
    Ramagiri

  • Set deletion flag in SLFN transaction type

    Hi,
    I need to configure in SLFN transaction type the user status to define the setting of the request for deletion (set deletion flag).
    I appreciate the help provided in advance.
    Best regards,
    Mayra Cobo.

    Hi Mayra Cobo,
    This note may help you.
    Note 566225 - Report to delete the basis notifications with deletion flag
    Also refer:
    Re: Solution Manager_Support desk message archive
    How to mark a support messge for deletion
    Regards,
    Sanjai

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

  • 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

  • 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

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

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

  • Setting Deletion flag or locking Workcenter.

    hi,
    i would like to know what difference it makes in locking the workcenter and setting deletion flag?
    which one is a more prefffered method?
    i have set lock for a workcenter.
    after which i tried to use the same in routing, system displayed only an infomation message "workenter is locked".
    it allowed me to go ahead and add the workcenter and save the routing.
    Is there any way for system to prompt an error message, when a workcenter with lock is selected in a routing /production order /during confirmations?
    thanks in advance
    regards
    lyroj

    Hi George,
    Locking a workcenter is preventing the workcenter to be used for production.
    You can assign it to the routing here in this case it will show a warning. If you have any scenario wherein you don't want any production to happen in the workcenter then you can directly go to the change mode CR02 and set the lock at the workcenter, so this workcenter assigned to the routings will be affected with this change.
    Setting deletion flag is related to the process wherein you don't want the workcenter anymore and you want to delete the workcenter from the system. So during the next organization run this workcenter with deletion flag will be picked for consideration to  be deleted from the system and it will be deleted, if it does not have any dependency. Let's say if it is attached to a routing which is attached to a production order which still is under production then this workcenter won't be deleted.
    I hope this helps you in differentiating both the process. Please let me know if you have any further queries.
    Regards,
    Abhijeet Guha

Maybe you are looking for

  • I need to combine a few thousand multi line txt files into individual lines in a master file.

    I need to combine lots of text files into one file-but each file is 6 or 7 lines long, and I need to remove the line breaks so each file is an individual line in the output. I feel like I should be able to do this with CAT, but can't figure out how. 

  • Configuration: Which Movement Types Involve Excise Invoices

    Hi, Please suggest what movement types are required to be entered in this IMG activity and against which register? Is this settings required for only capturing incoming excise invoices from outside vendors and STO’s? regards

  • J2EE Engine Restarts Automatically

    Hi all, We have a clustered environment with 2 J2EE dispatchers and 2 server nodes per J2EE dispatchers. Whenever a server node has a problem with the Messaging Service all the J2EE server nodes restart. The following is part of the std_server log th

  • HP Laserjet pro mfp M476nw

    Memory low message when I print and then it doesn't print. The only time it prints is when I type one one and print that, otherwise nothing happens. Please advise a solution. Thank you. Is the memory chip defective? It was working fine yesterday.

  • NI Vision: Color Spectrum

    Hallo, I have a more or less tricky question to the community. As a part of my PHD-Thesis, I have to measure the residence time of particles in a machine . I want to use UV-fluorescent plastic granulate as tracer. In a first step I want to do a simpl