SPI_TEST_ASTAT 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 SPI_TEST_ASTAT 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.
Title: PMI: Test Application Statistics
Text Symbol: C00 = Number of Retries
Text Symbol: C01 = Number of Entries per Work Process
Text Symbol: C02 = Number of Parallel Work Processes
Text Symbol: C03 = Pause After Error
Text Symbol: C04 = Server Name
Text Symbol: C05 = Check for Duplicate Entries
Text Symbol: C06 = Check Order of Entries
Text Symbol: T01 = Server Selection
Text Symbol: T02 = Options
Text Symbol: T03 = Test Data
Text Symbol: T04 = Additional Checks
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PF_ASTAT_CLOSE_FILE CALL FUNCTION 'PF_ASTAT_CLOSE_FILE'.
SPI_TEST_WRITE_ASTAT_RECORDS CALL FUNCTION 'SPI_TEST_WRITE_ASTAT_RECORDS' DESTINATION 'NONE' STARTING NEW TASK iv_asyncron_task_name CALLING on_end_of_writing ON END OF TASK EXPORTING iv_open_key = gv_astat_open_key it_records = it_record_content.
SPI_TEST_WRITE_ASTAT_RECORDS CALL FUNCTION 'SPI_TEST_WRITE_ASTAT_RECORDS' EXPORTING iv_open_key = gv_astat_open_key it_records = it_record_content.
PF_ASTAT_FLUSH_BUFFER CALL FUNCTION 'PF_ASTAT_FLUSH_BUFFER'.
PF_ASTAT_OPEN_FILE CALL FUNCTION 'PF_ASTAT_OPEN_FILE' * EXPORTING * FILE = ' ' EXCEPTIONS pf_internal_error = 1 OTHERS = 2 .
PF_ASTAT_READ_FILE CALL FUNCTION 'PF_ASTAT_READ_FILE' EXPORTING * READ_FILE = read_mode = 5 * TARGET_REC_NO = 0 * USER = ' ' end_time = lv_time_from end_date = lv_date_from keyfiltermode = 'I' okey_filter = 'PI*' IMPORTING astatrec = rs_record * ASCOLREC = * RECTYPE = * RECNO = * NEW_FILE = * ACT_FILENAME = * FILEREC = * RECS_IN_FILE = EXCEPTIONS pf_end_of_file = 1 pf_internal_error = 2 pf_parameter_error = 3 OTHERS = 4.
PF_ASTAT_READ_FILE CALL FUNCTION 'PF_ASTAT_READ_FILE' EXPORTING keyfiltermode = 'I' okey_filter = 'PI*' IMPORTING astatrec = rs_record EXCEPTIONS pf_end_of_file = 1 pf_internal_error = 2 pf_parameter_error = 3 OTHERS = 4.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' "#EC FB_OLDED IMPORTING ev_guid_32 = l_guid.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' * EXPORTING * SERVICES = 255 * SYSSERVICE = 0 * ACTIVE_SERVER = 1 TABLES list = lt_server_list * LIST_IPV6 = EXCEPTIONS no_server_list = 1 OTHERS = 2 .
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P_DEST' values = lt_vrm_values EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
SPI_TEST_ASTAT_REMOTE CALL FUNCTION 'SPI_TEST_ASTAT_REMOTE' DESTINATION p_dest EXPORTING iv_rpt = p_rpt iv_count = p_count iv_thrds = p_thrds iv_stop = p_stop.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SPI_TEST_ASTAT - PMI: Test Application Statistics SPI_TEST_ASTAT - PMI: Test Application Statistics SPI_STAT_SET_DEFAULT_CONFIG - SPISTATSETDEFAULTCONFIG SPI_STAT_SET_DEFAULT_CONFIG - SPISTATSETDEFAULTCONFIG SPI_STAT_REC_CLEANUP - Deleting old statistical records from buffer (corresponding config) SPI_STAT_REC_CLEANUP - Deleting old statistical records from buffer (corresponding config)