SAP Reports / Programs

SMETRICS01 SAP ABAP Report - Display the number of function calls in programs







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SMET - Display frequency of function calls


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


Text pool values


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


INCLUDES used within this REPORT SMETRICS01

INCLUDE LSMETRICSMAC.


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:

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.



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