SAP Reports / Programs

RSUSR402 SAP ABAP Report - Download user data for CA manager from Secude







RSUSR402 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RSUSR402 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SNC2 - Export SNC name of user


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 RSUSR402. "Basic submit
SUBMIT RSUSR402 AND RETURN. "Return to original report after report execution complete
SUBMIT RSUSR402 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: BNAME = User name
Selection Text: COMPANY = Company
Selection Text: ERDAT = Created on
Selection Text: FILENAME = File name
Selection Text: PCFILE = File name
Selection Text: S_APPL = Export to application server
Selection Text: S_PC = Download to PC
Title: Download user data for CA manager from Secude
Text Symbol: 001 = Number of user records:
Text Symbol: 002 = Error opening file !
Text Symbol: 003 = Error during download
Text Symbol: 004 = Download User Data
Text Symbol: SEL = Choose User
Text Symbol: TPC = Download to PC
Text Symbol: TRG = Select export file
Text Symbol: TSV = Export to application server


INCLUDES used within this REPORT RSUSR402

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:

SUSR_USER_ADDRESS_READ call function 'SUSR_USER_ADDRESS_READ' exporting user_name = intusr02-bname importing * user_address = user_address user_usr03 = user_usr03 exceptions user_address_not_found = 1 others = 2.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting * BIN_FILESIZE = filename = fullpath filetype = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = tables data_tab = data_tab exceptions others = 1 .

BAL_LOG_CREATE call function 'BAL_LOG_CREATE' exporting i_s_log = ls_log importing e_log_handle = gv_log_handle exceptions others = 1.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_s_msg = gs_msglog exceptions others = 1.

BAL_DSP_PROFILE_NO_TREE_GET call function 'BAL_DSP_PROFILE_NO_TREE_GET' importing e_s_display_profile = ls_display_profile exceptions others = 1.

BAL_DSP_LOG_DISPLAY call function 'BAL_DSP_LOG_DISPLAY' exporting i_s_display_profile = ls_display_profile exceptions profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 others = 5.



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