SMETRICS01 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 SMETRICS01 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SMET - Display frequency of function calls
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: UNUSED = Including non-entered functns
Selection Text: PROGS = Program
Title: Display the number of function calls in programs
Text Symbol: 009 = Start at
Text Symbol: 010 = Hours
Text Symbol: 011 = No
Text Symbol: 012 = Found RFC problems
Text Symbol: 013 = No
Text Symbol: 014 = Program
Text Symbol: 015 = Short text
Text Symbol: 031 = Display frequency of e n t e r e d functions
Text Symbol: 001 = Measurement Environment: System, Client, Hosts, Programs, Period
Text Symbol: 002 = System
Text Symbol: 003 = Client
Text Symbol: 004 = Current date
Text Symbol: 005 = Time
Text Symbol: 006 = No
Text Symbol: 007 = Servers
Text Symbol: 008 = Start on
Text Symbol: 041 = Display the frequency of n o n - entered functions
Text Symbol: 042 = Program
Text Symbol: 043 = Function
Text Symbol: 044 = Function text
Text Symbol: 101 = Determine programs entered
Text Symbol: 032 = Calls = Total number of calls
Text Symbol: 033 = Average = Average number of calls per hour and server
Text Symbol: 034 = Program / 1st text
Text Symbol: 035 = Status / 2nd text
Text Symbol: 036 = Function / 3rd text
Text Symbol: 037 = Function text
Text Symbol: 038 = Calls
Text Symbol: 039 = Medium
INCLUDE LSMETRICSMAC.
No SAP DATABASE tables are accessed within this REPORT code!
SMET_METRICS_ALL_SERVERS_GET call function 'SMET_METRICS_ALL_SERVERS_GET' exporting only_local_server = space tables all_buffer_infos = all_buffer_infos all_function_counters = all_function_counters all_rfc_errors = all_rfc_errors exceptions no_servers_found = 1 no_metrics_found = 2 others = 3.
SMET_METRICS_ALL_SERVERS_GET call function 'SMET_METRICS_ALL_SERVERS_GET' exporting only_local_server = space tables all_buffer_infos = all_buffer_infos all_function_counters = all_function_counters all_rfc_errors = all_rfc_errors exceptions no_servers_found = 1 no_metrics_found = 2 others = 3.
RS_CUA_INTERNAL_FETCH call function 'RS_CUA_INTERNAL_FETCH' exporting program = program_id-program_id tables sta = sta fun = fun men = men mtx = mtx act = act but = but pfk = pfk set = set doc = doc tit = tit biv = biv exceptions others = 1.
DURATION_DETERMINE call function 'DURATION_DETERMINE' exporting unit = 'H' importing duration = hours changing start_date = date start_time = time end_date = sy_datum end_time = sy_uzeit exceptions factory_calendar_not_found = 1 date_out_of_calendar_range = 2 date_not_valid = 3 unit_conversion_error = 4 si_unit_missing = 5 parameters_not_valid = 6 others = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SMETRICS01 - Display the number of function calls in programs SMETRICS01 - Display the number of function calls in programs SMAPTYPES01 - documentation and ABAP source code SMAN_ARCHIVE_MONI_DATA - Archive Data From Schedule Manager Monitor SMAN_ARCHIVE_MONI_DATA - Archive Data From Schedule Manager Monitor SMANEXCL - documentation and ABAP source code