INST_USER_CREATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter INST_USER_CREATE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Installation: creating Admin user
Text Symbol: 001 = Insufficient authorization
Text Symbol: 002 = Report is only performed during the installation
Text Symbol: 003 = Cannot read parameter &
Text Symbol: 004 = Cannot read parameter with text &
Text Symbol: 005 = User & successfully created
INCLUDE INST_FUNC_MODULES.
INCLUDE INST_CONST.
INCLUDE INST_USER_CREATE_PARAM.
INCLUDE INST_USER_CREATE_DEF.
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_USER_DELETE CALL FUNCTION 'BAPI_USER_DELETE' EXPORTING USERNAME = username TABLES RETURN = iret2.
BAPI_USER_CREATE CALL FUNCTION 'BAPI_USER_CREATE' EXPORTING USERNAME = P_IUSER-BAPIBNAME LOGONDATA = P_ILOGON PASSWORD = P_IPWD ADDRESS = P_IADDR3 TABLES RETURN = IRET2.
BAPI_USER_PROFILES_ASSIGN CALL FUNCTION 'BAPI_USER_PROFILES_ASSIGN' EXPORTING USERNAME = username TABLES PROFILES = p_iprof RETURN = iret2.
BAPI_USER_ACTGROUPS_ASSIGN CALL FUNCTION 'BAPI_USER_ACTGROUPS_ASSIGN' EXPORTING USERNAME = username TABLES ACTIVITYGROUPS = p_iagr RETURN = iret2.
ENQUEUE_READ CALL FUNCTION 'ENQUEUE_READ' EXPORTING GARG = garg TABLES ENQ = enq EXCEPTIONS OTHERS = 0.
ENQUE_DELETE CALL FUNCTION 'ENQUE_DELETE' EXPORTING SUPPRESS_SYSLOG_ENTRY = selected IMPORTING SUBRC = rc TABLES ENQ = enq.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
INST_USER_CREATE - Installation: creating Admin user INST_USER_CREATE - Installation: creating Admin user INST_URL_GEN - mySAP.com Workplace, URL Generation for Component Systems INST_URL_GEN - mySAP.com Workplace, URL Generation for Component Systems INST_TMS_REPL_VIRT_SYSTEM - Including the Production System in the Transport Domain INST_TMS_REPL_VIRT_SYSTEM - Including the Production System in the Transport Domain