RSUSR007 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 RSUSR007 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.
Selection Text: R_USER = D .
Title: Display Users with Incomplete Address Data
Text Symbol: 270 = Type
Text Symbol: 266 = Log Display
Text Symbol: 265 = Incomplete Address Data for &1 of &2 Users
Text Symbol: 264 = Display...
Text Symbol: 262 = Checking address data...
Text Symbol: 261 = Creating user list...
Text Symbol: 256 = Other Communication
Text Symbol: 255 = Search Terms
Text Symbol: 252 = Communication
Text Symbol: 251 = Person
Text Symbol: 250 = Company
Text Symbol: 213 = Deselect All
Text Symbol: 212 = Select All
Text Symbol: 211 = Data Maintained
Text Symbol: 210 = No Data
Text Symbol: 201 = User
Text Symbol: 152 = additional selections that are not displayed
Text Symbol: 151 = The selection screen contains
Text Symbol: 033 = Selection Criteria:
Text Symbol: 032 = Changed By
Text Symbol: 031 = Client
Text Symbol: 030 = System
Text Symbol: 002 = Number of Users Selected
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_name IMPORTING result = sa_pers EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_name IMPORTING result = ds_pers EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_name info = quickinfo IMPORTING result = gv_icon_ok EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = 'Collecting list of users...'(261).
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADDR3_DATA' CHANGING ct_fieldcat = lt_fieldcat_addr3 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SZA5_D0700' CHANGING ct_fieldcat = lt_fieldcat_d0700 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = lv_tmp_percentage text = 'Checking address data...'(262).
BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'S' cl = '01' number = '512' par1 = lf_msgv1 IMPORTING return = ls_return.
BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = ls_users-bname IMPORTING address = gs_address TABLES return = lt_return addtel = gt_addtel addfax = gt_addfax addttx = gt_addttx addtlx = gt_addtlx addsmtp = gt_addsmtp addrml = gt_addrml addx400 = gt_addx400 addprt = gt_addprt addssf = gt_addssf adduri = gt_adduri addpag = gt_addpag.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = 'Display is starting...'(264).
REUSE_ALV_GRID_DISPLAY * CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' * EXPORTING * i_grid_title = gv_grid_title * is_layout = gs_layout * it_fieldcat = gt_user_fieldcat[] * it_sort = gt_sort[] * i_save = space " don't save variants * is_variant = gs_variant * TABLES * t_outtab = gt_user_alv * EXCEPTIONS * program_error = 1 * OTHERS = 2.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = lf_icon_name IMPORTING result =
-type_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = gv_grid_title is_layout = gs_layout it_fieldcat = gt_log_fieldcat[] it_sort = gt_sort[] i_save = space " don't save variants is_variant = gs_variant TABLES t_outtab = gt_log_alv EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSUSR007 - Display Users with Incomplete Address Data RSUSR007 - Display Users with Incomplete Address Data RSUSR006 - Locked Users and Users with Incorrect Logons RSUSR006 - Locked Users and Users with Incorrect Logons RSUSR005 - List of Users With Critical Authorizations RSUSR005 - List of Users With Critical Authorizations