cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Modify or delete role objects using BApi

caristeo
Discoverer
0 Kudos
1,559

Hi,

I need to know if there is any way to modify create or add objects to roles. I am seeing that the only standard thing is to use the /GRCPI/GRIA_MASS_UPD_ROLE function , I also use other functions to achieve my purpose such as PRGN_AUTO_GENERATE_PROFILE_NEW and i use the RFC_READ_TABLE function to read from the AGR_DEFINE table and there if a role is a parent or child. At the end I commit the changes with the bapi. But I can't get it to change or add any object to the role.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

caristeo
Discoverer
0 Kudos

I tried to find PRGN_1252_AUTH_ADD or something related functions PRGN_1252_AUTH_CHANGE and not exist. And BAPI_ROLE_ACTGROUP_ASSIGN is just for user assign role, and BAPI_ROLE_SAVE not exist, and i want to use Bapi remotely.. If there is any existing in sap or what bapi do I need to develop to get it.

Regards

Sandra_Rossi
Active Contributor
0 Kudos
I'm not surprised, it was GenAI Assisted Content.