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

cprojects Authorizations

Hi All,

In cProjects Authorization i want to set up an authorization concept so that the person who creates the project has only the Admin access whereas others with same SAP roles have only read access to the project.

Is this above scenario possible? please tell me how

thanks in advance

yasar

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 04, 2012 at 02:43 PM

    Hi Yasar,

    I understand your requirement as follows:
    user A has PFCG roles a, b, c

    user B has PFCG roles d, e, f
    If A creates the project, all users having roles a, b, c should get READ to the project.

    If B creates the project, all users having roles d, e, f should get READ to the project.

    I see two options:
    a) You add the PFCG roles via a BAdi or a subsystem. Disadvantage: development
    b) You might consider having different project types with corresponding templates. The project type is used to control who is allowed to use the corresponding templates. The template include the PFCG roles. Disadvantage: might not meet 100% your requirement.

    Best regards
    Thorsten

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Yasar,

      You can manipulate the check process as you need in the BAdI. As far as i understand your point, the project manager opens a project (should be able to change it) and then sets another person as an ADMIN to that project. Now, when the other person (substitute) tries to open the project, he/she should be able to edit the project.

      If this is right, then this can be handled in the BAdI itself by checking the user authorization on the project and accordingly setting the return value for CV_RC. Just keep a break-point in the BAdI method and see when its called.

      Let me know if you have any questions.

      Thanks,

      Gaurav Shah

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.