Menu

SAP Function Module BAPI_USER_CREATE1

Create a User

The Function Module BAPI_USER_CREATE1 (Create a User) is a standard Function Module in SAP ERP and is part of the function group SU_USER within the package SUSR.

Technical Information

Function Module BAPI_USER_CREATE1
Short Text Create a User
Function Group SU_USER
Package SUSR
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ADDRESS LIKE BAPIADDR3 Address Data
ALIAS TYPE BAPIALIAS User Name Alias
COMPANY LIKE BAPIUSCOMP Company for Company Address
DEFAULTS LIKE BAPIDEFAUL Structure with User Defaults
EX_ADDRESS LIKE BAPIADDR3-PERS_NO do not use
FORCE_SYSTEM_ASSIGNMENT TYPE BAPIFLAG-BAPIFLAG Always Perform System Assignment (Even if Called in the Central System)
LOGONDATA LIKE BAPILOGOND Structure with Logon Data
NAME_IN LIKE BAPIBNAME User Name (Suggestion)
PASSWORD LIKE BAPIPWD Password
REF_USER LIKE BAPIREFUS Reference user for rights
SELF_REGISTER TYPE BAPIFLAG-BAPIFLAG SPACE Create for Self-Registration
SNC LIKE BAPISNCU Secure Network Communication data
UCLASS TYPE BAPIUCLASS License-Related User Classification
USERNAME LIKE BAPIBNAME-BAPIBNAME User Name

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EXTIDHEAD LIKE BAPIUSEXTIDHEAD Header Data for External ID of a User
EXTIDPART LIKE BAPIUSEXTIDPART Part of a Long Field for the External ID of a User
GROUPS LIKE BAPIGROUPS Transfer Structure for a List of User Groups
PARAMETER LIKE BAPIPARAM Table with User Parameters
PARAMETER1 LIKE BAPIPARAM1 Replaces parameter (length 18 -> 40)
RETURN LIKE BAPIRET2 Return Structure

Exceptions

This function module does not define any Exceptions.