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.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • 'Set' Deletion Flag is Disable

    Hi All,
    Would like to ask how can enable this 'Set' Deletion Flag 'Button' to enable back. After upgrade to ECC5 to ECC6, this button have become grey out.
    Thank you.

    Hi Jogeswara,
    Actually why user do the set deletion flag due to created warranty order is cancelled without any (operation confirmation-IW4X) and (component consumption-MIGO/MBXX). So the current practice will allow Technical Complete to set deletion flag.
    However current practice only do the business complete by monthly using CO99.
    Mind to share more information here
    Thank in advance on knowledge sharing.
    Trevor Wong.

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

  • 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

  • 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

  • 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

Maybe you are looking for

  • [Solved] Can't get external monitor to display correct resolution

    I have a laptop with 1280x800 resolution, I hooked up a spare monitor we had sitting around that has a native resolution of 1280x1024 to my laptop. When I hook it up the external monitor displays a resolution of 1024x768. I use KDE 4.5, so I tried to

  • Bash script to insert item in a alphabetical list

    I would like to use a bash script to insert a new "source" file into a list of sources which occurs within another file. The file in question is quite long and contains many other things. However the list of sources abides by the format below. [snip]

  • Read receipt in snow leopard mail...

    I am relatively new to mac and mail.  can anyone please help me with delivery receipts and read receipts like one can get from those awful windows applications?

  • Make Sure Only Black Ink is Used?

    Hello folks, first time posting here so bear with me. Just bought a Laserjet Pro 400 M451nw and am using it on a Mac with Yosemite (even though the driver I installed said it was for Mavericks, it installed ok and is up and running though), my questi

  • BT Yahoo email

    Hi - I've just switched back to BT (waiting for the new router to arrive today). Whenever I browse to BT Yahoo to check my emails I get a server error message. Any ideas?? Thanks.