on 04-04-2006 9:10 PM
Hello Masters,
I'm having a little problem figuring out how to check the user roles to allow modification in some fields.
At the 'Manage Organizational Data' screen ('Manage Business Partners' -> Business Partner Data -> edit). I need to check the user roles to let him change the 'Tax Numbers' values. The values can be changed only if the user is a administrator; otherwise it must only show the value.
I checked the HTML Template and found where I can restrict this edition option, but the problem is that I don't know how to check the user roles here. Maybe there is a function to do this?
Any ideas of how I can do it? Is there any magical BAdI to check this?
Thanks in advance,
José Omar
Hi José Omar,
there is no BADI for this...
You have to change the standard code to display only tax data if the SY-UNAME does not have correct role.
You can retrieve user roles with BAPI_USER_GET_DETAIL, or access directly the activity groups table.
Rgds
Christophe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.