cancel
Showing results for 
Search instead for 
Did you mean: 

How to Delete and then update the same CU_ID from Work order operation -SAP PM

0 Kudos

Hello Guys,

Is there any function module or methods to delete the CU_ID from Work order operation?

Regards,

Paul.

Accepted Solutions (0)

Answers (3)

Answers (3)

peter_atkin
Active Contributor

Paul,

Can you give more details please.

PeteA

peter_atkin
Active Contributor
0 Kudos

Paul,

I'm guessing that "CU" means compatible units?? If so, then I havent worked with this functionality yet so unfortunately I cant help..

PeteA

0 Kudos

Hello PeteA,

The Work order operations are created from the task lists of CU ID. There is a chance of change in the CU. So as per requirement we need to update the WO operations ( by deleting the existing CU ID and update the same CU ID to reflect the CU ID changes to operations which are have CRTD status ).

Table /C*M/AFCU to get WO and CUGUID. Pass /C*M/AFU-AUFNR to Table AFKO to read AUFPL, Pass AUFPL and corresponding /C*M/AFCU-CUGUID to table AFVC and determine the AFVC-VORNR. After status check, we need to update the operation with changed cuid.

I Hope it will give you some picture.

Regards,

Paul.