on 05-05-2015 11:18 PM
Hello Guru's
I need to hide Edit button in the Display Engineering Record screen.So that users who have Display access to ER are not allowed to make changes to Engineering record.
Kindly advise on what is the best way to achieve this.
Thanks & Regards
Jo Pz
Hi Jo,
it is enough if you remove the authorization object S_SCMG_CAS with value MODI and S_SRMSY_CL with 34 (Write) from the users role. You can take a look on the template role: SAP_PLMWUI_ECR_DISPLAY2
If you hide the button in WebDynpro then it will be hidden for every user except you do some hardcoding but it is not recommended.
Best regards
Tamas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tamas,
I tried as you mentioned but when I try create an Engineering Record I get the following error message in SU53 error
Authorization check failed
ate 05/07/2015 Time 09:25:33 Web Dynpro Application /PLMU/WDA_ECR_APP_OIF
Authorization Obj. S_SCMG_CAS Case Management: Case
Authorization Field CASETYPE Case Type ENGR
Authorization Field SCMG_ACT Activity for authorization check MODI
Authorization Field SCMG_KEY Case: Key for Authorization Check (Dynamically Created) <Dummy>
Authorization Field SCMG_LVL Authorization level <Dummy>
Authorization Field SCMG_ROLE Case: Role of User Compared to Current Object P
Authorization Field SPS_ID Element Type ID /PLMI/ECR_SPS_CASE
Kindly advise.
Jo
Hi Jo,
sure you get an error message by creation as to create an engineering record you also need change rights.
I do not know the exact requirements but there could be 3 type of users with 3 different roles:
- display user (display rights) -> not allowed to create and change as per your request
- create user (create, change, display rights)
- change user (change, display rights)
Having a user who can create but not change is not possible.
Best regards
Tamas
Hi Jo,
but if they only have Display authorization, they can actually not do any edits and save them?
Ulf.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ulf,
Thank you for the quick response.This User has been set with the ability to Create and Display ER only. I have removed the Change ER option from the Menu, I would like to hide the EDIT button so that the User cannot change any information in the ER once its been created.
Kindly advise.
Thanks & Regards
Jo
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.