Fonction SAP BAPI_USER_LOCPROFILES_READ - Read User-Profile 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
PROFILES BAPILPROF 84 Profiles for the Dependent Systems
RETURN BAPIRET2 548 Return Structure

Functionality
The profile assignments for user USERNAME are transferred in tablePROFILES. All existing assignments are overwritten by the assignmentscontained in the table. This measn that the existing assignments may bedeleted as well, if they are no longer included in the table. Only thePROFILES-PROFILE must be filled.

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

Description
This parameter defines whether or not the texts associated with theroles are 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