RSTRAC22 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 RSTRAC22 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: Trace Display
Text Symbol: 390 = EPP Call Counter:
Text Symbol: 395 = Microseconds
Text Symbol: 396 = Bytes
Text Symbol: 400 = Authorization check successful
Text Symbol: 401 = No authorization
Text Symbol: 402 = Incorrect number of parameters
Text Symbol: 403 = No authorization available for object
Text Symbol: 404 = Authorization without a value
Text Symbol: 405 = Field name is inconsistent
Text Symbol: 406 = Unknown SY-SUBRC
Text Symbol: 407 = Checked user does not exist
Text Symbol: 410 = RFC Server Trace Record
Text Symbol: 411 = RFC Server Destination Trace Record
Text Symbol: 412 = RFC Client Trace Record
Text Symbol: 413 = RFC Client Destination Trace Record
Text Symbol: 420 = HTTP Server Trace Record
Text Symbol: 421 = HTTP Server Destination Trace Record
Text Symbol: 422 = HTTP Client Trace Record
Text Symbol: 423 = HTTP Client Destination Trace Record
Text Symbol: 430 = Date
Text Symbol: 431 = Time
Text Symbol: 432 = Work Process
Text Symbol: 433 = Process ID
Text Symbol: 434 = Client
Text Symbol: 435 = Client (other side)
Text Symbol: 436 = Client (Caller)
Text Symbol: 437 = client (RFC)
Text Symbol: 438 = User
Text Symbol: 389 = EPP Connection ID:
Text Symbol: 327 = Line of ABAP
Text Symbol: 328 = Return Code
Text Symbol: 329 = Duration
Text Symbol: 330 = Client/Server
Text Symbol: 340 = Block Header
Text Symbol: 344 = First Trace Block in This Dialog Step
Text Symbol: 345 = Last Trace Block in This Dialog Step
Text Symbol: 346 = There are older blocks in this dialog step
INCLUDE RSTRINCL.
No SAP DATABASE tables are accessed within this REPORT code!
RSTR_CLOSE_FILE CALL FUNCTION 'RSTR_CLOSE_FILE' EXCEPTIONS OTHERS = 1.
RSTR_OPEN_FILE CALL FUNCTION 'RSTR_OPEN_FILE' EXPORTING filename = filename date = datum time = zeit enddate = to_date endtime = to_time username = user client = client tcode = tcode wpid = wpid trans_id = transid epp_root_id = eppid epp_connection_id = eppconid min_duration = resptime tablelist = tablefilters read_sql = sql_recs read_auth = aut_recs read_enque = enq_recs read_rfc = rfc_recs read_http = httprecs read_cmod = cmd_recs read_user = usr_recs read_tbuf = tbf_recs EXCEPTIONS open_error = 1 invalid_parameter = 2 parameter_missing = 3 internal_error = 4 no_memory = 5 already_open = 6 end_of_file = 7.
RSTR_READ_TRACE_REC CALL FUNCTION 'RSTR_READ_TRACE_REC' IMPORTING rectype = rectype block_head = block_head sql_rec = sql_rec auth_rec = auth_rec enque_rec = enque_rec rfc_rec = rfc_rec rfc_server_rec = rfc_server_rec rfc_server_dest_rec = rfc_server_dest_rec rfc_client_rec = rfc_client_rec rfc_client_dest_rec = rfc_client_dest_rec http_server_rec = http_server_rec http_server_dest_rec = http_server_dest_rec http_client_rec = http_client_rec http_client_dest_rec = http_client_dest_rec cmod_rec = cmod_rec user_rec = user_rec tbuf_rec = tbuf_rec string1 = string1 string2 = string2 buffer_object_size = buff_obj_size EXCEPTIONS file_corrupt = 1 internal_error = 2 no_memory = 3 parameter_missing = 4 invalid_parameter = 5 end_of_file = 6 open_error = 7 seek_error = 8 OTHERS = 9.
RSTR_CLOSE_FILE CALL FUNCTION 'RSTR_CLOSE_FILE' EXCEPTIONS * not_open = 1 OTHERS = 0.
RSTR_CLOSE_FILE CALL FUNCTION 'RSTR_CLOSE_FILE' EXCEPTIONS * not_open = 1 OTHERS = 0.
RSTR_EXPLAIN_TBUF_STRING CALL FUNCTION 'RSTR_EXPLAIN_TBUF_STRING' " #EC * EXPORTING tabname = pv_rec-tabname search_len = pv_rec-string_ln search_string = lv_searchstring IMPORTING fieldcount = lv_fieldcount fields = lv_fields EXCEPTIONS * unknown_table = 1 * conversion_error = 2 * internal_error = 3 OTHERS = 0.
EDITOR_PROGRAM CALL FUNCTION 'EDITOR_PROGRAM' EXPORTING display = 'X' line = cont-line program = cont-source EXCEPTIONS application = 1 OTHERS = 2.
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 RSTRAC22 or its description.