Fonction SAP BAPI_USER_LOCACTGROUPS_READ - Read User-Role Assignments in CUA Central System

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
USERNAME BAPIBNAME-BAPIBNAME C 12 User name
WITH_TEXT BAPIFLAG u 1 SPACE X Import text too?

Paramètre Reférence Long. Facultatif Description
ACTIVITYGROUPS BAPILOCAGR 137 Profiles for the Dependent Systems
RETURN BAPIRET2 548 Return Structure

Functionality
The profile assignments of user USERNAME are passed in a tablePROFILES. All existing assignments are overwritten by assignments inthe table. Existing assignments can be deleted if they are no longer inthe table. Only the field PROFILES-PROFILE must be filled.

Example
The user has the profiles
PROFILE1
PROFILE2
PROFILE3
You want to delete the profile PROFILE1 and add a profile PROFILE4.
Pass the PROFILES table with the following contents:
PROFILE2
PROFILE3
PROFILE4
INCLUDE SU_USERNAME OBJECT DOKU ID TX

Description
This parameter defines whether or not the texts associated with the roleare also to be read.

Value range
'X',,-,,Texts are to be read
' ',,-,,Texts are not to be read

Default
SPACE
INCLUDE SU_PROFILES OBJECT DOKU ID TX
INCLUDE SU_RETURN OBJECT DOKU ID TX