2023 Jun 19 6:02 PM
Hello,
with which FM can I assign a role to a user with a subsystem (like in SU01 roles)?
Best regards,
David
2023 Jun 19 8:17 PM
Are you looking for BAPI_USER_GET_DETAIL + BAPI_USER_ACTGROUPS_ASSIGN or are you looking for an equivalent for CUA, such as BAPI_USER_LOCACTGROUPS_ASSIGN?
2023 Jun 20 9:40 AM
If you see "subsystem" in SU01, it means that you are using CUA, so you must use a CUA BAPI (BAPI*USER*LOC*, i.e. ignore the BAPI which don't contain *LOC* except BAPI_USER_SYSTEM_ASSIGN).