cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict WorkCenter change in maintenance order operation

former_member374929
Active Participant
0 Kudos

Hi,

I want to restrict some users to change work center in order operations.(Field AFVGD-ARBPL).I tried to do it with authorization but no success.

Now I am looking for some User exit or BADI for the same.

I checked exit IWO10009, but it contains only CAUFVD structure which does not have ARBPL.

I also checked BADI-WorkOrder_Update with IN_UPDATE and BEFORE_UPDATE method. But here also could not find the AFVGD structure. Instead AFVGB is there but it does not contain ARBPL.

Is there any other exit or BADI through which we can achieve this.

Regards,

Asheesh

Accepted Solutions (1)

Accepted Solutions (1)

peter_atkin
Active Contributor
0 Kudos

Asheesh

In BADI WORKORDER_UPDATE~BEFORE_UPDATE you can look at field ARBID in IT_OPERATION_OLD_AFVC to see if it has changed.

If required, you can get the ARBPL via ARBID via table CRHD.

PeteA

Answers (1)

Answers (1)

former_member374929
Active Participant
0 Kudos

Thanks Pete for /your inputs.