on 12-01-2012 11:28 AM
Hi experts,
This is fayaz
i am having a table in view now my requirement is based on the role he has the read or write permissions on the table
will u please help me how to achieve this requirement
Guide me through steps if possible try to provide documentation on this
Thanks in advance,
Fayaz Shaik.
search ume permissions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fayaz,
From where u want to read that table (From SAP or database) ?
Or u want to read it using any t. code.
Regards
Ganesh Datt Tiwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in my webdynpro java application i have a table in my view based on the role he has the access to read or write permissions on the table
in my context i have 2 roles role1,role2 if the user belongs to role1 he has both read ,write operations on the table,if the user belogs to role2 he has only read access.
How to achieve this
Thanks,
Fayaz Shaik
Create boolean attribute in component controller of WDJ.
By using sap security api, you can get logged in user role.
http://help.sap.com/javadocs/nwce/current/se/com.sap.se/com/sap/security/api/IRoleFactory.html
http://scn.sap.com/message/2821196
Compare the logged in user role with the context role.
If its satisfies then set the boolean attribute to true.
Assign the created boolean attribute to ivew2.
Rest of the things WDJ will take care.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.