SAP Reports / Programs | Basis Components | Security | User and Authorization Management(BC-SEC-USR-ADM) SAP BC

SUSR_USER_EXPORT_TO_FILE SAP ABAP Report - Write user masters to a file







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


Text pool values


Selection Text: XZUSATZ = Additional ID
Selection Text: XWEEK = Calendar week (WW.YYYY)
Selection Text: XSYST = System ID
Selection Text: XMANDT = Client
Selection Text: XFILENAM = Export file
Selection Text: XDELTAB = Delete user data (olt)
Selection Text: GRUPPE = User Group
Selection Text: DATE = From creation date
Title: Write user masters to a file
Text Symbol: 606 = Does not exist or could not be deleted
Text Symbol: 605 = cannot be deleted (current data missing)
Text Symbol: 604 = deleted
Text Symbol: 603 = User data data cluster from KW
Text Symbol: 602 = <- total users
Text Symbol: 601 = Log:
Text Symbol: 600 = S.no. User First name Last name
Text Symbol: 201 = is overwritten
Text Symbol: 200 = File already exists:
Text Symbol: 110 = User group does not exist
Text Symbol: 105 = <- Data inconsistent
Text Symbol: 104 = <- Data consistent
Text Symbol: 103 = Check your selection
Text Symbol: 102 = No user master records found
Text Symbol: 101 = No data found:
Text Symbol: 100 = No authorization for this program
Text Symbol: 012 = Export file
Text Symbol: 011 = Default parameter
Text Symbol: 010 = User selection
Text Symbol: 001 = Program cannot run in this system


INCLUDES used within this REPORT SUSR_USER_EXPORT_TO_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:

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

PFL_CHECK_OS_FILE_EXISTENCE * call function 'PFL_CHECK_OS_FILE_EXISTENCE' * exporting * fully_qualified_filename = check_file_name * importing * file_exists = file_flag.

POPUP_TO_DECIDE_INFO * call function 'POPUP_TO_DECIDE_INFO' * exporting * defaultoption = 'J' * textline1 = yfilenam * textline2 = text-201 * titel = text-200 * importing * answer = zanswer.

POPUP_TO_DISPLAY_TEXT * call function 'POPUP_TO_DISPLAY_TEXT' * exporting * titel = text-101 * textline1 = text-102 * textline2 = text-103.

BAPI_USER_GET_DETAIL * call function 'BAPI_USER_GET_DETAIL' * exporting * username = username * importing * logondata = tlogondata+12 * defaults = tdefaults+12 * address = taddress+12 * company = tcompany+12 * tables * parameter = xparameter * profiles = xprofiles * activitygroups = xactivitygroups * return = return.



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