cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent use of locked work centre

0 Kudos

Hi experts,

I have a question regarding locked work centres and their use in PM orders:

When a work centre is locked, a warning will be shown when the work centre is specified in a work order. However, since it's a warning, it can be ignored.

Is there a way of completely preventing locked work centres from being used in work orders?

Thanks a lot!

Andreas

Accepted Solutions (1)

Accepted Solutions (1)

paul_meehan
Advisor
Advisor
0 Kudos

Hi,

I expect it to be a warning when locked flag is set. Only if deletion flag is set will there be a error message. It is hard coded as follows:

LCOIHFAO

..

IF NOT P_LVORM IS INITIAL AND NOT P_XSPRR IS INITIAL.

MESSAGE E705 WITH P_VAPLZ P_VAWRK.

ELSEIF NOT P_LVORM IS INITIAL.

MESSAGE E704 WITH P_VAPLZ P_VAWRK.

ELSE. " if not p_xsprr is initial

MESSAGE W703 WITH P_VAPLZ P_VAWRK.

ENDIF.

Here P_LVORM is the deletion flag and P_XSPRR is locked flag.

-Paul

Answers (2)

Answers (2)

0 Kudos

we simply set the deletion flag to block use of work centres in work orders - thanks everyone.

Former Member
0 Kudos

Hi Andreas,

Can you give some more details.

When I simulated the example as suggested by you. It didnt take Work Center (Locked) in work order even though when it was assigned to Routing.

While assigning the Work Center in routing it gave a warning message as suggested by you but allowed to save the routing.

Now if I try to add the Locked Work Center in the Work Order, it gives me hard error of "A lock has been set on work center XXX in plant XXXX"

Regards,

Kiran