Application Development 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: 

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

Former Member
0 Kudos

Hi,

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

Regards,

Vimal

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

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

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

Thanks Paul.

Regards,

Vimal

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

0 Kudos

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