Skip to Content

Work Order modification restriction through Planner Group

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jun 28, 2016 at 11:19 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2016 at 08:57 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • Posted on Jun 28, 2016 at 09:38 AM

    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


    Capture.JPG (25.6 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.