on 2022 Dec 13 7:26 AM
We are facing some problems while executing the consolidation process that executes the standard program do_user_dao->get_user_profile_list. It is suposed to retrieve all the data access profiles assigned to the user, but it only gets the DAP directly assigned not the ones inherited from the teams.
How to get inherited DAPs from the teams ?
Request clarification before answering.
You can use the code sample below to get all DAP’s of a user including both directly assigned or inherited ones.
data: l_user_id type uj_user_id,
do_user_dao type ref to CL_UJE_USER_DAO.
l_user_id = "some user".
CREATE OBJECT do_user_dao
EXPORTING
I_APPSET_ID = "environment ID".
CALL METHOD do_user_dao->get_details2
EXPORTING
i_user_id = l_user_id
IMPORTING
et_mbr_profs = et_mbr_profs. "DAP list
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.