SAP RSTT_TRACES_EXECUTE_PARALLEL Function Module for Service module for parallizing trace executions in different locations









RSTT_TRACES_EXECUTE_PARALLEL is a standard rstt traces execute parallel SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Service module for parallizing trace executions in different locations processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rstt traces execute parallel FM, simply by entering the name RSTT_TRACES_EXECUTE_PARALLEL into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSTT_BATCH_CHECKING
Program Name: SAPLRSTT_BATCH_CHECKING
Main Program: SAPLRSTT_BATCH_CHECKING
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RSTT_TRACES_EXECUTE_PARALLEL pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RSTT_TRACES_EXECUTE_PARALLEL'"Service module for parallizing trace executions in different locations
EXPORTING
I_S_EXEPARAM = "Special execution parameters for Trace
I_S_TESTPARAM = "Test parameter
I_T_TRACE_SELECTION = "Range Table for Trace IDs
I_T_TEXT_SELECTION = "Range Table for Trace Descriptions
I_T_DATE_SELECTION = "Range Table for the Date
I_T_AUTHOR_SELECTION = "Range Table for Authors / Users
I_T_TSOBJNM_SELECTION = "Range Table for Test Objects
I_T_TOBJNM_SELECTION = "Range Table for Test Objects
* I_DESTINATION = "Logical destination (specified in function call)

IMPORTING
E_S_LOG = "RSTT Test Log
E_SUBRC = "Return Code
E_LENGTH = "Length for pattern stream

TABLES
E_T_RESULT = "Test result table
E_T_MSG = "Simple Message Parameters
E_T_PATTERN_STREAM = "Stream for defect pattern
.



IMPORTING Parameters details for RSTT_TRACES_EXECUTE_PARALLEL

I_S_EXEPARAM - Special execution parameters for Trace

Data type: RSTT_S_EXEPARAM
Optional: No
Call by Reference: No ( called with pass by value option)

I_S_TESTPARAM - Test parameter

Data type: RSTT_S_TESTPARAM
Optional: No
Call by Reference: No ( called with pass by value option)

I_T_TRACE_SELECTION - Range Table for Trace IDs

Data type: RSTT_T_RANGE_TRACEID
Optional: No
Call by Reference: No ( called with pass by value option)

I_T_TEXT_SELECTION - Range Table for Trace Descriptions

Data type: RSTT_T_RANGE_TEXT
Optional: No
Call by Reference: No ( called with pass by value option)

I_T_DATE_SELECTION - Range Table for the Date

Data type: RSTT_T_RANGE_DATE
Optional: No
Call by Reference: No ( called with pass by value option)

I_T_AUTHOR_SELECTION - Range Table for Authors / Users

Data type: RSTT_T_RANGE_AUTHOR
Optional: No
Call by Reference: No ( called with pass by value option)

I_T_TSOBJNM_SELECTION - Range Table for Test Objects

Data type: RSTT_T_RANGE_TOBJNM
Optional: No
Call by Reference: No ( called with pass by value option)

I_T_TOBJNM_SELECTION - Range Table for Test Objects

Data type: RSTT_T_RANGE_TOBJNM
Optional: No
Call by Reference: No ( called with pass by value option)

I_DESTINATION - Logical destination (specified in function call)

Data type: RFCDEST
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RSTT_TRACES_EXECUTE_PARALLEL

E_S_LOG - RSTT Test Log

Data type: RSTTSLOG
Optional: No
Call by Reference: No ( called with pass by value option)

E_SUBRC - Return Code

Data type: SYSUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

E_LENGTH - Length for pattern stream

Data type: RSTT_INT4
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RSTT_TRACES_EXECUTE_PARALLEL

E_T_RESULT - Test result table

Data type: RSTTRES
Optional: No
Call by Reference: No ( called with pass by value option)

E_T_MSG - Simple Message Parameters

Data type: RSTT_S_MSG
Optional: No
Call by Reference: No ( called with pass by value option)

E_T_PATTERN_STREAM - Stream for defect pattern

Data type: RSTT_S_XCOMP
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RSTT_TRACES_EXECUTE_PARALLEL Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_e_s_log  TYPE RSTTSLOG, "   
lt_e_t_result  TYPE STANDARD TABLE OF RSTTRES, "   
lv_i_s_exeparam  TYPE RSTT_S_EXEPARAM, "   
lv_e_subrc  TYPE SYSUBRC, "   
lt_e_t_msg  TYPE STANDARD TABLE OF RSTT_S_MSG, "   
lv_i_s_testparam  TYPE RSTT_S_TESTPARAM, "   
lv_e_length  TYPE RSTT_INT4, "   
lt_e_t_pattern_stream  TYPE STANDARD TABLE OF RSTT_S_XCOMP, "   
lv_i_t_trace_selection  TYPE RSTT_T_RANGE_TRACEID, "   
lv_i_t_text_selection  TYPE RSTT_T_RANGE_TEXT, "   
lv_i_t_date_selection  TYPE RSTT_T_RANGE_DATE, "   
lv_i_t_author_selection  TYPE RSTT_T_RANGE_AUTHOR, "   
lv_i_t_tsobjnm_selection  TYPE RSTT_T_RANGE_TOBJNM, "   
lv_i_t_tobjnm_selection  TYPE RSTT_T_RANGE_TOBJNM, "   
lv_i_destination  TYPE RFCDEST. "   

  CALL FUNCTION 'RSTT_TRACES_EXECUTE_PARALLEL'  "Service module for parallizing trace executions in different locations
    EXPORTING
         I_S_EXEPARAM = lv_i_s_exeparam
         I_S_TESTPARAM = lv_i_s_testparam
         I_T_TRACE_SELECTION = lv_i_t_trace_selection
         I_T_TEXT_SELECTION = lv_i_t_text_selection
         I_T_DATE_SELECTION = lv_i_t_date_selection
         I_T_AUTHOR_SELECTION = lv_i_t_author_selection
         I_T_TSOBJNM_SELECTION = lv_i_t_tsobjnm_selection
         I_T_TOBJNM_SELECTION = lv_i_t_tobjnm_selection
         I_DESTINATION = lv_i_destination
    IMPORTING
         E_S_LOG = lv_e_s_log
         E_SUBRC = lv_e_subrc
         E_LENGTH = lv_e_length
    TABLES
         E_T_RESULT = lt_e_t_result
         E_T_MSG = lt_e_t_msg
         E_T_PATTERN_STREAM = lt_e_t_pattern_stream
. " RSTT_TRACES_EXECUTE_PARALLEL




ABAP code using 7.40 inline data declarations to call FM RSTT_TRACES_EXECUTE_PARALLEL

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!