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

RSTRAC25 SAP ABAP Report - SAP Trace (Transaction ST01 - revised version of RSTRAC24)







RSTRAC25 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 RSTRAC25 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

ST01 - System Trace


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


Text pool values


Title: SAP Trace (Transaction ST01 - revised version of RSTRAC24)
Text Symbol: 202 = Create Trace File
Text Symbol: 201 = Write to Trace File
Text Symbol: 200 = Open Trace File
Text Symbol: 151 = rstr/max_files
Text Symbol: 149 = rstr/accept_remote_trace
Text Symbol: 148 = Copy trace during RFC
Text Symbol: 147 = rstr/buffer_size_kB
Text Symbol: 146 = Internal buffer size
Text Symbol: 145 = rstr/max_lock_try
Text Symbol: 144 = Maximum lock duration
Text Symbol: 143 = rstr/stacksize
Text Symbol: 142 = Stack size
Text Symbol: 141 = rstr/max_filesize_MB
Text Symbol: 140 = Maximum trace file size
Text Symbol: 139 = Unknown Error
Text Symbol: 138 = Parameter value too long
Text Symbol: 137 = Unknown OPCODE
Text Symbol: 136 = Error from kernel layer
Text Symbol: 135 = Invalid value
Text Symbol: 134 = Parameter not found
Text Symbol: 133 = Parameter cannot be changed
Text Symbol: 203 = Rename Trace File
Text Symbol: 204 = Delete Trace File
Text Symbol: 205 = Unknown action
Text Symbol: 210 = Not reset
Text Symbol: 211 = Reset by administrator
Text Symbol: 212 = Reset by system
Text Symbol: 220 = No error file found
Text Symbol: 230 = Trace records may be missing
Text Symbol: 231 = Error while writing the trace
Text Symbol: 232 = Analyze
Text Symbol: 233 = Process error
Text Symbol: 234 = Mode of Table Restriction
Text Symbol: 235 = Last Change to Trace Switch (User)
Text Symbol: 236 = Last Change to Trace Switch (Date and Time)
Text Symbol: 237 = Last Error Occurred at Action
Text Symbol: 238 = Date / Time of Last Write Error





Text Symbol: 239 = Number of the Last Write Error
Text Symbol: 240 = Text of Last Write Error
Text Symbol: 241 = EPP Full Context ID
Text Symbol: 242 = EPP Connection ID
Text Symbol: 243 = EPP Call Counter
Text Symbol: 001 = Trace switched on (main switch on)
Text Symbol: 002 = Trace switched off (main switch off)
Text Symbol: 008 = Reset file
Text Symbol: 009 = Reset current trace file?
Text Symbol: 011 = Trace buffer
Text Symbol: 012 = Write all buffers to file?
Text Symbol: 050 = Permitted Table 1
Text Symbol: 051 = Permitted Table 2
Text Symbol: 052 = Permitted Table 3
Text Symbol: 053 = Permitted Table 4
Text Symbol: 054 = Permitted Table 5
Text Symbol: 055 = Locked Table 1
Text Symbol: 056 = Locked Table 2
Text Symbol: 057 = Locked Table 3
Text Symbol: 058 = Locked Table 4
Text Symbol: 059 = Locked Table 5
Text Symbol: 060 = Copy client trace during communication
Text Symbol: 061 = Size of Buffer
Text Symbol: 062 = Permitted C Function
Text Symbol: 063 = Locked C Function
Text Symbol: 064 = Notes on the Saved Trace
Text Symbol: 065 = Name of Trace File Entered Manually
Text Symbol: 066 = Table to Filter
Text Symbol: 067 = Maximum Number of Records
Text Symbol: 068 = Minimum Duration
Text Symbol: 069 = Transaction Code
Text Symbol: 070 = Name of Trace File
Text Symbol: 071 = Transaction ID
Text Symbol: 100 = Available
Text Symbol: 101 = Locked
Text Symbol: 102 = Selection mode
Text Symbol: 103 = More tables
Text Symbol: 110 = No personalization key found
Text Symbol: 111 = Error in Data





Text Symbol: 112 = User does not exist
Text Symbol: 113 = Other error
Text Symbol: 120 = Personalization key not found
Text Symbol: 121 = Data incorrect
Text Symbol: 122 = User not found
Text Symbol: 123 = NOT_SET_TO_DEFAULT
Text Symbol: 124 = Other error
Text Symbol: 131 = No authorization
Text Symbol: 132 = In wrong system


INCLUDES used within this REPORT RSTRAC25

INCLUDE RSTRINCL.
INCLUDE RSTR0110.
INCLUDE RSTR0112.


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:

GET_SYSTEM_TIMEZONE CALL FUNCTION 'GET_SYSTEM_TIMEZONE' IMPORTING TIMEZONE = system_time_zone EXCEPTIONS CUSTOMIZING_MISSING = 1 OTHERS = 2.

TZON_GET_OS_TIMEZONE * call function 'TZON_GET_OS_TIMEZONE' * importing * ef_timezone = system_time_zone * ef_not_unique = unique * ef_not_found = not_found.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-231 * DIAGNOSE_OBJECT = ' ' TEXT_QUESTION = text-230 TEXT_BUTTON_1 = text-232 * ICON_BUTTON_1 = ' ' TEXT_BUTTON_2 = text-233 * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING ANSWER = answer_popup .

RSTR_MANAGE_FILE_ERRORS CALL FUNCTION 'RSTR_MANAGE_FILE_ERRORS'.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-008 TEXT_QUESTION = text-009 DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = ' ' START_COLUMN = 35 START_ROW = 7 IMPORTING ANSWER = brc.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-011 TEXT_QUESTION = text-012 DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = ' ' START_COLUMN = 35 START_ROW = 7 IMPORTING ANSWER = brc.

RSTR_MANAGE_FILE_ERRORS CALL FUNCTION 'RSTR_MANAGE_FILE_ERRORS'.

RSTR_SELECT_BACKUP_FILE call function 'RSTR_SELECT_BACKUP_FILE' EXPORTING function = 'D' EXCEPTIONS no_files = 1 file_error = 2 others = 3.

IWB_HTML_HELP_OBJECT_SHOW call function 'IWB_HTML_HELP_OBJECT_SHOW' exporting * DEVCLASS = tcode = 'ST01' * PROGRAM = * DYNPRONR = * EXTENSION = * FRONTEND_PLATFORM = call_browser = 'X' single_object = ' ' * IMPORTING * ACTION = * FRONTEND_URL = * FRONTEND_PROGRAM = exceptions others = 1.

RSTR_GET_STATUS call function 'RSTR_GET_STATUS' IMPORTING max_filesize = sys_max_filesize max_filecount = filemax stacksize = sys_stacksize lock_time = sys_lock_try mutexlock = mutexstate mutexwpid = mutexpid buffersize = dyn_buffersize buffersize_kb = sys_buffersize_param accept_remote = sys_accept_remote_trace.

RSTR_GET_FILELIST call function 'RSTR_GET_FILELIST' IMPORTING filecount = filecount filelist = files.

RSTR_UNLOCK call function 'RSTR_UNLOCK'.

RSTR_SWITCH_FILE



call function 'RSTR_SWITCH_FILE'.

RSTR_FLUSH_BUFFER CALL FUNCTION 'RSTR_FLUSH_BUFFER'.

RSTR_MANAGE_FILE_ERRORS CALL FUNCTION 'RSTR_MANAGE_FILE_ERRORS'.

IWB_HTML_HELP_OBJECT_SHOW call function 'IWB_HTML_HELP_OBJECT_SHOW' exporting * DEVCLASS = tcode = 'ST01' PROGRAM = 'RSTRAC25' DYNPRONR = '2000' * EXTENSION = * FRONTEND_PLATFORM = call_browser = 'X' single_object = ' ' * IMPORTING * ACTION = * FRONTEND_URL = * FRONTEND_PROGRAM = exceptions others = 1.

ICON_CREATE call function 'ICON_CREATE' EXPORTING name = 'ICON_DISPLAY_MORE' text = text-103 IMPORTING result = button2.

ICON_CREATE call function 'ICON_CREATE' EXPORTING name = 'ICON_ENTER_MORE' text = text-103 IMPORTING result = button2.

ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_name1 add_stdinf = ' ' IMPORTING result = table_button1.

ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_name2 add_stdinf = ' ' IMPORTING result = table_button2.

RSTR_SELECT_BACKUP_FILE call function 'RSTR_SELECT_BACKUP_FILE' importing * rc = rc filename = new_filename exceptions no_files = 1 file_error = 2 others = 3.

ICON_CREATE call function 'ICON_CREATE' EXPORTING name = icon_name1 info = text-102 IMPORTING result = button1.

RSTR_EXTRACT_RECORDS call function 'RSTR_EXTRACT_RECORDS' EXPORTING comment = comment fromdate = date_from fromtime = time_from todate = date_to totime = time_to username = username client = client epp_root_id = epp_root_id epp_connection_id = epp_connection_id tcode = tcode trans_id = transid wpid = wpid min_duration = duration tablelist = tablefilters read_sql = trc_sql read_auth = trc_auth read_enque = trc_enque read_rfc = trc_rfc read_http = trc_http read_cmod = trc_cmod read_user = trc_user read_tbuf = trc_tbuf IMPORTING rec_count = records CHANGING filename = file EXCEPTIONS internal_error = 1 open_error = 2 invalid_parameter = 3 parameter_missing = 4 no_memory = 5 already_open = 6 empty_result = 7 others = 8.

TH_CHANGE_PARAMETER CALL FUNCTION 'TH_CHANGE_PARAMETER' EXPORTING PARAMETER_NAME = text-141 PARAMETER_VALUE = parametervalue CHECK_PARAMETER = 1 EXCEPTIONS NOT_AUTHORIZED = 1 NOT_IN_SAME_SYSTEM = 2 NOT_CHANGEABLE = 3 NOT_FOUND = 4 INVALID_VALUE = 5 SHMPRF_ERROR = 6 UNKNOWN_OPCODE = 7 LENGTH_EXCEEDED = 8 OTHERS = 9.

TH_CHANGE_PARAMETER CALL FUNCTION 'TH_CHANGE_PARAMETER' EXPORTING PARAMETER_NAME = text-143 PARAMETER_VALUE = parametervalue CHECK_PARAMETER = 1 EXCEPTIONS NOT_AUTHORIZED = 1 NOT_IN_SAME_SYSTEM = 2 NOT_CHANGEABLE = 3 NOT_FOUND = 4 INVALID_VALUE = 5 SHMPRF_ERROR = 6 UNKNOWN_OPCODE = 7 LENGTH_EXCEEDED = 8 OTHERS = 9.

TH_CHANGE_PARAMETER CALL FUNCTION 'TH_CHANGE_PARAMETER' EXPORTING PARAMETER_NAME = text-145 PARAMETER_VALUE = parametervalue CHECK_PARAMETER = 1 EXCEPTIONS NOT_AUTHORIZED = 1 NOT_IN_SAME_SYSTEM = 2 NOT_CHANGEABLE = 3 NOT_FOUND = 4 INVALID_VALUE = 5 SHMPRF_ERROR = 6 UNKNOWN_OPCODE = 7 LENGTH_EXCEEDED = 8 OTHERS = 9.

TH_CHANGE_PARAMETER CALL FUNCTION 'TH_CHANGE_PARAMETER' EXPORTING PARAMETER_NAME = text-147 PARAMETER_VALUE = parametervalue CHECK_PARAMETER = 1 EXCEPTIONS NOT_AUTHORIZED = 1 NOT_IN_SAME_SYSTEM = 2 NOT_CHANGEABLE = 3 NOT_FOUND = 4 INVALID_VALUE = 5 SHMPRF_ERROR = 6 UNKNOWN_OPCODE = 7 LENGTH_EXCEEDED = 8 OTHERS = 9.

TH_CHANGE_PARAMETER CALL FUNCTION 'TH_CHANGE_PARAMETER' EXPORTING PARAMETER_NAME = text-149 PARAMETER_VALUE = parametervalue CHECK_PARAMETER = 1 EXCEPTIONS NOT_AUTHORIZED = 1 NOT_IN_SAME_SYSTEM = 2 NOT_CHANGEABLE = 3 NOT_FOUND = 4 INVALID_VALUE = 5 SHMPRF_ERROR = 6 UNKNOWN_OPCODE = 7 LENGTH_EXCEEDED = 8 OTHERS = 9.

RSTR_GET_FILE_ERRORS CALL FUNCTION 'RSTR_GET_FILE_ERRORS' IMPORTING ERRCOUNT = errcount CHANGING LAST_ERROR = last_error EXCEPTIONS OTHERS = 1.

PFL_SHOW_PARAMETER_DOCU CALL FUNCTION 'PFL_SHOW_PARAMETER_DOCU' EXPORTING PARAMETER_NAME = 'rstr/max_filesize_MB' EXCEPTIONS NO_DOCU_FOUND = 1 OTHERS = 2.

PFL_SHOW_PARAMETER_DOCU CALL FUNCTION 'PFL_SHOW_PARAMETER_DOCU' EXPORTING PARAMETER_NAME = 'rstr/max_files' EXCEPTIONS NO_DOCU_FOUND = 1 OTHERS = 2.

PFL_SHOW_PARAMETER_DOCU CALL FUNCTION 'PFL_SHOW_PARAMETER_DOCU' EXPORTING PARAMETER_NAME = 'rstr/stacksize' EXCEPTIONS NO_DOCU_FOUND = 1 OTHERS = 2.

PFL_SHOW_PARAMETER_DOCU CALL FUNCTION 'PFL_SHOW_PARAMETER_DOCU' EXPORTING PARAMETER_NAME = 'rstr/max_lock_try' EXCEPTIONS NO_DOCU_FOUND = 1 OTHERS = 2.

PFL_SHOW_PARAMETER_DOCU CALL FUNCTION 'PFL_SHOW_PARAMETER_DOCU' EXPORTING PARAMETER_NAME = 'rstr/buffer_size_kB' EXCEPTIONS NO_DOCU_FOUND = 1 OTHERS = 2.

PFL_SHOW_PARAMETER_DOCU CALL FUNCTION 'PFL_SHOW_PARAMETER_DOCU' EXPORTING PARAMETER_NAME = 'rstr/accept_remote_trace' EXCEPTIONS NO_DOCU_FOUND = 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 RSTRAC25 or its description.