Skip to Content
author's profile photo Former Member
Former Member

Authorizations problem for Product Hierarchy

Hi,

We have a requirement in which we need to restrict authorization for the product hierarchy based on secret products. The material object has an attribute called secret indicator which has Y/N values. We need to restrict the users based on this attribute. The restriction should be such that the users should not even be able to see the nodes for secret materials in the product hierarchy if they are not entitled to it.

Any pointers ?

Thanks

Shailesh

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 12:49 PM

    Can you create two different hierarchies, one with secret nodes and one without? Then you could create an authorization object on the Secret attribute and check the authorization in a user exit.

    You would then use a user-exit variable that is filled automatically (no user input) and fill it depending on the authority check with hierarchy 1 or 2.

    You could also write an ABAP that filters the secret products out of the first query. It is a bit complicated.

    Best regards

    Dirk

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 07:11 PM

    H Dr,

    Thanks for the post. We do use 2 hierarchies today. We have 2 sets of queries for each query and they are published to different roles. What you suggest might be easier than that. Actually i was looking for a solution which will handle this while the authorization is generated. I did read a how-to on how to load authorization data via Flat Files to load an Authorization ODS, but was unable to figure out on how to apply that to my specific case.

    Thanks

    Shailesh

    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.