SAP Reports / Programs

GETSU22TRACEDATA SAP ABAP Report - Transfer Authorization Trace Data from Other Systems







GETSU22TRACEDATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Transfer of authorization trace data from other systems Use this report to improve the quality of the SU22 authorization default status and the SU22 authorization default values...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter GETSU22TRACEDATA 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 GETSU22TRACEDATA. "Basic submit
SUBMIT GETSU22TRACEDATA AND RETURN. "Return to original report after report execution complete
SUBMIT GETSU22TRACEDATA 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: RSYST = RFC Destinations
Selection Text: P_VERB3 = Display All
Selection Text: P_VERB2 = Display Database Changes
Selection Text: P_VERB1 = Display Only Errors/Statistics
Selection Text: P_VERB0 = No Display
Selection Text: P_UP = Dev./ Test Sys. -> ToDo Sys.
Selection Text: P_REPAIR = Write Entries Back
Selection Text: P_NOREP = Display Only Log
Selection Text: P_DOWN = ToDo System -> Original System
Title: Transfer Authorization Trace Data from Other Systems
Text Symbol: 028 = The Following Entries Were Read by RFC:
Text Symbol: 029 = Number of Discarded Entries (Locally Available):
Text Symbol: 030 = The Following Entries Were Discarded (Locally Available):
Text Symbol: 031 = Number of Deleted Entries (No USOTT ENtry):
Text Symbol: 032 = The Following Entries Were Discarded (No USOTT ENtry):
Text Symbol: 033 = Number of Deleted Entries (Locally Available):
Text Symbol: 034 = The Following Entries Were Discarded (Locally Available):
Text Symbol: 035 = Number of Deleted Entries (No USOBX Enty):
Text Symbol: 036 = The Following Entries Were Discarded (No USOBX Entry):
Text Symbol: 037 = The Following Entries Were Written to Table USOTT:
Text Symbol: 038 = Entries will be written back
Text Symbol: 039 = Entries will be deleted (entries too old)
Text Symbol: 040 = Entries will be deleted (bad kernel)
Text Symbol: 041 = Entries copied
Text Symbol: 042 = Entries written back
Text Symbol: 043 = The following entries will be deleted:
Text Symbol: 044 = Entries will be deleted
Text Symbol: 001 = Choose a Read Direction:
Text Symbol: 002 = Choose a Mode:
Text Symbol: 003 = How Detailed Should Output Be?
Text Symbol: 004 = Choose RFC Destinations:
Text Symbol: 005 = RFC Destination:
Text Symbol: 006 = Table Not Available
Text Symbol: 007 = Table Is Empty
Text Symbol: 008 = Invalid Selection Criterion
Text Symbol: 009 = Invalid Field Spec.
Text Symbol: 010 = No Authorization
Text Symbol: 011 = Bufferoverflow





Text Symbol: 012 = No Connection
Text Symbol: 013 = System Not Available
Text Symbol: 014 = Error Without Details
Text Symbol: 015 = Number of Entries Read:
Text Symbol: 016 = The Following Entries Were Read via RFC
Text Symbol: 017 = Connctn:
Text Symbol: 018 = Number of Entries Actually Transferred:
Text Symbol: 019 = Number of Deleted Duplicates:
Text Symbol: 020 = Following Entries Rejected (Do Not Exist):
Text Symbol: 021 = Number of Deleted Entries (Do Not Exist in System)
Text Symbol: 022 = Following Entries Rejected (Not Original System):
Text Symbol: 023 = Number of Deleted Entries (Not Original System):
Text Symbol: 024 = Following Entries Written Back to Table USOBX:
Text Symbol: 025 = Number of Entries Written Back:
Text Symbol: 026 = Following Entries Rejected (Authorization Object Does Not Exist):
Text Symbol: 027 = Number of Deleted Entries (Authorization Object Does Not Exist):


INCLUDES used within this REPORT GETSU22TRACEDATA

No INCLUDES are used within this REPORT code!


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:

AUTH_TRACE_IS_TRANSPORTABLE call function 'AUTH_TRACE_IS_TRANSPORTABLE' exporting p_name = lv_name p_type = lv_type importing p_transportable = lv_transportable exceptions invalid_type = 1 others = 2.

TR_GTADIR_DYNQUERY call function 'TR_GTADIR_DYNQUERY' tables it_query = lt_query et_gtadir = lt_bad_kernel_tadir exceptions system_failure = 1 communication_failure = 2 tr_deny_access = 3 unsupported_exception = 4 others = 5.

FUNCTION_EXISTS call function 'FUNCTION_EXISTS' destination rsyst-low exporting funcname = 'AUTH_TRACE_GET_AUTHVAL_KEY' * IMPORTING * GROUP = * INCLUDE = * NAMESPACE = * STR_AREA = exceptions function_not_exist = 1 communication_failure = 2 system_failure = 3 others = 4.

AUTH_TRACE_GET_AUTHVAL_KEY call function 'AUTH_TRACE_GET_AUTHVAL_KEY' destination rsyst-low importing p_authvaltrc_key = lt_authvalkey_remote p_dbcnt = lv_dbcnt_authvalkey exceptions communication_failure = 1 system_failure = 2 others = 3.

AUTH_TRACE_GET_AUTHVAL_DATA call function 'AUTH_TRACE_GET_AUTHVAL_DATA' destination rsyst-low exporting p_authvaltrc_key = lt_authvalkey_parm importing p_authvaltrc_data = lt_authvaltrc_remote p_dbcnt = lv_dbcnt_authvaltrc exceptions communication_failure = 1 system_failure = 2 others = 3.

AUTH_TRACE_GET_USOBHASH call function 'AUTH_TRACE_GET_USOBHASH' destination rsyst-low exporting usob_type = lv_dummy_type importing p_usobhash = lt_usobhash_remote p_dbcnt = lv_dbcnt_usobhash exceptions communication_failure = 1 system_failure = 2 others = 3.

AUTH_TRACE_GET_USOBRESP call function 'AUTH_TRACE_GET_USOBRESP' destination rsyst-low exporting usob_type = lv_dummy_type importing p_usobresp = lt_usobresp_remote p_dbcnt = lv_dbcnt_usobresp exceptions communication_failure = 1 system_failure = 2 others = 3.

AUTH_TRACE_GET_USOBX_TRANSP call function 'AUTH_TRACE_GET_USOBX_TRANSP' destination rsyst-low importing p_usobx = lt_usobx_remote p_dbcnt = lv_dbcnt_usobx exceptions communication_failure = 1 system_failure = 2 others = 3.

RFC_CONNECTION_CLOSE call function 'RFC_CONNECTION_CLOSE' exporting destination = rsyst-low exceptions destination_not_open = 1 others = 2.

AUTH_TRACE_IS_TRANSPORTABLE call function 'AUTH_TRACE_IS_TRANSPORTABLE' exporting p_name = ls_usobx_remote-name p_type = ls_usobx_remote-type importing p_transportable = lv_transportable exceptions invalid_type = 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 GETSU22TRACEDATA or its description.