Ansicht
Dokumentation

/VIRSA/CREATE_USER_CUA - Create a User in CUA

/VIRSA/CREATE_USER_CUA - Create a User in CUA

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

when the flag id is 'CS' - A new user with name USERNAME and specified attributes will be created in the CUA Central and sub systems. The initial password and last name in the address must be transferred. when you create a user with this flag, the central system will be assigned to the user by default. You can provide the details of other sub systems in SUBSYSTEMS to be assigned to the user.

when the flag id is 'DS' - An already existing user will be assigned to additional sub systems. The details of the sub systems will be provided in SUBSYSTEMS.

Example

CALL FUNCTION '/VIRSA/CREATE_USER_CUA
,,EXPORTING
,,,,FLAGID = flagid
,,,,USERNAME = username
,,,,NAME_IN = name_in
,,,,LOGONDATA = logondata
,,,,PASSWORD = password
,,,,DEFAULTS = defaults
,,,,ADDRESS = address
,,,,COMPANY = company
,,,,SNC = snc
,,,,REF_USER = ref_user
,,,,ALIAS = alias
,,,,EX_ADDRESS = ex_address
,,,,NEW_SYSTEM = new_system
,,TABLES
,,,,RETURN = return[]
,,,,SUBSYSTEMS = subsystems[].

Notes

Further information





Parameters

ADDCOMREM
ADDCOMX
ADDFAX
ADDPAG
ADDPRT
ADDRESS
ADDRESSX
ADDRFC
ADDRML
ADDSMTP
ADDSSF
ADDTEL
ADDTLX
ADDTTX
ADDURI
ADDX400
ALIAS
ALIASX
BACK_DISTRIBUTION
COMPANY
COMPANYX
DEFAULTS
DEFAULTSX
EXTIDHEAD
EXTIDPART
EXTIDSX
EX_ADDRESS
FLAGID
FORCE_SYSTEM_ASSIGNMENT
GENERATE_PASSWORD
GEN_PASSWORD
GROUPS
GROUPSX
LOGONDATA
LOGONDATAX
NAME_IN
NEW_SYSTEM
PARAMETER
PARAMETER1
PARAMETERX
PASSWORD
PASSWORDX
REF_USER
REF_USERX
RETURN
SNC
SNCX
SUBSYSTEMS
UCLASS
UCLASSSYS
UCLASSX
USERNAME

Exceptions

Function Group

SA/SAPLAECUHR

BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4589 Date: 20240419 Time: 031859     sap01-206 ( 55 ms )