RSDRT_TRACE_COMPARE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSDRT_TRACE_COMPARE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSDRT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSDRT_TRACE_COMPARE' "compares a given trace with a stored
EXPORTING
i_infoprov = " rsinfoprov InfoProvider
i_queries = " i Number of Queries
i_seed = " i Initial Value for Random Number Generator
i_t_qlog = " rsdrt_t_qlog Table of (Test-) Query Log Information
* i_perf_variation = 0 " i max. Performace deviation in percent (0 = do not check)
* i_show_always = RS_C_FALSE " rs_bool Display trace comparison always yes/no
* i_trace_tests = RS_C_TRUE " rs_bool Write test result into Infocube
IMPORTING
e_identical = " rs_bool Traces identical yes/no
e_t_qlog = " rsdrt_t_qlog List of non-identical lines
EXCEPTIONS
NO_TRACE = 1 " there is no saved trace for these parameters
. " RSDRT_TRACE_COMPARE
The ABAP code below is a full code listing to execute function module RSDRT_TRACE_COMPARE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_e_identical | TYPE RS_BOOL , |
| ld_e_t_qlog | TYPE RSDRT_T_QLOG . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_identical | TYPE RS_BOOL , |
| ld_i_infoprov | TYPE RSINFOPROV , |
| ld_e_t_qlog | TYPE RSDRT_T_QLOG , |
| ld_i_queries | TYPE I , |
| ld_i_seed | TYPE I , |
| ld_i_t_qlog | TYPE RSDRT_T_QLOG , |
| ld_i_perf_variation | TYPE I , |
| ld_i_show_always | TYPE RS_BOOL , |
| ld_i_trace_tests | TYPE RS_BOOL . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSDRT_TRACE_COMPARE or its description.
RSDRT_TRACE_COMPARE - compares a given trace with a stored RSDRT_TEST_RESULT_WRITE - writes results of a test run in the test result Infocube RSDRT_SALES_MASSDATA_GET - Generates example mass data RSDRT_SALES_DATA_WRITE - writes sample data to an InfoCube RSDRT_SALES_DATA_GET - generates sample data RSDRT_SALES_CUBE_EXISTS - writes sample data to an InfoCube