Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

Former Member
0 Likes
5,314

Hi,

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

Regards,

Vimal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,815

Hi Vimal,

Use STATUS_CHANGE_INTERN to TECO the work order (Status I0045). Use COMMIT WORK after executing this FM or use BAPI_TRANSACTION_COMMIT Function Module.

8 REPLIES 8
Read only

Former Member
0 Likes
2,815

Your question is not proper, what is the function module you want, i mean using that function what you want to do ...?

Read only

Former Member
0 Likes
2,816

Hi Vimal,

Use STATUS_CHANGE_INTERN to TECO the work order (Status I0045). Use COMMIT WORK after executing this FM or use BAPI_TRANSACTION_COMMIT Function Module.

Read only

2,815

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

Read only

0 Likes
2,815

Hi Vimal ,

By using that FM which Status u are changing ? Is it for system or User ? .

are u committing the work after that Fm call ?

regards

Prabhu

Read only

0 Likes
2,815

Hi Prabhu,

I am changing system status TECO and doing the commit also. This function is setting the status to teco but I am getting some problem. Please see the above posted description for the same.

Regards,

Vimal

Read only

paul_meehan
Product and Topic Expert
Product and Topic Expert
0 Likes
2,815

Hi,

You cannot just set the status TECO (I0045) on the order. Various other updates will not be done so you will end up with inconsistent data. To update a order outside the IW32 transaction use BAPI_ALM_ORDER_MAINTAIN. To teco the order use method TECHNICALCOMPLETE.

-Paul

Please use Enterprise Asset Management (EAM) forum for PM/CS specific topics

Read only

0 Likes
2,815

Thanks Paul.

Regards,

Vimal

Edited by: Vimal kumar on Sep 16, 2008 2:07 PM

Read only

0 Likes
2,815

Hello

I usedd this FM but If later on I want to undone the TECO by means of IW32 I can´t, why is this happennig? Using this function module has to allow you (as in IW32) to go from REL to TECO and TECO to REL.

Kind Regards