PF_ASTAT_TEST 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 PF_ASTAT_TEST 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.
Selection Text: COMM = With Commit (for Write)
Selection Text: DATUM = From Date (for Read)
Selection Text: FILENAME = File Name
Selection Text: FUNCTION = Function (W,C,R,P)
Selection Text: IKEYFILT = Initial Key Filter
Selection Text: KEYFILMD = Filter Modes (IKEY/OKEY)
Selection Text: MAXOPEN = MAXOPEN
Selection Text: MAXRECS = Maximum Number of Sets (Read)
Selection Text: MODUS = Read Mode (for Read)
Selection Text: OKEYFILT = Open Key Filter
Selection Text: RFC_END = RFC Only at End (for Write)
Selection Text: ROLLBACK = With Rollback (for Write)
Selection Text: SATZ = Set Number (for Read)
Selection Text: SCHLEIFE = Number of Program Runs (Write)
Selection Text: TEST_RFC = Test with RFC (for Write)
Selection Text: TEST_SUB = Test with SUBMIT (for write)
Selection Text: TIMELONG = Duration (Funct.P:Performance)
Selection Text: TRACE = With SAP Trace (for Write)
Selection Text: USER = User (for Read)
Selection Text: ZEIT = Time (for Read)
Title: Program to Test the Application Statistics Functions
INCLUDE PERFINCL.
INCLUDE PF_ASTAT_TEST_F1.
INCLUDE PF_ASTAT_TEST_PRINT.
INCLUDE PF_ASTAT_TEST_WORK.
No SAP DATABASE tables are accessed within this REPORT code!
RSTR_ACTIVATE_USER_TRACE call function 'RSTR_ACTIVATE_USER_TRACE' exporting trc_sql = 'X' trc_tbuf = 'X' trc_enque = 'X' trc_rfc = 'X' trc_auth = 'X' trc_cmod = 'X' trc_user = 'X' trc_http = 'X'.
RSTR_DEACTIVATE_USER_TRACE call function 'RSTR_DEACTIVATE_USER_TRACE'.
PF_ASTAT_FLUSH_BUFFER call function 'PF_ASTAT_FLUSH_BUFFER'.
GET_SYSTEM_TIMEZONE call function 'GET_SYSTEM_TIMEZONE' importing timezone = system_time_zone exceptions customizing_missing = 1 others = 2.
PF_ASTAT_READ_FILE call function 'PF_ASTAT_READ_FILE' exporting read_file = filename read_mode = modus target_rec_no = satz user = user end_time = zeit end_date = datum keyfiltermode = keyfilmd ikey_filter = ikeyfilt okey_filter = okeyfilt importing astatrec = asrecord ascolrec = ascrecord rectype = rectype recno = number filerec = filerec recs_in_file = filerecs new_file = new_file act_filename = act_file exceptions others = 4.
PF_ASTAT_CLOSE_FILE call function 'PF_ASTAT_CLOSE_FILE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PF_ASTAT_TEST - Program to Test the Application Statistics Functions PF_ASTAT_TEST - Program to Test the Application Statistics Functions PF_ASTAT_SUBMIT - Called by SUBMIT AND RETURN by PF_ASTAT_TEST PF_ASTAT_SUBMIT - Called by SUBMIT AND RETURN by PF_ASTAT_TEST PFREORGTOP - documentation and ABAP source code PFREORGRAWTOP - documentation and ABAP source code