SAP Reports / Programs

SPI_TEST_ASTAT SAP ABAP Report - PMI: Test Application Statistics







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


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


Text pool values


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


INCLUDES used within this REPORT SPI_TEST_ASTAT

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:

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.



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