SAP Reports / Programs | Basis Components | Installation Tools(BC-INS) SAP BC

INST_USER_CREATE SAP ABAP Report - Installation: creating Admin user







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT INST_USER_CREATE. "Basic submit
SUBMIT INST_USER_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT INST_USER_CREATE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT INST_USER_CREATE

INCLUDE INST_FUNC_MODULES.
INCLUDE INST_CONST.
INCLUDE INST_USER_CREATE_PARAM.
INCLUDE INST_USER_CREATE_DEF.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name INST_USER_CREATE or its description.