SAP Reports / Programs | Basis Components | Client/Server Technology | Low Level Layer(BC-CST-LL) SAP BC

RSTRAC22 SAP ABAP Report - Trace Display







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


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


Text pool values


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





Text Symbol: 347 = There are newer blocks in this dialog step
Text Symbol: 360 = The table
Text Symbol: 361 = Not Known to DDIC
Text Symbol: 362 = No field contents found
Text Symbol: 363 = Content of Individual Fields Being Searched For:
Text Symbol: 364 = Error occurred when decoding field content
Text Symbol: 370 = Field Name
Text Symbol: 371 = D
Text Symbol: 372 = Len
Text Symbol: 373 = Content of Search
Text Symbol: 374 = Unknown data type
Text Symbol: 380 = User:
Text Symbol: 381 = Client:
Text Symbol: 382 = Trans ID:
Text Symbol: 383 = Transaction:
Text Symbol: 384 = Start:
Text Symbol: 385 = Finish:
Text Symbol: 386 = Work Process:
Text Symbol: 387 = Process ID:
Text Symbol: 388 = EPP Full Context ID:
Text Symbol: 469 = Status Code
Text Symbol: 470 = Status Text
Text Symbol: 471 = EngineType
Text Symbol: 472 = Engine Type (other side)
Text Symbol: 473 = Release
Text Symbol: 474 = Release (other side)
Text Symbol: 475 = IP Address
Text Symbol: 476 = IP Address (other side)
Text Symbol: 477 = Virtual Host Number
Text Symbol: 478 = RFC Type
Text Symbol: 479 = Function
Text Symbol: 480 = TID (inbound)
Text Symbol: 481 = Queue (inbound)
Text Symbol: 482 = TID (outbound)
Text Symbol: 483 = Queue (outbound)
Text Symbol: 484 = Logon Procedure
Text Symbol: 485 = Logon Time
Text Symbol: 486 = Authorization Time
Text Symbol: 490 = Duration of Call





Text Symbol: 491 = Execution Duration
Text Symbol: 492 = Exec. Duration (other side)
Text Symbol: 493 = Idling Time
Text Symbol: 494 = Data Sent
Text Symbol: 495 = Sent Application Data
Text Symbol: 496 = Time Taken for Sending
Text Symbol: 497 = Data Received
Text Symbol: 498 = Received Application Data
Text Symbol: 499 = Time Taken for Receiving
Text Symbol: 468 = Path
Text Symbol: 439 = User (other side)
Text Symbol: 440 = User (Caller)
Text Symbol: 441 = User (RFC)
Text Symbol: 442 = Transaction
Text Symbol: 443 = Transaction (other side)
Text Symbol: 444 = Transaction ID
Text Symbol: 445 = Transaction ID (other side)
Text Symbol: 446 = EPP Full Context ID
Text Symbol: 447 = EPP Connection ID
Text Symbol: 448 = EPP Call Counter
Text Symbol: 450 = Version
Text Symbol: 451 = Time Stamp
Text Symbol: 452 = Communication Step
Text Symbol: 453 = Connection ID
Text Symbol: 454 = Number of Calls
Text Symbol: 455 = Target Name
Text Symbol: 456 = Target Name (other side)
Text Symbol: 457 = Instance Name
Text Symbol: 458 = Instance Name (other side)
Text Symbol: 459 = Program
Text Symbol: 460 = Program (other side)
Text Symbol: 461 = Line
Text Symbol: 462 = Line (other side)
Text Symbol: 463 = Protocol
Text Symbol: 464 = Original Protocol
Text Symbol: 465 = Host
Text Symbol: 466 = Port
Text Symbol: 467 = Method
Text Symbol: 326 = ABAP Program



Text Symbol: 140 = AUTH
Text Symbol: 141 = Successful
Text Symbol: 142 = Rejected
Text Symbol: 150 = User
Text Symbol: 161 = BUFF
Text Symbol: 170 = ENQUE
Text Symbol: 180 = RFC
Text Symbol: 181 = HTTP
Text Symbol: 202 = Duration
Text Symbol: 203 = Work Process
Text Symbol: 205 = Program
Text Symbol: 206 = Line
Text Symbol: 210 = SQL- (Database) Trace Record
Text Symbol: 211 = Call
Text Symbol: 212 = Class
Text Symbol: 213 = Operation
Text Symbol: 214 = Table
Text Symbol: 217 = Rows
Text Symbol: 218 = Return Code
Text Symbol: 219 = SQL Command
Text Symbol: 220 = Answer from DB
Text Symbol: 230 = Table Buffer Trace Record
Text Symbol: 231 = Table
Text Symbol: 232 = Key Length
Text Symbol: 233 = Key fields
Text Symbol: 234 = Buffer Type
Text Symbol: 235 = Object Length
Text Symbol: 236 = Return Code
Text Symbol: 136 = Lines:
Text Symbol: 001 = No records that correspond to these search criteria found
Text Symbol: 002 = Operating system error while opening trace file
Text Symbol: 003 = A trace file for read purposes is already open
Text Symbol: 004 = Current trace file is corrupt
Text Symbol: 005 = Internal error occurred while reading trace
Text Symbol: 010 = Records read
Text Symbol: 011 = No. of Records:
Text Symbol: 012 = File Version:
Text Symbol: 013 = Block Version:
Text Symbol: 014 = More Blocks To Come
Text Symbol: 015 = First Block of Dialog Step
Text Symbol: 016 = Subsequent Block in Dialog Step
Text Symbol: 017 = Last Block in Dialog Step
Text Symbol: 018 = Trace Record w. Type
Text Symbol: 100 = hh:mm:ss:ms
Text Symbol: 101 = Lasts(us)
Text Symbol: 102 = Object
Text Symbol: 103 = Type
Text Symbol: 104 = Text
Text Symbol: 120 = CMOD
Text Symbol: 121 = Parameter:
Text Symbol: 122 = Comment:
Text Symbol: 130 = SQL
Text Symbol: 131 = Row:
Text Symbol: 132 = Prog:
Text Symbol: 133 = Buffer:
Text Symbol: 134 = SearchString
Text Symbol: 135 = ReturnCode
Text Symbol: 237 = Search String
Text Symbol: 292 = Operation Code
Text Symbol: 293 = Operation Mode
Text Symbol: 294 = Return Code
Text Symbol: 295 = Enqueue User
Text Symbol: 296 = Enqueue VB User
Text Symbol: 297 = Scope
Text Symbol: 298 = Enqueue User
Text Symbol: 299 = Enque. Transaction
Text Symbol: 300 = List: User
Text Symbol: 301 = List: User
Text Symbol: 302 = List: Object
Text Symbol: 303 = No. of Granulates
Text Symbol: 310 = RFC Trace Record
Text Symbol: 311 = Completed RFC (Without Rollout)
Text Symbol: 312 = Start of RFC (With Rollout at End)
Text Symbol: 313 = End of RFC (After Rollin), Start Missing
Text Symbol: 314 = Completed RFC (With Rollout)
Text Symbol: 315 = Starting Point
Text Symbol: 316 = Exit
Text Symbol: 317 = Conversation ID
Text Symbol: 318 = IP address
Text Symbol: 319 = Remote IP Address
Text Symbol: 320 = Remote Host Name
Text Symbol: 321 = RFC Destination
Text Symbol: 322 = Bytes Sent
Text Symbol: 323 = Bytes Received
Text Symbol: 324 = RFC Time
Text Symbol: 325 = Function Module
Text Symbol: 291 = Lock Object
Text Symbol: 249 = Unknown Additional Information
Text Symbol: 250 = Authorization Trace Record
Text Symbol: 251 = Authorization Obj.
Text Symbol: 252 = SY-SUBRC
Text Symbol: 253 = No.of Auth. Values
Text Symbol: 254 = Authorization Vals
Text Symbol: 255 = Checked User
Text Symbol: 256 = Current Transaction
Text Symbol: 257 = Additional Info.
Text Symbol: 258 = Check: Object Deactivated Globally (AUTH_SWITCH_OBJECTS)
Text Symbol: 259 = Check: Object Deactivated in this Transaction (SU24)
Text Symbol: 260 = C Function Trace Record
Text Symbol: 261 = Action
Text Symbol: 262 = Function (Group)
Text Symbol: 263 = Parameters
Text Symbol: 264 = Duration
Text Symbol: 265 = Comment
Text Symbol: 266 = Start of Function Block
Text Symbol: 267 = End of Function Block
Text Symbol: 268 = Start of C Function
Text Symbol: 269 = End of C Function
Text Symbol: 270 = Unknown Action
Text Symbol: 271 = No Duration at Start of Action
Text Symbol: 280 = Free C Module Trace Record
Text Symbol: 281 = C Module
Text Symbol: 282 = Line Number
Text Symbol: 283 = Comment
Text Symbol: 290 = Enqueue Trace Record


INCLUDES used within this REPORT RSTRAC22

INCLUDE RSTRINCL.


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:

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.



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