ADD_TEMPLATE_TO_TRKORR SAP Method Transport recording for Task List Variant
Below is documentation, parameters and attributes of ABAP Method ADD_TEMPLATE_TO_TRKORR within SAP class CL_STCTM_PERSISTENCE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_STCTM_PERSISTENCE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method ADD_TEMPLATE_TO_TRKORR can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_TEMPLATE_TO_TRKORR
.| Name | Type | Data Type | Description | Default Value |
| I_SCENARIO_ID | Importing | TYPE STC_SCENARIO_ID | Task List | |
| I_TEMPLATE_ID | Importing | TYPE STC_TEMPLATE_ID | Task List Variant | |
| I_TRKORR | Importing | TYPE TRKORR | Request/Task |
Exceptions of Method ADD_TEMPLATE_TO_TRKORR
TRANSPORT_INVALID - Provided transport request/task is invalidExample ABAP coding
DATA: lv_I_SCENARIO_ID TYPE STC_SCENARIO_ID,
lv_I_TEMPLATE_ID TYPE STC_TEMPLATE_ID,
lv_I_TRKORR TYPE TRKORR,
lv_other TYPE c.
CALL METHOD CL_STCTM_PERSISTENCE=>ADD_TEMPLATE_TO_TRKORR(
EXPORTING
I_SCENARIO_ID = lv_I_SCENARIO_ID
I_TEMPLATE_ID = lv_I_TEMPLATE_ID
I_TRKORR = lv_I_TRKORR ).
Links to Related Class(s)
CL_STCTM...Full list of available SAP object classes
Search for further information about these or an SAP related objects