SAP Reports / Programs

SUSR_USER_IMPORT_FROM_FILE SAP ABAP Report - Import user master records from file







SUSR_USER_IMPORT_FROM_FILE 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 SUSR_USER_IMPORT_FROM_FILE 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 SUSR_USER_IMPORT_FROM_FILE. "Basic submit
SUBMIT SUSR_USER_IMPORT_FROM_FILE AND RETURN. "Return to original report after report execution complete
SUBMIT SUSR_USER_IMPORT_FROM_FILE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Import user master records from file
Text Symbol: 814 = Not completed
Text Symbol: 813 = Data not imported
Text Symbol: 812 = No data found
Text Symbol: 810 = Data imported
Text Symbol: 804 = No. Type Quantity
Text Symbol: 803 = User
Text Symbol: 802 = No. Data source Status
Text Symbol: 801 = Accesses
Text Symbol: 800 = L O G
Text Symbol: 609 = Total
Text Symbol: 607 = Already exists
Text Symbol: 606 = Not created
Text Symbol: 605 = New objects
Text Symbol: 604 = User off
Text Symbol: 603 = Table
Text Symbol: 602 = <- total users
Text Symbol: 601 = File
Text Symbol: 600 = S.no. User First name Last name
Text Symbol: 500 = None
Text Symbol: 113 = Check your entries
Text Symbol: 112 = Check format
Text Symbol: 109 = No data exists:
Text Symbol: 106 = <- not created
Text Symbol: 105 = Data could not be imported
Text Symbol: 104 = <- created
Text Symbol: 103 = <- already exists
Text Symbol: 101 = Does not exist
Text Symbol: 100 = No authorization for this progam
Text Symbol: 011 = Data Source
Text Symbol: 010 = General parameters
Text Symbol: 001 = Program cannot run in this system


INCLUDES used within this REPORT SUSR_USER_IMPORT_FROM_FILE

No INCLUDES are used within this REPORT code!


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_CREATE * call function 'BAPI_USER_CREATE' * exporting * username = username * logondata = logondata * password = password * defaults = defaults * address = address * company = company * tables * parameter = parameter * return = return.

ADDR_MEMORY_CLEAR * call function 'ADDR_MEMORY_CLEAR' * exporting * force = 'X'.

BAPI_USER_PROFILES_ASSIGN * call function 'BAPI_USER_PROFILES_ASSIGN' * exporting * username = username * tables * profiles = profiles * return = return.

BAPI_USER_ACTGROUPS_ASSIGN * call function 'BAPI_USER_ACTGROUPS_ASSIGN' * exporting * username = tuser1(12) * tables * activitygroups = activitygroups * return = return.

SUSR_USER_ADDRESSKEY_GET * call function 'SUSR_USER_ADDRESSKEY_GET' * exporting * bname = user_mod-bname * importing * persnumber = user_persnumber * addrnumber = user_addrnumber * exceptions * address_not_found = 1 * others = 2.

DATE_GET_WEEK * call function 'DATE_GET_WEEK' * exporting * date = sy-datum * importing * week = start_week * exceptions * date_invalid = 01.

DATE_COMPUTE_DAY * call function 'DATE_COMPUTE_DAY' * exporting * date = sy-datum * importing * day = week_day.

SUSR_USER_ADDRESS_READ * call function 'SUSR_USER_ADDRESS_READ' * exporting * user_name = xusr02-bname * read_db_directly = 'J' * importing * user_usr03 = usr03_address * exceptions * user_address_not_found = 1 * others = 2.



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 SUSR_USER_IMPORT_FROM_FILE or its description.