SEC_TRACE_ANALYZER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The primary goal of this report is to achieve a
If you would like to execute this report or see the full code listing simply enter SEC_TRACE_ANALYZER 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.
Selection Text: PUSER = User (space=all users)
Selection Text: PURL = ICF Service
Selection Text: PTMOUT = Timeout
Selection Text: PSERVER = Server
Selection Text: PREC = Record Requests
Selection Text: PLVL = Level (1=errors to 3=verbose)
Selection Text: PICMTRC = Set ICMAN Trace Level
Selection Text: PCLNT = Client dependent
Selection Text: PAUTH = Logon Trace (got HTTP 401)
Title: HTTP Request Tracer and Recorder
Text Symbol: T58 = Work process trace files and ICM trace files have been reset
Text Symbol: T57 = Error while setting ICM trace level. Make sure ICM is running, check transaction (SMICM)
Text Symbol: T56 = 5. Show ICMAN Trace
Text Symbol: T55 = 4. Show Recorded Requests
Text Symbol: T31 = ICF recorder and trace is activated. Execute your scenario now
Text Symbol: T30 = Could not activate ICF recorder
Text Symbol: T20 = No
Text Symbol: T19 = Yes
Text Symbol: T18 = Please confirm
Text Symbol: T17 = Other users have active tracing sessions. Do you really want to reset the traces?
Text Symbol: T16 = Trace Settings
Text Symbol: T10 = Netzwerkadministration
Text Symbol: T09 = SICF
Text Symbol: T08 = Trace is activated. Execute your scenario now on the current application server
Text Symbol: T07 = Could not activate user trace.
Text Symbol: T06 = Work process trace files have been reset
Text Symbol: T05 = Cannot select user trace
Text Symbol: T04 = Select the user you want to read traces for
Text Symbol: T03 = 3. Show User Trace
Text Symbol: T02 = 2. Activate User Trace
Text Symbol: T01 = 1. Reset Trace Files (Caution!)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TH_GET_ACTIVE_SERVER CALL FUNCTION 'TH_GET_ACTIVE_SERVER' EXPORTING local_tabname = '' tabname = '' IMPORTING server = pserver.
STRC_SELECT_USER_TRACE CALL FUNCTION 'STRC_SELECT_USER_TRACE' EXPORTING * SERVER = user = puser loadmask = 'NH' displaymask = 'NH' * UPDATE = * IMPORTING * LOADMASK = * DISPLAYMASK = EXCEPTIONS server_not_active = 1 communication_failure = 2 OTHERS = 3.
HTTP_TRACE_UPDATE CALL FUNCTION 'HTTP_TRACE_UPDATE' EXPORTING url = purl * call_url = orig_url * url_determ = gl_url gui_ipaddress_flag = abap_false action = 'I' trace_level = plvl timeout = ptmout clnt_depent = pclnt user = puser * GUI_IPADDRESS = gl_debug_ip_adress * gui_ipaddress_gen = gl_debug_ip_adress CHANGING int_icfattrib = lt_ca EXCEPTIONS internal_error = 1 OTHERS = 2.
HTTP_RECORD_UPDATE CALL FUNCTION 'HTTP_RECORD_UPDATE' EXPORTING url = purl gui_ipaddress_flag = abap_false action = 'I' record_level = plvl timeout = ptmout clnt_depent = pclnt user = sy-uname * url_determ = rec_url life_day = 0 life_time = lf_life_time rec_logon = pauth * call_url = orig_url CHANGING int_icfattrib = lt_ca EXCEPTIONS internal_error = 1 not_allowed_process_record = 2 OTHERS = 3.
TH_WPINFO CALL FUNCTION 'TH_WPINFO' EXPORTING with_cpu = '00' with_mtx_info = 1 TABLES wplist = wp_tabl EXCEPTIONS OTHERS = 0.
TH_GET_WP_TRACE CALL FUNCTION 'TH_GET_WP_TRACE' EXPORTING wp_id = wp_tabl-wp_index IMPORTING trc = ls_trc.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Please confirm'(t18) * DIAGNOSE_OBJECT = Diagnose text_question = 'Other users have active tracing sessions. Do you really want to reset the traces?'(t17)
TH_RESET_TRACE CALL FUNCTION 'TH_RESET_TRACE'.
ICM_RESET_TRACE CALL FUNCTION 'ICM_RESET_TRACE' EXCEPTIONS icm_op_failed = 1 icm_not_authorized = 2 OTHERS = 3.
SHOW_SICFTREE CALL FUNCTION 'SHOW_SICFTREE' EXPORTING nodtype = 'SERVICE' with_navigation = space IMPORTING * selected_node = int_nodguid selected_path = l_url * selected_extend_url = int_alt_path * hostname = int_hostname * hashvalue = gl_selected_hash.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SEC_TRACE_ANALYZER - HTTP Request Tracer and Recorder SEC_TRACE_ANALYZER - HTTP Request Tracer and Recorder SECXML_XENCRYPTION - XML Encryption Test Program SECXML_XENCRYPTION - XML Encryption Test Program SECXML_SIGN_SIGNED_XML - Example how to sign signed XML SECXML_SIGN_SIGNED_XML - Example how to sign signed XML