Maintenance order completion time
dear all .
can we get actual working time for completing the maintenance order.
thanks
Hi
Check in IW47, its a report.
To get the actual confirmation
BAPI_ALM_CONF_GETDETAIL
BAPI_ALM_CONF_GETLIST
Get an help with the abaper and check this.
- Pithan
Similar Messages
-
How to configure G/L accounts for maintenance order completion confirmation IW48.
Hi Gurus
When doing completion confirmation of a maintenance order material costs are being posted to Cost of goods sold account. How do I bypass the posting of material costs to this account because the same costs are being posted during settlement of order costs as well?
Regards
JosephHi Joseph,
I'm not sure that Completion Confirmation if Maintenance Orders (MO) will generate FI Posting.
Normally, Completion Confirmation will generate CO Document with Secondary Cost Element.
But, at Settlement process of Maintenance Order (MO), it's possible to generate FI Posting depends on Settlement Rule.
Please ensure about your inquiry.
Thanks
Adi -
Sql query to calculate order completion time
Hello,
This is probably a textbook example, but I was wondering if someone could show me the technique to answer the following question based on the sample data:
Show all orders from the orders table where completion time (defined as difference between time the order was completed and received). is > 5 hours
Order_id
Action
Time
1
Received
1/11/2014 10:12:00
1
Logged
1/11/2014 10:15:00
1
Sent
1/11/2014 15:15:00
1
Complete
1/11/2014 16:15:00
2
Received
31/10/2014 8:10
2
Logged
31/10/2014 8:28
2
Sent
31/10/2014 10:11
2
Complete
31/10/2014 12:13
3
Received
30/10/2014 13:10
3
Logged
30/10/2014 15:10
3
Sent
30/10/2014 16:10
3
Complete
30/10/2014 17:10
Thankscreate table orders (order_id int, action varchar(50), [time] datetime)
insert into orders values(1,'Received','1/11/2014 10:12'),(1,'Logged','1/11/2014 10:15'),(1,'Sent','1/11/2014 15:15'),(1,'Complete','1/11/2014 16:15'),
(2,'Received','10/31/2014 08:10'),(2,'Logged','10/31/2014 08:28'),(2,'Sent','10/31/2014 10:11'),(2,'Complete','10/31/2014 12:13'),
(3,'Received','10/30/2014 13:10'),(3,'Logged','10/30/2014 15:10'),(3,'Sent','10/30/2014 16:10'),(3,'Complete','10/30/2014 17:10')
select order_id from (
select *, datediff(hour,lag([time],1) Over(partition by order_id Order by [time]),[time]) diff
from orders WHERE action IN ('Complete','Received')) t
WHERE diff>=5
drop table orders -
Plant Maintenance - Maintenance Order Completion Confirmation
Dear Experts,
When i am confirming maint. order and checking final Confirmation Box then system confirm particular operation / order.
but when i check the clear open reservation then system will not set deletion indicator of reservation. I want to cancel reservation whenever clear open reservation check box will check.
Please guide me how i have do configuration for above mentioned requirement in Maintenance and Service Processing --> Completion Confirmations --> Define Control Parameters for Completion Confirmations.
Thanks in advance.
Best Regards,
Rajiv Sinha
Message was edited by:
RAJIV RANJANhi rajiv,
as far as my knowledge there is no setting for automatically deleting the reservation, what it does is, it will mark the material as final issue for this reservation ,any future material you are adding will be reserved under different no.
you have the followoing option
after confirming you can make the material as MOVEMENT NOT ALLOWED in the order
or
you can technically complete the order which will delete the material and goods movement will not be carried out.
i cant understand you process why you are adding the material, which you want to delete it during confirmation.
regards
thyagarajan -
Add the budget profile in the order type Maintenance Order
Dear Experts,
Scenario for Repair & Maintenance with only MM & FICO module live w.e.f. 2007 (PM not live)
Process Managed thru Internal Order (Order Type: RPMT)
Budget managed through Investment Management (IM); Budget is directly entered against the IO using transaction IM52
Scenario for Repair & Maintenance with only MM, FICO & PM module live (PM went live in 2010)
It was proposed to assign budget against each Maintenance Order. Since the number of maintenance orders being used is very high, it was decided to link the MO & IO so that budget will be assigned to the IO and when the MO is settled against the IO, the budget in IO can be deducted accordingly. The proposed process to assign budget in Internal Order against each Maintenance Order are given below-:
1.) In EAM process one can plan/procure material and External Services only when the Maintenance Order is created & released but practically it has to be planned long before any Maintenance Activity (Maintenance Order to be linked with the estimate so that PO can be created against the estimate).
2.) The no. of Maintenance Order generated in EAM Module is very large as Maintenance order is created for almost each and every maintenance activity. It is cumbersome to allocate the budget to each and every maintenance order. There should be a single estimate for maintenance activity (as in MM module) and that should be linked to maintenance order so that the actual cost of Indent/Service Entry Sheet can be deducted automatically from the estimate (Maintenance Order is to be linked with estimate).
3.) While doing return Indent the cost of return material is not being added to the maintenance order automatically (Maintenance Order is to be linked with estimate).
4.) If Material & External Services not planned in the maintenance order (estimate), the user must be able to do that through Internal Order (estimate), hence the Internal Order must be link to the Maintenance Order. They should able to record the planned & actual cost in the maintenance Order.
Process followed:
1.) Created Internal Order in KO01 for Repair & Maintenance Order Type
Assigned budget to Internal Order thru IM52
2.) Created PM order and assigned Internal order against Settlement Order in tab
u2018Locationu2019 and in Settlement Rule with 100%. In this Section attach the Internal
Order with selection type u2018ORDu2019.
3.) Released both orders and issue the Material for particular Operation and then
determine the Cost for material .After that performed MIGO for consumption of
materials.
4.) Settled the PM order in KO88.
Settlement process was successfully saved.
Problem faced:
After posting the goods movement (against each Maintenance Order) and settlement of the maintenance order against IO, we still find the budget assigned to the IO is not consumed/deducted.
1. Actual cost of maintenance is not reflected in the internal order
immediately. We have to run cost settlement (t-code KO88) for the
maintenance order each time the actual cost is incurred in the maintenance order.
2. Also in the case of return indent, the value of returned material is not directly
added to the available budget of internal order.
3. When the material is issued from store through the reservation generated by
maintenance order, system does not check for budget in the internal
order/maintenance order while issuing material from the store.
4. It must not be allowed to create reservation from the internal order of order type
RPMT.
5. In case of external service in the maintenance order, the unit of
measure in the requisition is set to u201CD (days)u201D by default. System does not allow
changing the unit of measure in the requisition (it should allow to change the unit
of measure or set the unit of measure u201CJOBu201D).
6.) When the material is issued from the store through reservation generated in
maintenance order, system does not check for budget in Internal Order
(estimate)/Maintenance Order while issuing material from store.
7.) My first problem is every time running the cost settlement(KO88) is maindetory.Without running cost settlement, How we can settle the actual amount of MO with IO (Estimate budget).
2.) As you know that I have assigned the budget in IO.How system will check the budget while issuing the goods for maintenance order.So will please tell me that which user-exit is used over here.
Thanks & Regards,Hi Deepak1103,
Well, obviously you will have to settle the costs incurred at the maintenance order. The internal order should be mentioned in the settlement order field in the location tab of the maintenance order. What you can do is to ask your ABAP person to activate this enhancement IWO10004: Maintenance order: Customer check for order completion, use the CAUFVD structure to get the internal order number, then use the BAPI BAPI_INTERNALORDER_GETDETAIL and pass the details to the function module BBPG_BUDGET_CHECK and check the actual cost against the required budget. In case of a conflict raise an error other wise run the function module CK_F_IH_ORDER_SETTLE to settle the costs of the maintenance order to the internal order. Budget would also be consumed and you can verify the same in S_ALR_87013019.
Regards,
Muhammad Usman Kahoot -
Budget Process (Linked the maintenance Order into Internal Order) in EAM
Dear Experts,
Scenario for Repair & Maintenance with only MM & FICO module live w.e.f. 2007 (PM not live)
Process Managed thru Internal Order (Order Type: RPMT)
Budget managed through Investment Management (IM); Budget is directly entered against the IO using transaction IM52
Scenario for Repair & Maintenance with only MM, FICO & PM module live (PM went live in 2010)
It was proposed to assign budget against each Maintenance Order. Since the number of maintenance orders being used is very high, it was decided to link the MO & IO so that budget will be assigned to the IO and when the MO is settled against the IO, the budget in IO can be deducted accordingly. The proposed process to assign budget in Internal Order against each Maintenance Order are given below-:
1.) In EAM process one can plan/procure material and External Services only when the Maintenance Order is created & released but practically it has to be planned long before any Maintenance Activity (Maintenance Order to be linked with the estimate so that PO can be created against the estimate).
2.) The no. of Maintenance Order generated in EAM Module is very large as Maintenance order is created for almost each and every maintenance activity. It is cumbersome to allocate the budget to each and every maintenance order. There should be a single estimate for maintenance activity (as in MM module) and that should be linked to maintenance order so that the actual cost of Indent/Service Entry Sheet can be deducted automatically from the estimate (Maintenance Order is to be linked with estimate).
3.) While doing return Indent the cost of return material is not being added to the maintenance order automatically (Maintenance Order is to be linked with estimate).
4.) If Material & External Services not planned in the maintenance order (estimate), the user must be able to do that through Internal Order (estimate), hence the Internal Order must be link to the Maintenance Order. They should able to record the planned & actual cost in the maintenance Order.
Process followed:
1.) Created Internal Order in KO01 for Repair & Maintenance Order Type
Assigned budget to Internal Order thru IM52
2.) Created PM order and assigned Internal order against Settlement Order in tab
u2018Locationu2019 and in Settlement Rule with 100%. In this Section attach the Internal
Order with selection type u2018ORDu2019.
3.) Released both orders and issue the Material for particular Operation and then
determine the Cost for material .After that performed MIGO for consumption of
materials.
4.) Settled the PM order in KO88.
Settlement process was successfully saved.
Problem faced:
After posting the goods movement (against each Maintenance Order) and settlement of the maintenance order against IO, we still find the budget assigned to the IO is not consumed/deducted.
1. Actual cost of maintenance is not reflected in the internal order
immediately. We have to run cost settlement (t-code KO88) for the
maintenance order each time the actual cost is incurred in the maintenance order.
2. Also in the case of return indent, the value of returned material is not directly
added to the available budget of internal order.
3. When the material is issued from store through the reservation generated by
maintenance order, system does not check for budget in the internal
order/maintenance order while issuing material from the store.
4. It must not be allowed to create reservation from the internal order of order type
RPMT.
5. In case of external service in the maintenance order, the unit of
measure in the requisition is set to u201CD (days)u201D by default. System does not allow
changing the unit of measure in the requisition (it should allow to change the unit
of measure or set the unit of measure u201CJOBu201D).
6.) When the material is issued from the store through reservation generated in
maintenance order, system does not check for budget in Internal Order
(estimate)/Maintenance Order while issuing material from store.
Thanks & Regards
Deepak SoniHi,
1. Actual cost of maintenance is not reflected in the internal order
immediately. We have to run cost settlement (t-code KO88) for the
maintenance order each time the actual cost is incurred in the maintenance order.
As per the standard system budgeting is done against the actual cost only. And until you settle your order the actual cost from
maint order are not getting transfered to IO. Once they are transfered system is checking for the budget.
2. Also in the case of return indent, the value of returned material is not directly added to the available budget of internal order.
This is similar to first point, when you return goods there will be negative cost on the order, this has to be settled until that system will not compare the IO budget with maintenance order actual cost.
3. When the material is issued from store through the reservation generated by maintenance order, system does not check for budget in the internal order/maintenance order while issuing material from the store.
The budget you have assigned is at IO, how can system will check the budget while issueing goods for maintenance order. We may have to develop or use some user exit over here. Which will trigger checking of budget from the settlement receiver IO for that maintenance order.
I think you may have to go for development. These are my observations from my experience.
Regards,
NNR -
Preventive maintenance order actual completion time and date
Hey gurus,
In preventive maintenance order the basic and scheduled start dates are picked from the maintenance plan. Now the actual start and end dates are in display mode. My client wants an overall completion time and date of the preventive order and not of individual operations. Also at the end of the month they want to see the total time spent on preventive maintenance. Can you suggest any way to sort out the above problem.
Regards,
Abhishekhi.
the basic start date and end date is coming from maintenance plan. but you can change that dates according to your requirment. For that you have to remove the automatic schduling check in the dates header in maintenance order. Afetr that you can put basic start and end dates as per your requirement.
Also the actual start and end dates and coming when you confirm the operation.
When you confirm the first operation, that date the system will take as actual start date and the day you confirm you last operation or fully confirmed the order will be taken as actual end date.
So i dont think yu have any problem. You can take basic start or basic end dates for this and change the dates as per your maintenace requirments. -
Buisness completion of the maintenance order?
Hello friends,
can someone please explain the "BUISNESS COMLETION" of the maintenance order,
though we do the technical completion of the maintenance order, but what is the significance of "BUISNESS COMPLETION"
please help................
regards and thanks in advance................
ykHi!
This will give you a better idea of business completion.
1. If system status is TECO, it means maintenance job is over, but it doesn't give you any idea whether entire cost is settled on cost receiver or not.
2. If system status is CLSD, it means settlement of cost is done, invoice verification is done.
Business completion is required because there is no indicator available to show whether entire cost is settled or not.
Now a question arises, why there is no indicator available to show whether cost is settlled on valid cost receiver or not?
Some times your maintenance job is going on and on even more than a month. At the month end you will settle the maintenance cost of the month on cost receiver. Now still there is lot of postings are left to be posted in future. Therefore you can't say that cost is settled on order (Therefore no indicator is available).
But there will be a time in future when entire cost of maintenance will be settled on maintenance order. At that time this is the business completion which will work as an indicato that cost is settled, invoice verifiation is done etc....
hope this may help you.
Regards,
Vaibhav Mishra -
Service/maintenance order type SM01 not completely maintained in plant 1001
Dear All,
Am trying to configure Service Management where there is a scenario in which , when the user creates a Sales order for a installation item say TV or Fridge, automatically Service order has to be generated.
I have checked all the item Category Settings but am getting an error
Service/maintenance order type SM01 not completely maintained in plant 1001
Message no. IW216
Diagnosis
For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
Procedure
A check control must be maintained for this combination of order type and plant.
Can anyone throw some light on this as i know you would have faced this problem.
SatishNothing
-
Service/maintenance order type SM03 not completely maintained in plant 1000
Dear experts,
when I use T-code:iw31 create a service order,It show the following error message:
Service/maintenance order type SM03 not completely maintained in plant 1000
Message no. IW216
Diagnosis
For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
Procedure
A check control must be maintained for this combination of order type and plant.
Best regards,
LanceHello,
Go to SPRO --> Plant Maintenance & CS --> Maintenance and Service Processing --> Maintenance and Service Orders --> Assign order types to maintenance plants.
Maintain the order type SM03 against the plant.
Go to SPRO --> Plant Maintenance & CS --> Maintenance and Service Processing --> Maintenance and Service Orders --> Completion confirmations --> Define the parameters for completion confirmations.
These both should be done, try to raise the SM03 order now.
PRase -
Dear sap Gurus,
I have given 0.5 hours in tasklist and execution factor as 1.But where as in the maintenance order i was getting execution factor as 78 and time duration as 39.Please tell me the reason
with regards,
kumarThank you peter for your prompt reply.
Iam not aware of BADI.I have used the same task list in another maintenance plan iam not getting the problem.But the maintenance plan which was created long back.So tell me some of the postulates for the system to behave in this fashion
with regards,
Kumar -
User Exit Maintenance Order Business Completion
Hello Gurus,
User Exit IWO10004 triggers when TECO the Maintenance order.
What is the User Exit which can triggers when Business Completion?
My requirement is I want to restrict the Business Completion only for TECO orders,
Currently I even REL order also can be CLSD by business completion which is bypassing TECO status.
how can I restrict this?
Please advice
Thanks
AshokAshok,
Adding some inputs of Pete, the following code seems to be working fine. This throws this error
in the taskbar, when you Business Complete and try to save a Non-Teco Order.
DATA: V_PHAS TYPE PM_PHASE,
V_STAT TYPE J_STEXT.
SELECT SINGLE IPHAS FROM AFIH INTO V_PHAS
WHERE AUFNR = CAUFVD_IMP-AUFNR.
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
FLG_USER_STAT = 'X'
OBJNR = CAUFVD_IMP-OBJNR
ONLY_ACTIVE = 'X'
SPRAS = SY-LANGU
IMPORTING
LINE = V_STAT.
IF V_PHAS <> '3'.
IF V_STAT+0(4) = 'CLSD'.
MESSAGE: 'Status ''TECO'' is essential for Business Completion' TYPE 'E'.
ENDIF.
ENDIF.
CLEAR: V_PHAS, V_STAT.
Please test and confirm.
KJogeswaraRao -
Date/time changes in maintenance order
Hello,
We are using strategy plans to generate maintenance orders. Is there a way to change the basic start and end date and times of the order? The scheduling type is Forward with time. I want to be able to change the start date to the date of generating the order and the end date as the end of the maintenance cycle. How can this be accomplished?
I have checked out exit IWO10012 but it does not get called from IP10.
Thank you,
NithyaHi,
I do not want to change the planned date of the maintenance plan, which is what the exit IPRM0002 does. I want to influence the basic start and end date of the order that is generated based on my call horizon.
Even if I set the initial and subsequent buffer in the maintenance package, both dates still come as the same. How do I change the end date to reflect the end of the maintenance cycle.
Any pointers anyone?
Thanks much!
Nithya -
How to control to complete maintenance order ?
Hi Experts,
i want to control maitenance order ( generated from prventive maintenance ) activities should not be performed before its due to date. in case of 100 days cycle period maintenance plan and 95% call horizon, system has generated maintenance order five days before as per standard. i want to keep a control that system should not allow to perform any activity on this order till we reach 100th day.
Kindly suggest the wayout.
Regards,
Murthy.Dear krishna murthy
You can restrict the order release unless & untill the execution date has been reached. This you can code using user -exit at the time of order release/save. Prevention of Release of order can restrict printing of order & in result you can prevent pprocessing of order till the actual planned date.
Regards
Makarand Gurjar -
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 AMFor 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
Maybe you are looking for
-
Error while trying to connect to network
My powerbook will be 3 years old in about 2 weeks and it is now having problems connecting to wireless networks. It connects fine to the network at my parent's house, and they have a dsl router from verizon. However, a little while back, I noticed th
-
ITunes will not fully install, it says i need bonjour permission (windows 7 64 bit)
I recently got my new desktop computer. It is an hp pavilion with Windows 7 64 bit operating system. I began adding on the programs i wanted on my computer after starting it up a few days ago and found that everytime i try to download iTunes (64 bit)
-
Rework in Subcontracting Process
Hi Experts, I need some suggestion for below scenario, Finished product has been produced from subcontract vendor. Afterthat partial qty of the FG identified rejected. Now we need to send it again for rework. In the rework process vendor change some
-
Oops! double post!
-
Weblogic.developer.interest.management
Greetings, I'm deploying my EAR with my EJB on weblogic 8.1sp2, and I'm getting this error that isn't very helpful. There is any hint about the cause for this error, and the application runs fine in JBOSS 3.2. I'm just building the descriptors (with