Skip to Content
0

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

Mar 07 at 06:16 AM

88

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Suleyman Bulus Mar 07 at 01:08 PM
0

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

Show 8 Share
10 |10000 characters needed characters left characters exceeded

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.

0
Former Member

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

0
Former Member

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

0

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

0
Former Member

Suleyman,

Thanks for your reply, I will discuss with ABAPer.

Thanks

0
Former Member

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

0

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

0
Former Member

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

0
Suleyman Bulus Mar 12 at 10:57 AM
0

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.


11.png (17.6 kB)
22.png (18.9 kB)
Share
10 |10000 characters needed characters left characters exceeded