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

If I know a role name and an authority field name, can I get the value

If I know a role name and an authority field name, can I get the authority field value? (By ABAP Code).

For example, the role is

Z_MS_TEST,

AUTHORITY FIELD is 'FIELD1' value is 'SLFN',

But I want to use an ABAP function module to find it, how can I do ?

Best regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Mar 18, 2009 at 08:03 AM

    Hello Gates

    Function module PRGN_1251_READ_FIELD_VALUES returns you all values of a given role.

    I am not sure whether there is a more specific fm available.

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Uwe,

      Thanks very much for your reply, now I have another problem .

      Only the authrotiy field in the authority object is not '*' shall I check for the authority, how can I realize this?

      thanks very much for your help.

      Lament

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.