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: 

Authorization check creating Work Orders (IW31)

Former Member
0 Kudos

Hello everyone,

We need to make an authorization check when creating a Work Order in transaction IW31.

That check is based on the field "Main work center for maintenance tasks"

No check apart from the plant associated to the work center is done, but the problem is that there exist different Work Centers associated to the same plant, and we need to restrict it.

Our authorization model considers the Cost Center associated to the Work Center, but the Cost Center is not checked in this IW31 when entering the Work Center.

We have also tried using the classification system, but despite activating authorization obejct C_KLAH_BKL, is neither checked.

(It is amazing the difference between the number of objects marked to be checked in SU24 for this IW31 and the objects really checked when looking at authorizations trace)

We know that Work Center field exit could be used, but we would prefer not to change ABAP code.

Could you please give us a hint about how we can restrict this field?

Thank you very much.

Best regards.

Jose Sanz.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Jose,

You can look at the object C_ARPL_WRK,

if you work with this , i hope you would be able to find a solution for this situation.

Thanks,

Vijay

1 REPLY 1

Former Member
0 Kudos

Hi Jose,

You can look at the object C_ARPL_WRK,

if you work with this , i hope you would be able to find a solution for this situation.

Thanks,

Vijay