cancel
Showing results for 
Search instead for 
Did you mean: 

Add an additional component in PM order

0 Kudos

Hi,

I have a business case where I would like to add an additional component automatically when I add a specific component on the PM order.

The reason for this is that we have rotables and today people get a rotable but they don't return the broken one. By adding an additional component with -1 we will be able to keep track of how many rotables that are not returned. It's also a bit unclear today what component that are rotables and what’s not. By adding this additional line we would also make this more clear for the user. This is the reason why we would like to do this when the user is on the component tab and not when the order is saved.

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_atkin
Active Contributor
0 Kudos

Kristoffer Pehrson

The easier option is to check if a rotable has been assigned to the order, then check for a corresponding reversal component.If there is a difference, then issue an error message telling the user to add the missing component.

This can easily be done in BADI WORKORDER_UPDATE (see TCode SE18). Talk to your ABAP team who should be able to help.