During the sap go live, you need many many user ID need by created and assigned auth to this user.so how can create user id and assign auth to user in SAP system.
you can use BAPI :
create user ID with this BAPI: BAPI_USER_CREATE1
parameter as following:
1.username:you want create user ID.
password:initial PWD
default:
SPLD:print device
S:DEFAULTS-SPDB
Print parameter 2
Possible values: H(old) for hold, G(o) for output immediately.
DEFAULTS-SPDA
Print parameter 3
Possible values: D(elete) for delete immediately, K(eep) for keep.
DEFAULTS-DATFM
Date format
Possible values:
1 DD.MM.YYYY
2 MM/DD/YYYY
3 MM-DD-YYYY
4 YYYY.MM.DD
5 YYYY/MM/DD
6 YYYY-MM-DD
DEFAULTS-DCPFM
Decimal point format
Values:
' ' 1234567,89
X 1234567.89
Y 1 234 567,89
DEFAULTS-LANGU
Language:ZH is Chinese EN is English
address:
lastname: you must fill this field.
department:
assign auth to user with this BAPI:BAPI_USER_ACTGROUPS_ASSIGN
parameter as following:
USERNAME:logon user ID
ACTIVITYGROUPS:roles