Technical completion of orders

Hello Team,
I have a requirement wherein, I want the following two restrictions in the maintenance orders:
The system should not allow TECO of the maintenance orders, if the WCM related objects are not in CLSD (Closed) and EUG (Untagged) status.
The system should allow the user to TECO the maintenance orders within 48 hours of the WOCO status; thereafter the user should not be allowed to TECO. After 48 hours the user's manager should be able to TECO the order.
Please help me to understand how to achieve this requirement.
Background: Some of the users are setting the order status to TECO even if the equipment is tagged and the system is allowing them to do so. Also some orders remain open without being set to TECO for a long time, this has to be avoided. Running a batch job to set the order to TECO status is not a feasible option for the client.
Thanks,
Beryl

Greetings Beryl,
Generally, Technical Completion is not a core part of the WCM process; but you could follow Rakesh's suggestion anyway and use the User Exit mentiones.
Other thing to consider in your process is that WOCO is a prerequisite for TECO; When are you setting WOCO? Consider if there are any checks you could be making at that point; See if you need to implement enhancement spot ES_WCM_BADI, BADI_WCM_ORDER and method IF_EX_BADI_WCM_ORDER~STATUS_WOCO_CHECK
Do you consider the "Work Completed" when the crew leaves the workplce, or when the WCA is Closed, or when the untagging is done (WCD is Closed)?
As for your other requirement, you will probably need to develop some check (on table JCDS and the status WOCO (I0426 in the table) and a z-table with the User IDs of the users allowed to TECO past the 48 hour period. You will need the same User Exit IWO10004 Rakesh Mane mentioned.

Similar Messages

  • Technically completed production order

    Hi Friends,
    I am facing one problem in production order. In CO01 i am creating production order and when i try to change the production order in CO02 it is giving error '"Change" is not allowed (ORD .........) .  Some times this problem is coming and sometimes this problem is not coming. If i check in debugging i found that the problem is coming becuase of status TECHO, if that status is active then this error is coming. But i do not understand why this problem is coming only for some times. I am creating production order with same details but the problem is coming some times only.  Any help will be highly appreciatedd.
    Thanks a lot in advance.

    Hi,
    This TECO status is set through CO02 transaction itself.
    Goto CO02 if order is already teco, it will show u the msg.press ok button.
    after that goto Functions->Restrict Processing->Revoke technical completion.
    This way u can undo teco.
    May be your user is setting this status as part of his regular exercise.
    Regards,
    Sunny

  • Process Order technical completion

    Hi
    whensoever i m trying to technically complete the order, i m getting the Error message no. BS007 i.e. ""Change" is not allowed".
    The current status of object 'ORD XXXXXX' prohibits business transaction 'Change'
    Current status are as follows :
    REL  CNF  DLV  PRC  CRFI EXPL EXTS GMPS MANC NTUP PIGN SETC
    No status profile is assigned to order.
    i have checked in BS22. All the status contains technically completion permission.
    Kindly Guide.
    Regards
    Sachin Ahuja

    Dear
    Just a re-check
    Did you check the User status in COR2 ? Here there will be a Blue I- symbol (Status) as like Production Order -C002 .Select that I symbol and Choose TECO status or REL status , then set TECO from Function -Resstrict Processing and SAVE.
    I think it should work based on the User staus which is allowed .
    Regards
    JH

  • Technical Completion  Related Issues

    Dear All,
    As per SDN Library, if by mistake you have done the Technical completion of the order, and after that you want to do the goods issue..........it is possible.........but i m trying on this.........it is not happening......
    can anybody help me on this...........
    Thanks

    hi vinay,
    as per system status if the order is technically completed you cannot able to issue the material against the maintennace order, whereas you try to post through confirmation.
    example
    create an order and assign a material and technically complete the order
    go to T code iw41 enter the order no , in the parameter select all materials allowed, confirm the activites,then press the goods movement tab page and save
    here it will show that the confirmationa and goods movement were posted
    hence the post goods issue in system status TECO will allow goods movement while confirmation, whereas while doing MB1A it will forbid.
    so may be it is internally programmed to allow the goods movement in confirmation whereas it will not allow during goods issue to the order
    regards
    thyagarajan

  • Technically an Process order

    hi Friends,
    i want to technically complete an order but i cannot proceed because of the status CRCR.what can i do to cancel this?thank you so much...

    Allan,
    You need to manually trigger a Process message to the order, to have the status CRFI - Control recipe finished.
    Transaction CO57, to trigger manually a process message with message Category PI_CRST for the process order and Control reciepe combination.
    Use Transaction CO54 to send the Message to the process order.
    Regards,
    Prasobh

  • PP - PI Process order - Technical complete problem

    Hi Gurus,
    I have created process order and generate Cont.recepie. Then I tecnical complete my PI sheet after report data. when i set technical complete in my process order. system says "It cannot be technical completed because status "CRCR" Contrl recepie created". How i can set status technical complete to my proc.order.
    kindly help
    Majid

    Hi,
    Inorder to TECO or close your order first you have to close the Control Recipe. To do so follow the steps:
    1. TCode: CO57
         Proc.Message Cat: PI_CRST (Message on control recipe status)
         Process Order Number
         Control Recipe Number
         Control Recipe Status: 00005 or 00004 or 00007
         After these entries save the Process Message.
    2. TCode C054
        Here send the Process message that was created in the above step.
    If the message is successful, the status in the order changes from CRCR to either CRAB (if control recipe discarded), CRFI.
    Then you can close your order.
    Regards
    Vinod

  • Read orders which are not technical complete in custom report

    Hi,
    what do you recommend to read all orders which are not from status "technical complete" in a custom report. Is there a function module to acchieve this with good performance or what do you recommend?
    Thanks a lot.
    Kind regards
    Manfred.

    Hi Manfred,
    Since you asked about a function module for use in a custom report, it is likely that you are not looking to use a standard transaction to display the orders.
    The phase of a maintenance order can be found from the field AFIH-IPHAS, where the phases are:
    0     Outstanding
    1     Postponed (currently not used)
    2     Released
    3     Technically completed
    4     Manual deletion indicator set
    5     Historical order
    6     Completed for business (from 4.6)
    So to find non-technical complete - you would select where iphas not equal to 3. If you need to make this selection RFC capable, then you can wrap it in a RFC capable function module
    Regards
    Andrew

  • [SAP WM] Cancel Transfer Order after Technical complete of prodution order

    Hi gurus,
    i have this problem.
    In my SAP WM implementation, i have customizing the PP-WM interface to create automatically the TO from central warehouse to Production supply aera after releasing of production order. The steps are:
    - Release production order
    - Creation of TR  - automatically
    - Ceration of TO to be confirmed (red light) from central warehouse (001) to production supply area (100) - automatically
    Now i would that after technical complete of production order, automatically the TO to be confirmed is cancelled. There is a way to do it?
    thanks and regards.

    Allesio
    I am confused as to why you would want to CANCEL the TO. Surely if the order is complete (technically or otherwise) then the stock has been moved from its source to the order and therefore you would want to CONFIRM it and not CANCEL it.
    As I said if the TO is to take 100 of material A from bin 1111111111 to prod order 9999999999 and you cancel the TO the stock will stay in 1111111111 when in fact it has gone to 9999999999 .
    If your order is to say create 100 pieces of Z and to do this you need 100 pieces of A then you want to CONSUME 100 pieces of A  and GR 100 pieces of Z.
    If you cancel the TO the consumption will fail as the stock is not in 9999999999 but has gone back to 1111111111.
    The other problem is that you will be showing 100 pieces of A in bin 1111111111 which is NOT THERE as the order has used it.
    I hope that this helps
    Frenchy.

  • BDC recording not executing last OK code for order technical completion

    Hello!
    Regarding a QM requirement, I have created a rather simple BDC recording to change the activity type of an order to new ones (based on particular conditions not relevant here) on transaction IW32.
    However, if the order is technically complete, I have to cancel the technical completion, change the activity type, and then complete the order technically again (so it remains just the way it was before modification).
    The only order types relevant in the requirement are YM01 and YM02. For YM01, the BDC recording works like a charm. But when executing the proper recording for type YM02, the last OK code (i.e. pressing the OK button on the Complete subscreen) is ignored and the process remains incomplete: the orders are never completed technically again.
    Here is the recording:
    0     T     IW32     BS AA X   F
    SAPLCOIH                       101     X                                                                               
    0           BDC_OKCODE     /00
                                            0           CAUFVD-AUFNR     80000005
    SAPLCOIH                       3000     X                                                                               
    0           BDC_OKCODE      =WIAR
    SAPLCOIH                       3000     X                                                                               
    0           BDC_OKCODE     /00
                                            0           CAUFVD-ILART     206
    SAPLCOIH                       3000     X                                                                               
    0           BDC_OKCODE      =ARCH
    SAPLIWO1                           200             X                                                                               
    0           BDC_OKCODE      =WTER
                                            0           RIWO1-CLNOT     X
    Any help would greatly appreciated!
    Best regards,
    André Santos

    Leandro, thanks for the answer!
    The BDC recording does not work when executed visibly or step by step. After some extensive debugging, I realized that the final screen (the technical complete confirmation screen) is not an actual subscreen, even though it has its own number. That screen is actually generated by an FM, so apparently that's why it's ignored when the BDC is executed.
    I found a BAPI to replace that missing step: BAPI_ALM_ORDER_MAINTAIN. However, I'm having a hard time figuring out how to reference the orders I need it to complete. The FM asks for an IT_METHODS table and I couldn't tie the method to the orders:
    it_methods-refnumber = ???
    it_methods-objecttype = 'HEADER'. "That's what I found on the example, not sure whether this is right or not.
    it_methods-method = 'TECHNICALCOMPLETE'.
    it_methods-objectkey = ??? "Maybe the order number itself?
    APPEND it_methods.
    Has anyone used this BAPI before?
    Edited by: André Felipe Oliveira dos Santos on Oct 20, 2010 2:18 PM

  • Function Module for TECO(technically complete) a maintenance work order

    Hi,
    Please let me know if there is any FM for TECO(technically complete) a maintenance work order.
    Regards,
    Vimal

    Is there any BAPI for the same as the FM STATUS_CHANGE_INTERN is doing TECO without considering other statuses which need to be done.
    I do technically complete in IW32 by going to ORDER-FUNCTIONS-Complete-Complete(Technically ). Once done Complete(Technically ) will be inactive and Cancel technical Completion will become active. But when i use this FM it does the teco but when i go to ORDER-FUNCTIONS-Complete-Complete(Technically ) it gives me following status information--System Status TECO is active. Also Complete(Technically ) remains active.
    Please help.
    Regards,
    Vimal
    Edited by: Vimal  kumar on Sep 16, 2008 11:10 AM

  • Cancel Technical Completion of a TECO'd service order through program

    Hi All,
    In IW32 transaction for a service order I need to Cancel the Technical Completion.Menu path is
    Order>Functions>Complete-->Cancel Technical Completion. How can I do this through program.I tried the FM status_change_intern. But its not working. Any one please give a solution.
    Thanks,
    Neethu.

    Hi,
    Try with a BDC to cancel it.
    Regards
    Sabu.

  • Technical completion of Maintenance Order Dates or Reference Dates Settting

    Hi,
    My client has two requirements
    1- In standard, system allows us to take technical completion on previous date, how should I restrict / stop this completion in past? Could I set technical completion possible after atleast 1 month?
    2- Can I stop technical completion before goods movement or set error message while technical completion before goods movements?
    Regards,
    Edited by: PROCESSES EXPERT on Aug 31, 2010 11:01 AM

    For both of the above requirement you can use the user exit IWO10004 Maintenance order: Customer check for order completion
    You have develop a logic on what basis you have to reject the TECO of the order, please consult your ABAPer and discuss with him for more clarification on this.
    Praveen

  • Check Notification Fields at technically completion of the Order

    Hi All,
    i want to check at the technically completion of the PM-Order, if a field in the notification is filled out (for example the cause). If this field empty, the user should not be able to finish the order. Now i tried to use the exit QQMA0014, but he dont run at the completion. In the Exit "Customer Check for order completion" i cant get the notification-fields. I also cant set the field in the notification as a required field.
    Any idea?
    Thanks a lot for any help!

    Thank you for your support, but its not very user-friendly.
    In normal case the user jump into the order and will complete it. After push the button "complete" a small window comes up.
    In best case the user should insert the cause in this window, but i couldnt find a way to check this field in this window. If i use your idea, the user have to insert the cause before using the complete-button. After this he have to save the order at first and he must jump into the order a second time to complete it.
    I hope i explain it clearly. Any possibility to check the cause in the second small window and not before?

  • Technical completion of Plant Maintenance Order

    When we are trying to do a Technical Completion of a PM order we are getting the error as Error in commitment check (see costing log) with Message no. IW079.
    Unable to figure out the missing configs .... kindly help!
    Thanx
    Shivaji

    There might be some open commitments (PO's) against the Order for which you are trying to set this status. Check the commitment report.
    This is nothing to do with configuration as this is standard check.To reduce/cancel the commitments set "Delivery completed" indicator in the purchase order which are using this order as account assignment.
    Regards
    Sreenivas

  • Bapi for technically complete of service order

    Hi all,
    I need to call a bapi to technically complete a service order.
    I dono what are the values to be passed into the bapi..
    please provide the passing parameters of the bapi.
    Thanks and Regards,
    Vidhya

    Hi vidhya,
      You can use the BAPI 'BAPI_ALM_ORDER_MAINTAIN' for technical complete of service order.
      Pass below parameters as input.
    IT_METHODS :
    Populate the values to methods
      wa_methods-refnumber  = '00001'.
      wa_methods-objecttype = ''HEADER'.
      wa_methods-method     = ''TECHNICALCOMPLETE'
      wa_methods-objectkey  =  v_aufnr. "Order number
      APPEND wa_methods TO  it_methods.
      CLEAR : wa_methods.
    Populate the values to methods
      wa_methods-refnumber  ='00001'.
      wa_methods-objecttype = space.
      wa_methods-method     = 'SAVE'.
      wa_methods-objectkey  =  v_aufnr. "Order number
      APPEND wa_methods TO  it_methods.
      Afetr calling this BAPi call BAPI_TRANSACTION_COMMIT to commit the chnages to data base.
      Hope this may be helpful.
      Regards,
    Sravanthi.V

Maybe you are looking for

  • PO Accruals and closing Purchasing periods

    Hi, can anybody confirm how many purchasing periods should be open at any one time. We are having a problem with the accruals and I am trying to understand the correct procedure for re-setting the purchasing accruals. I am aware that by closing the p

  • Unable to run ADF Project Using with Jdev 10 and Weblogic server 9.2

    Dear All, I am unable to run ADF Project on Weblogic Server 9.2. I am created Sample Project with ADF Control. This was when we create jsp at that time i am selected libraries ADF. After created war file. This war i am deploying into Server. At that

  • OBIEE Report keeps running for some users

    Hi Mates, I am facing a issue, while running the report. This reports keeps on running and expires after the max time out for few of the users whereas for few users it displays the output in 30 secs or so. Just to add in Oracle Identity Management ha

  • Itunes app will not download after 1+ months

    So I downloaded an app to itunes (that I paid for thank you very much in case anyone thought I stole it) and it will not download onto my iphone 4.  I have downloaded other apps from itunes that have downloaded successfully.  Every time I try to down

  • Is there two layers of audio on imovie or idvd

    I just finished A 300 picture presentation on Vietnam for a friend using keynote(excellent program). Each picture has a different show time(10 - 20 seconds) because of amount of text on it and info in the picture. We want to include back ground music