cancel
Showing results for 
Search instead for 
Did you mean: 

Can we get work order operation actual end date as completion date in maintenance plan ?

Former Member
0 Kudos

Dear All,

In maintenance plans we have selected completion requirement tick and also shift factor for let ency 100%, now order are generating until previous order get TECO, which is ok.

end user wants next order to be generated as per actual finish date and plan is for example 1 month, what they are entering at the time of order confirmation and they want to close mass order as well.

it has been tested that when entering reference date same as actual end date at the time of TECO then, in maintenance plan completion date is coming same actual end date and plan are scheduling accordingly to actual and date.

How can we bring actual end date in reference date, so once mass order TECO done scheduling will be done accordingly. I am not sure it is correct scenario or if any one can suggest better option to get a solution.

Thanks

ERP Supp

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member345913
Active Participant
0 Kudos

That was my fear as well, I have tried to update that field in exit and I could not too. It seems like you are not gonna be able to do it through an exit. If there is an exit for this purpose, then someone shall share with us.

What further you can do is, develop a custom program that ask for order numbers and when you execute, program shall TECO them with the reference date that you provide. With BAPI_ALM_ORDER_MAINTAIN you can easily achieve this. You would pass below values to BAPI, again consult your ABAPer. The solution is slippery but there is nothing else comes to mind.

former_member345913
Active Participant
0 Kudos

The reference date would be calculated based on the configuration done in below IMG path.

Maintenance & Service Orders => Functions & Settings => Define proposed reference time for TECO.

Press F4 in Ref. Date option.

Blank Today's date

1 Date entered

2 Basic start

3 Basic finish

Now your requirement is not any of above mentioned. Thus you should make a development in either exit IWO10004 (technical completion) or IWO10009 (save).

Former Member
0 Kudos

In my experience, most use Today's date for the Reference Date. How long after the actual end date is the the Mass Order TECO? If you run Mass Order TECO every day, then your scheduling will be correct.

Former Member
0 Kudos

Tom,

Thanks for reply, usually it takes time planner to do a TECO mass order, some time could be more than two weeks or more, so that why we want actual end date as completion date in plan than next order will be generated as per actual end date.

Thanks

Former Member
0 Kudos

Suleyman,

Thanks for your answer, true my requirement is not getting fill, so can you explain the development option which you have mentioned for technical completion about in either exit IWO10004 technical completion or IWO10009 (save).

What it will do really means by this actual end date will come in reference date place, so at the time of mass order closing all order actual end date will appear in the plan.

Thanks

former_member345913
Active Participant
0 Kudos

Activate the user exit IWO10009. In here you would change field ADDAT. GETRI is your actual end date. Consult your ABAPer

Former Member
0 Kudos

Suleyman,

Thanks for your reply, I will discuss with ABAPer.

Thanks

Former Member
0 Kudos

Suleyman,

Our ABAPer checked and did the changes in the system as explain but Actual finish date in not coming in reference date place and he said that it is only a import field not export field, so can you explain more about it.

Thanks

MTerence
Active Contributor
0 Kudos

Hi,

Actual End date gets updated when the order gets CNF status. When you TECO the order, check whether the abaper can get the Actual End date (GETRI), which is available in Table AFKO under Actual Order Finish Date i.e., CO_GETRI (Data Element).

IWO10004 Maintenance order: Customer check for order completion

See, I am not a Technical person, i am sure your abaper should be able to get the date from the table.

Regards

Terence

Former Member
0 Kudos

Maria,

I have checked with abaper he said that it is a customer check, where you can set a check at the time of TECO and it is not a export field to bring this date to the reference date place and in our case user wants to do a bulk order TECO, so where if there will be a check then it will be difficult to TECO one by one order.

Thanks