Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

get role description

Former Member
0 Likes
1,091

HI ,

There is FM or method that retrieve the role text which is store in the pfcg

i dont want to do select from table (agr_texts) .

Regards

Joy

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
917

Or try to use

fm PRGN_RFC_READ_TEXTS

Or try to use

fm PRGN_RFC_READ_TEXTS

3 REPLIES 3
Read only

former_member194669
Active Contributor
0 Likes
917

There is no specific function module available for this

If you check this code in save part of PFCG in program LPRGN_TREEF10, It directly get stored in table AGR_TEXTS


*       Save new values to DB
        i_agr_texts-mandt = sy-mandt .
        i_agr_texts-agr_name = s_agr_define-agr_name .
        i_agr_texts-spras    = sy-langu .
        i_agr_texts-line     = 0 .
        i_agr_texts-text     = s_agr_texts-text .
        append i_agr_texts.
        loop at i_text.
          i_agr_texts-mandt = sy-mandt.
          i_agr_texts-line = sy-tabix.
          i_agr_texts-text = i_text-text.
          append i_agr_texts.
        endloop.
        delete from agr_texts
          where agr_name = s_agr_define-agr_name and spras = sy-langu.
        insert agr_texts from table i_agr_texts
                                               accepting duplicate keys.

Read only

former_member194669
Active Contributor
0 Likes
918

Or try to use

fm PRGN_RFC_READ_TEXTS

Read only

Former Member
0 Likes
917

hii,

u can go through the foll FM.

Tables

RSECVAL : Authorization Value Status,

RSECUSERAUTH : BI AS Authorizations: Assignment of User Auth.

Function Modules:

RSEC_AUTHORITY_CHECK_IPROV

RSEC_AUTH_GET_IOBJ_RELEVANT

RSEC_CHECK_IPROV

RSEC_CHECK_VALIDITY

RSEC_COMPLETE_HIERAUTH

RSEC_GET_AUTH_FOR_USER

RSEC_GET_AUTH_HIER_FOR_USER

RSEC_ASSIGN_AUTHS_TO_USERS

RSEC_GET_ALL_GENERATED_AUTHS

RSEC_READ_ODS_HIER

RSEC_READ_ODS_USER_AUTH

RSEC_READ_ODS_VAL

RSEC_AUTHORIZATIONS_OF_USER

RSEC_GET_AUTH_FOR_USER_RFC

rgrds,

Shweta