cancel
Showing results for 
Search instead for 
Did you mean: 

Work Order modification restriction through Planner Group

faisal_khan
Participant
0 Kudos

Hi,

Our requirement was to restrict modification of Work orders by specific users. For that we assigned particular Planner Group/Plant to users.

The field INGRP for following combination [TCD, IWERK, INGRP] was restricted for a specific user.

Issue:

Notification was created on object Equipment (the Equipment master data have Planner Group 061). But the Planner Group was changed to 021 on Notification. Now Order was created based on this Notification with Planner Group 021.

When user who is assigned Planner Group 021 tries to open the Order, it says no Authorization on Planner Group 061.

What went wrong and how to overcome this issue?

Regards

Faisal

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Faisal khan,

Just for information about Authorization way of controlling things. When we expect and aim at more IFs through Roles and AuthObjects, very often we find similar issues being experienced by you. Here comes the use of user-exits (or BAdi) where our requirements can be customized to any extent. In the present case you can make use of user-exit IWO10009 in combination with a ztable. The ztable wil have user name, planner group and plant.

Answers (2)

Answers (2)

MTerence
Active Contributor
0 Kudos

Hi Faisal,

I have done similar requirement to make sure the order is restricted through Planner group

Below is setup, i have done

Check whether the user is having any other role, which restricts 061 by some way. Try to take SU53 and pass in SUIM to determine whether this is the same role is gives

Regards

Terence

faisal_khan
Participant
0 Kudos

Hi Terence,

We did the same thing but got error. But do you agree with Amol comments earlier on Planner Group being picked from Equipment/F.Location rather than Work Order?

Regards

Faisal

MTerence
Active Contributor
0 Kudos

Hi Faisal,

In my case, Equipment is having different planner group.

Once you do SU53 analysis only, you can find the issue. That will make you to understand, whether the error comes from this role or any other role.

Regards

Terence

Former Member
0 Kudos

Hi Faisal,

One suggestion, instead of planner group, you may want to try with  I_KOSTL OR I_BEGRP.

Also check & explore following objects if they fulfill you requirement.

I_VORG_ORD

I_VORG_MEL

Regards,

Amol

faisal_khan
Participant
0 Kudos

Hi,

Can you elaborate a little more as how to restrict Order modification for specific users using the objects you defined.

Also why user getting the error as explained in my initial post.

Thanks

Faisal

Former Member
0 Kudos

Hi Faisal,

I think you are getting an error is because of I_INGRP is considered from FL/EQ master data only. In your case WO has planner group different from what is present in master data of that equipment. Hence you are getting that error.

With I_KOSTL you can assign only those cost centers which user should access.

Regards,

Amol