SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Runtime Analysis(BC-DWB-TOO-RTA) SAP BC

RSQLM_DOWNLOAD_DATA SAP ABAP Report - Download SQLM data to file







RSQLM_DOWNLOAD_DATA 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 RSQLM_DOWNLOAD_DATA 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 RSQLM_DOWNLOAD_DATA. "Basic submit
SUBMIT RSQLM_DOWNLOAD_DATA AND RETURN. "Return to original report after report execution complete
SUBMIT RSQLM_DOWNLOAD_DATA 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: SO_OBJTP = Object Type
Selection Text: SO_OBJNA = Object Name
Selection Text: SO_DEVC = Package
Selection Text: P_TMTIME = Export Top n Execution Times
Selection Text: P_TMNONE = Export All Results
Selection Text: P_TMEXEC = Export Top n Executions
Selection Text: P_MAXREC = Top n Limit Count
Selection Text: P_FILE = File
Title: Download SQLM data to file
Text Symbol: 025 = Top n Statement Selection
Text Symbol: 024 = Top n Limit Count must be between 1 and 1000
Text Symbol: 023 = Error while loading SQLM data
Text Symbol: 022 = Cancelled by user
Text Symbol: 021 = No
Text Symbol: 020 = Yes
Text Symbol: 019 = Specified file already exists. Do you want to go on and overwrite?
Text Symbol: 018 = Overwrite existing file
Text Symbol: 017 = Input of file destination necessary.
Text Symbol: 016 = Destination...
Text Symbol: 015 = File
Text Symbol: 014 = File destination
Text Symbol: 013 = For newer versions usage of partitioned export is highly recommended.
Text Symbol: 012 = Using unpartitioned export is suitable for uploads to older versions of SWLT (NW 740 SP2).
Text Symbol: 011 = Unpartitioned
Text Symbol: 010 = Partitioned
Text Symbol: 009 = Downloading SQLM data...
Text Symbol: 008 = Backward compatibility
Text Symbol: 007 = This could be caused by selection criteria.
Text Symbol: 006 = No meta data retrieved.
Text Symbol: 005 = No SQLM data retrieved.
Text Symbol: 004 = Object Set
Text Symbol: 003 = .zip
Text Symbol: 002 = _
Text Symbol: 001 = Snapshot


INCLUDES used within this REPORT RSQLM_DOWNLOAD_DATA

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:

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = progress_message.

SQLM_DATA_GET_TOP_STMT_KEYS call function 'SQLM_DATA_GET_TOP_STMT_KEYS' exporting devclasses = me->devclasses filter = me->filter objnames = me->objnames objtypes = me->objtypes top_statements_nr = me->top_statements_nr top_statements_order = me->top_statements_order importing top_statements_keys = me->top_stmt_keys exceptions others = 0.

SQLM_DATA_GET_NEXT_RECORDS call function 'SQLM_DATA_GET_NEXT_RECORDS' exporting block_size = sqlm_records_fetch_block_size devclasses = me->devclasses filter = me->filter objnames = me->objnames objtypes = me->objtypes starting_record = me->offset_record top_stmt_keys = me->top_stmt_keys importing records = e_sqlm_records number_of_records = number_of_records has_more_records = e_has_more_records exceptions failure = 1 others = 2.

SQLM_GET_METADATA call function 'SQLM_GET_METADATA' exporting table_names = me->tables_for_meta_data importing meta_data_tables = l_meta_data.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Overwrite existing file'(018) text_question = 'Specified file already exists. Do you want to go on and overwrite?'(019)

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Backward compatibility'(008) text_question = popup_message text_button_1 = 'Partitioned'(010) icon_button_1 = 'ICON_WD_INTERFACE_VIEWS' text_button_2 = 'Unpartitiond'(011) icon_button_2 = 'ICON_WD_INTERFACE_VIEW' default_button = '1' display_cancel_button = 'X' importing answer = answer.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_OPEN_FOLDER' text = 'Destination...'(016)



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