Skip to Content

How to get current role selected by user in NWBC, if one user have multiple roles assigned ?

Hi Experts,

Currently having an requirement of getting the Current role name in MDG NWBC portal. As per scenario i have to select the role selected by user in a case when he have provided with multiple roles for a User for a change request, I want to retrieve the role name from NWBC for my validation and workflow step who is trying to access the change request and enriching the data.

It's really helpful if anybody guide me on this .

Regards

Anand

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 19, 2019 at 02:39 PM

    Hello - Were you able to get a solution for your problem. We have a similar requirement to get the user role name from MDG UI in order to update the properties badi. please let me know if you were able to achieve this and provide few hints on doing it.

    Thank You very much !

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 22, 2019 at 09:18 AM

    Hi, you can use the table agr_users to identify whether the user has the required authorization role or not. This check can be done within properties BADI to update the field properties , or it can be used in the check BADI to throw an error message for missing roles.

    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.