SAP Reports / Programs | Basis Components | ABAP Runtime Environment | Syntax, Compiler, Runtime(BC-ABA-LA) SAP BC

RTM_COLLECT_ALL SAP ABAP Report - Collect RTM Data







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


Text pool values


Title: Collect RTM Data
Text Symbol: E00 = Could not determine servers; data transfer terminated
Text Symbol: E01 = System error in data transfer from server &1
Text Symbol: E02 = Communication error in data transfer from server &1
Text Symbol: E03 = Error in data transfer from server &1
Text Symbol: E04 = Server &1 cannot be reached or is not available
Text Symbol: I00 = Starting data transfer from all servers
Text Symbol: I01 = Ending data transfer from all servers
Text Symbol: O00 = Could not determine servers
Text Symbol: O01 = System error
Text Symbol: O02 = Communication error
Text Symbol: O03 = Error
Text Symbol: P00 = Transferring data from server &1


INCLUDES used within this REPORT RTM_COLLECT_ALL

INCLUDE: TSKHINCL.


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:

RTM_LOG CALL FUNCTION 'RTM_LOG' EXPORTING kind = 'I' text = text-i00." `Starting Collect All`

TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' EXPORTING active_server = 0 TABLES list = thserver EXCEPTIONS no_server_list = 1 OTHERS = 2.

RTM_LOG CALL FUNCTION 'RTM_LOG' EXPORTING kind = 'E' text = text-e00." `RTM_COLLECT_ALL: Could not get servers...Exiting`.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percentage text = text.

RTM_LOG CALL FUNCTION 'RTM_LOG' EXPORTING kind = 'E' text = text.

RTM_COLLECT CALL FUNCTION 'RTM_COLLECT' DESTINATION thserver_wa-name IMPORTING no_of_records = no_of_records EXCEPTIONS communication_failure = 1 system_failure = 2 OTHERS = 5.

RTM_LOG CALL FUNCTION 'RTM_LOG' EXPORTING kind = 'E' text = text.

RTM_LOG CALL FUNCTION 'RTM_LOG' EXPORTING kind = 'E' text = text.

RTM_LOG CALL FUNCTION 'RTM_LOG' EXPORTING kind = 'E' text = text.

RTM_LOG CALL FUNCTION 'RTM_LOG' EXPORTING kind = 'I' text = text-i01." `Collect All Finished.`



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