SAP ABAP Class CL_STCTM_PERSISTENCE (Task List Run/Variant Persistence)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-INS-TC-RT (Application Component) Runtime for ABAP based automated TC
     STC_TM (Package) Technical Configuration Task Management
Properties
Class CL_STCTM_PERSISTENCE  
Short Description Task List Run/Variant Persistence    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class STC_TM    
Program status     
Category 0   
Package STC_TM   Technical Configuration Task Management 
Created 20110309   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_STCTM_PERSISTENCE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_STCTM_TASK Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_STCTM_TASK_SECSTORE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_STCTM_PERSISTENCE has no interface implemented.
Friends
Class CL_STCTM_PERSISTENCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_2ND_CONNECTION Constant Public Type reference (TYPE) DBCON_NAME 'R/3*TM2NDCON' Logical name for a database connection 20130704
2 C_EXPIMP_LOCATION Constant Public See coding Profile parameter for Export/Import Location 20121106
3 C_FILE_EXTENSION Constant Public Type reference (TYPE) STRING '.XML' Extension for Task List Run files 20110721
4 C_FILE_FILTER Constant Public Type reference (TYPE) STRING 'Task List Run (*.XML) *.XML' File Filter for Up/-Download 20110721
5 C_SECSTORE_PREFIX Constant Public Type reference (TYPE) RSECID '/STC/' ID of record in secure memory 20111129
6 GO_PERSISTENCE Static Attribute Private Object reference (TYPE REF TO) LIF_PERSISTENCE Defines real or fake storage (for testing) 20120327
7 G_SESSION_EXPORT_DIR Static Attribute Private Type reference (TYPE) TEXT1024 Export directory for Task List Run files 20120704
8 P_CONNECTION Static Attribute Public Type reference (TYPE) DBCON_NAME Logical name for a database connection 20130703
Methods
# Method Level Visibility Method type Description Created on
1 ADD_PWD_DONT_EXIST Static method Private Method Add password read error message to Sec. Store class 20111207
2 ADD_PWD_READ_ERROR Static method Private Method Add password dont exist error message to Sec. Store class 20111207
3 ADD_TEMPLATE_TO_TRKORR Static method Public Method Transport recording for Task List Variant 20120217
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20120327
5 DELETE_ALL_SESSION_BREAKPOINTS Static method Public Method Delete all Breakpoints for Task List Run 20130503
6 DELETE_SESSION Static method Public Method Delete Task List Run 20110322
7 DELETE_SESSION_BREAKPOINT Static method Public Method Delete Breakpoint for Task List Run 20130502
8 DELETE_SESSION_EXPORT Static method Public Method Delete Task List Run from file system 20110520
9 DELETE_TEMPLATE Static method Public Method Delete Task List Variant 20110412
10 DOWNLOAD_SESSION Static method Public Method Download Task List Run to file system 20110531
11 EXPORT_SESSION Static method Public Method Export Task List Run to file system 20110419
12 EXPORT_SESSION_EXISTS Static method Public Method Exported Task List Run file exists? 20110520
13 GET_ALL_SESSION_BREAKPOINTS Static method Public Method Return details for all breakpoints of a Task List Run 20130508
14 GET_DEFINED_EXPIMP_LOCATIONS Static method Public Method Get defined export/import locations 20121106
15 GET_SESSION_BREAKPOINT Static method Public Method Return details of a Task List Run breakpoint 20130502
16 GET_SESSION_EXPIMP_FILENAME Static method Public Method Create filename for Task List Run 20110419
17 GET_SESSION_EXPIMP_FILES Static method Public Method Return list of Task List Run filenames from exp/imp folder 20130411
18 GET_SESSION_EXPIMP_FOLDER Static method Public Method Return export/import folder for Task List Run files 20110419
19 GET_SESSION_SECSTORE_LINK Static method Private Method Create link for Task List Run Secure Store 20111130
20 GET_TEMPLATE_SECSTORE_LINK Static method Private Method Create link for Task List Variant Secure Store 20111130
21 IMPORT_SESSION Static method Public Method Import Task List Run from file system 20110419
22 LOAD_SESSION Static method Public Method Load Task List Run 20110322
23 LOAD_TEMPLATE Static method Public Method Load Task List Variant 20110412
24 RESOLVE_SECSTORE_LINK Static method Public Method Resolve Task List Run/ID/Variant/No from key 20111207
25 SAVE_SESSION Static method Public Method Save Task List Run 20110322
26 SAVE_SESSION_BREAKPOINT Static method Public Method Set Breakpoint for Task List Run 20130502
27 SAVE_SESSION_UNMODIFIED Static method Public Method Save Task List Run with original XML (1:1, nothing adjusted) 20130410
28 SAVE_TEMPLATE Static method Public Method Save Task List Variant 20110412
29 SEARCH_FOR_SESSIONS Static method Public Method Search for Task List Runs 20110414
30 SEARCH_FOR_TEMPLATES Static method Public Method Search for Task List Variants 20110414
31 SESSION_BREAKPOINT_EXISTS Static method Public Method Breakpoint for task in Task List Run exists? 20130502
32 SESSION_EXISTS Static method Public Method Task List Run exists? 20110322
33 SET_CONNECTION Static method Public Method Define secondary database connection 20130703
34 SET_TEST_MODE Static method Public Method Do not store on database/filesystem/... 20120327
35 TEMPLATE_EXISTS Static method Public Method Task List Variant exists? 20110412
36 UPLOAD_SESSION Static method Public Method Upload Task List Run from file system 20110531
Events
Class CL_STCTM_PERSISTENCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_BREAKPOINT Public See coding Breakpoint 20130508 BEGIN OF ts_breakpoint, taskname TYPE stc_session_bp-taskname, tasktype TYPE stc_session_bp-tasktype, tasklnr TYPE stc_session_bp-tasklnr, cruser TYPE stc_session_bp-exec_cruser, crtime TYPE stc_session_bp-exec_crtime, END OF ts_breakpoint
2 TS_EXPIMP_LOCATION Public See coding Defined Export/Import-Location 20121106 BEGIN OF ts_expimp_location, location TYPE stc_expimp_location, root_dir TYPE text1024, END OF ts_expimp_location
3 TS_SECSTORE Public See coding Reference to Secure Store entry in Run/Variant 20111130 BEGIN OF ts_secstore, r_task TYPE REF TO if_stctm_task, taskname TYPE if_stctm_task=>t_taskname, fieldname TYPE if_stctm_task_secstore=>ts_password-fieldname, link_no TYPE t_secstore_link_no, END OF ts_secstore
4 TS_SESSION_FILE Public See coding Task List Run filename and attributes 20130410 BEGIN OF ts_session_file, session_id TYPE stc_session_id, filename TYPE text60, mtime TYPE p LENGTH 6 DECIMALS 0, mod_date TYPE d, mod_time TYPE c LENGTH 8, "hh:mm:ss END OF ts_session_file
5 TT_BREAKPOINT Public See coding List of Breakpoints 20130508 tt_breakpoint TYPE SORTED TABLE OF ts_breakpoint WITH UNIQUE KEY taskname tasktype tasklnr
6 TT_EXPIMP_LOCATION Public See coding List of defined Export/Import-Locations 20121106 tt_expimp_location TYPE STANDARD TABLE OF ts_expimp_location
7 TT_RSECABAC Private See coding List of Secure Store entries 20120327 tt_rsecabac TYPE STANDARD TABLE OF rsecabac
8 TT_SECSTORE Public See coding List of references to Secure Store entry in Run/Variant 20111130 tt_secstore TYPE STANDARD TABLE OF ts_secstore
9 TT_SESSION_FILE Public See coding List of Task List Runs in file system 20130410 tt_session_file TYPE STANDARD TABLE OF ts_session_file
10 T_SECSTORE_LINK_NO Public See coding Link Sequence Number 20111130 T_SECSTORE_LINK_NO type n length 4
Method Signatures

Method ADD_PWD_DONT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SECSTORE Call by reference Object reference (TYPE REF TO) CL_STCTM_SECURE_STORE Task Security Relevant Data 20111207
2 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Name of field related to password 20111207

Method ADD_PWD_DONT_EXIST on class CL_STCTM_PERSISTENCE has no exception.

Method ADD_PWD_READ_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SECSTORE Call by reference Object reference (TYPE REF TO) CL_STCTM_SECURE_STORE Task Security Relevant Data 20111207
2 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Name of field related to password 20111207

Method ADD_PWD_READ_ERROR on class CL_STCTM_PERSISTENCE has no exception.

Method ADD_TEMPLATE_TO_TRKORR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SCENARIO_ID Call by reference Type reference (TYPE) STC_SCENARIO_ID Task List 20120217
2 Importing I_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID Task List Variant 20120217
3 Importing I_TRKORR Call by reference Type reference (TYPE) TRKORR Request/Task 20120217
# Exception Resumable Description Created on
1 FAILED Transport recording failed for other reason 20120217
2 NOT_AUTHORIZED Not authorized to transport task list variants 20120217
3 NOT_TRANSPORTABLE Task List Variant is local and can't be transported 20120217
4 TRANSPORT_INVALID Provided transport request/task is invalid 20120217

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_STCTM_PERSISTENCE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_STCTM_PERSISTENCE has no exception.

Method DELETE_ALL_SESSION_BREAKPOINTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20130503
# Exception Resumable Description Created on
1 NOT_AUTHORIZED No authority to execute task list runs 20130503

Method DELETE_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_AUTHORITY Call by reference Type reference (TYPE) SAP_BOOL 'X' Check Authority 20110412
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110322
# Exception Resumable Description Created on
1 INVALID Deletion Failed 20110322
2 LOCKED Locked by other user 20110322
3 NOT_AUTHORIZED User Is Not Authorized to Read this File 20110322
4 NOT_EXISTS File Does Not Exist 20110322

Method DELETE_SESSION_BREAKPOINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20130502
2 Importing I_TASKLNR Call by reference Type reference (TYPE) STC_TASK_LNR Task Occurrence in Task List 20130502
3 Importing I_TASKNAME Call by reference Type reference (TYPE) STC_TASK_ID Task ID 20130502
4 Importing I_TASKTYPE Call by reference Type reference (TYPE) STC_TASK_TYPE Task Type 20130502
# Exception Resumable Description Created on
1 FAILED Breakpoint could not be deleted 20130503
2 NOT_AUTHORIZED No authority to execute task list runs 20130502

Method DELETE_SESSION_EXPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DELETE_FOLDER Call by reference Type reference (TYPE) TEXT1024 Folder where Task List Run was deleted from 20110520
2 Exporting E_FILENAME Call by reference Type reference (TYPE) TEXT60 Filename for Task List Run 20110520
3 Importing I_LOCATION Call by reference Type reference (TYPE) STC_EXPIMP_LOCATION Location for Export/Import Root Directory 20121107
4 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110520
# Exception Resumable Description Created on
1 INVALID Task List Run is invalid 20110520
2 NOT_AUTHORIZED Not authorized to read this Task List Run 20110520
3 NOT_EXISTS Task List Run does not exist 20110520

Method DELETE_TEMPLATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_AUTHORITY Call by reference Type reference (TYPE) SAP_BOOL 'X' Check Authority 20130219
2 Importing I_SCENARIO_ID Call by reference Type reference (TYPE) STC_SCENARIO_ID TC Task List 20110412
3 Importing I_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID TC Task List Variant 20110412
# Exception Resumable Description Created on
1 INVALID Deletion Failed 20110412
2 LOCKED Locked by other user 20110412
3 NOT_AUTHORIZED User Is Not Authorized to Read this File 20110412
4 NOT_EXISTS File Does Not Exist 20110412

Method DOWNLOAD_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SESSION Call by reference Object reference (TYPE REF TO) CL_STCTM_SESSION TC Task List Run 20110531
2 Importing I_FILE Call by reference Type reference (TYPE) STRING Download (full path) file 20120217
# Exception Resumable Description Created on
1 EXISTS Task List Run exists and should not be overwritten 20110531
2 INVALID Task List Run is invalid 20110531
3 NOT_AUTHORIZED Not authorized to save to filesystem 20110531

Method EXPORT_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SESSION Call by reference Object reference (TYPE REF TO) CL_STCTM_SESSION TC Task List Run 20110419
2 Importing I_LOCATION Call by reference Type reference (TYPE) STC_EXPIMP_LOCATION Location for Export/Import Root Directory 20121107
3 Importing I_OVERWRITE Call by reference Type reference (TYPE) SAP_BOOL 'X' Overwrite if exists 20110419
# Exception Resumable Description Created on
1 EXISTS Task List Run exists and should not be overwritten 20110419
2 INVALID Task List Run is invalid 20110419
3 NOT_AUTHORIZED Not authorized to save to filesystem 20110419

Method EXPORT_SESSION_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCATION Call by reference Type reference (TYPE) STC_EXPIMP_LOCATION Location for Export/Import Root Directory 20121107
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20120220
# Exception Resumable Description Created on
1 INVALID Invalid 20110520
2 NOT_AUTHORIZED Not authorized to save to filesystem 20110520
3 NOT_EXISTS Task List Run exists and should not be overwritten 20110520

Method GET_ALL_SESSION_BREAKPOINTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BREAKPOINT Call by reference Type reference (TYPE) TT_BREAKPOINT List of Breakpoints 20130508
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20130508

Method GET_ALL_SESSION_BREAKPOINTS on class CL_STCTM_PERSISTENCE has no exception.

Method GET_DEFINED_EXPIMP_LOCATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOCATION Call by reference Type reference (TYPE) TT_EXPIMP_LOCATION List of defined Export/Import-Locations 20121106

Method GET_DEFINED_EXPIMP_LOCATIONS on class CL_STCTM_PERSISTENCE has no exception.

Method GET_SESSION_BREAKPOINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BREAKPOINT Call by reference Type reference (TYPE) TS_BREAKPOINT Task List Run Breakpoint 20130508
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20130502
3 Importing I_TASKLNR Call by reference Type reference (TYPE) STC_TASK_LNR Task Occurrence in Task List 20130502
4 Importing I_TASKNAME Call by reference Type reference (TYPE) STC_TASK_ID Task ID 20130502
5 Importing I_TASKTYPE Call by reference Type reference (TYPE) STC_TASK_TYPE Task Type 20130502
# Exception Resumable Description Created on
1 NOT_EXISTS Requested breakpoint does not exist 20130502

Method GET_SESSION_EXPIMP_FILENAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILE Call by reference Type reference (TYPE) TEXT1024 Physical file name 20110520
2 Exporting E_FILENAME Call by reference Type reference (TYPE) TEXT60 Task List Run file name 20110420
3 Exporting E_FOLDER Call by reference Type reference (TYPE) TEXT1024 Folder 20110420
4 Importing I_FILE_ONLY Call by reference Type reference (TYPE) SAP_BOOL Get File Name Only 20110531
5 Importing I_LOCATION Call by reference Type reference (TYPE) STC_EXPIMP_LOCATION Location for Export/Import Root Directory 20121106
6 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run ID 20110419
# Exception Resumable Description Created on
1 INVALID Filename Invalid 20110419
2 NOT_AUTHORIZED No Authorization 20110419

Method GET_SESSION_EXPIMP_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SESSION_FILE Call by reference Type reference (TYPE) TT_SESSION_FILE List of Task List Runs in file system 20130411
2 Importing I_LOCATION Call by reference Type reference (TYPE) STC_EXPIMP_LOCATION Location for Export/Import Root Directory 20130411
# Exception Resumable Description Created on
1 INVALID 20130411
2 NOT_AUTHORIZED 20130411

Method GET_SESSION_EXPIMP_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCATION Call by reference Type reference (TYPE) STC_EXPIMP_LOCATION Location for Export/Import Root Directory 20121106
2 Returning R_FOLDER Value transfer Type reference (TYPE) TEXT1024 Physical folder name 20110419
# Exception Resumable Description Created on
1 INVALID 20110419
2 NOT_AUTHORIZED 20110419

Method GET_SESSION_SECSTORE_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LINK_NO Call by reference Type reference (TYPE) T_SECSTORE_LINK_NO Link Sequence Number 20111130
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20111130
3 Returning R_LINK Value transfer Type reference (TYPE) RSECID ID of record in secure memory 20111130

Method GET_SESSION_SECSTORE_LINK on class CL_STCTM_PERSISTENCE has no exception.

Method GET_TEMPLATE_SECSTORE_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LINK_NO Call by reference Type reference (TYPE) T_SECSTORE_LINK_NO Link Sequence Number 20111130
2 Importing I_SCENARIO_ID Call by reference Type reference (TYPE) STC_SCENARIO_ID Task List 20111130
3 Importing I_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID Task List Variant 20111130
4 Returning R_LINK Value transfer Type reference (TYPE) RSECID ID of record in secure memory 20111130

Method GET_TEMPLATE_SECSTORE_LINK on class CL_STCTM_PERSISTENCE has no exception.

Method IMPORT_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILENAME Call by reference Type reference (TYPE) TEXT60 Task List Run filename 20110520
2 Exporting E_IMPORT_FOLDER Call by reference Type reference (TYPE) TEXT1024 Folder where Task List Run was imported from 20110420
3 Exporting E_XML Call by reference Type reference (TYPE) XSTRING Session XML 20130709
4 Importing I_LOCATION Call by reference Type reference (TYPE) STC_EXPIMP_LOCATION Location or Export/Import Root Directory 20121107
5 Importing I_OVERWRITE Call by reference Type reference (TYPE) SAP_BOOL 'X' Overwrite existing Task List Run? 20110419
6 Importing I_SAVE Call by reference Type reference (TYPE) SAP_BOOL 'X' Save XML directly to database 20130709
7 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110419
# Exception Resumable Description Created on
1 EXISTS_LOCAL Task List Run to be imported exists and should not be overw. 20110419
2 IMPORT_NOT_EXISTS Task List Run does not exist 20110419
3 INVALID Task List Run is invalid 20110419
4 LOCKED Task List Run is locked 20130709
5 NOT_AUTHORIZED Not authorized to read this Task List Run 20110419

Method LOAD_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_SESSION Call by reference Object reference (TYPE REF TO) CL_STCTM_SESSION TC Task List Run 20130418
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110322
# Exception Resumable Description Created on
1 INVALID Tasklist is Invalid 20110322
2 NOT_AUTHORIZED User Is Not Authorized to Read this File 20110322
3 NOT_EXISTS File Does Not Exist 20110322

Method LOAD_TEMPLATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_TEMPLATE Call by reference Object reference (TYPE REF TO) CL_STCTM_TEMPLATE TC Task List Variant 20130418
2 Importing I_SCENARIO_ID Call by reference Type reference (TYPE) STC_SCENARIO_ID TC Task List 20110412
3 Importing I_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID TC Task List Variant 20110412
# Exception Resumable Description Created on
1 INVALID Tasklist is Invalid 20110412
2 NOT_AUTHORIZED User Is Not Authorized to Read this File 20110412
3 NOT_EXISTS File Does Not Exist 20110412

Method RESOLVE_SECSTORE_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LINK_NO Call by reference Type reference (TYPE) CL_STCTM_PERSISTENCE=>T_SECSTORE_LINK_NO Link Sequence Number 20111207
2 Exporting EV_SCENARIO_ID Call by reference Type reference (TYPE) STC_SCENARIO_ID Task List 20111207
3 Exporting EV_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20111207
4 Exporting EV_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID Task List Variant 20111207
5 Importing IF_IDENTPART Call by reference Type reference (TYPE) RSECIDPART Part of ID Free from Namespace 20111207
6 Importing IV_LINK Call by reference Type reference (TYPE) RSECID ID of record in secure memory 20111207
# Exception Resumable Description Created on
1 INVALID Invalid link 20111207

Method SAVE_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SESSION Call by reference Object reference (TYPE REF TO) CL_STCTM_SESSION TC Task List Run 20110322
# Exception Resumable Description Created on
1 INVALID Error during save 20110322
2 NOT_AUTHORIZED Not authorized to save Task List Runs 20110322

Method SAVE_SESSION_BREAKPOINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20130502
2 Importing I_TASKLNR Call by reference Type reference (TYPE) STC_TASK_LNR Task Occurrence in Task List 20130502
3 Importing I_TASKNAME Call by reference Type reference (TYPE) STC_TASK_ID Task ID 20130502
4 Importing I_TASKTYPE Call by reference Type reference (TYPE) STC_TASK_TYPE Task Type 20130502
# Exception Resumable Description Created on
1 FAILED Breakpoint could not be perstisted 20130502
2 NOT_AUTHORIZED No authority to execute task list runs 20130502

Method SAVE_SESSION_UNMODIFIED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20130410
2 Importing I_XML Call by reference Type reference (TYPE) XSTRING XML 20130410
# Exception Resumable Description Created on
1 INVALID Error during save 20130410
2 NOT_AUTHORIZED Not authorized to save Task List Runs 20130410

Method SAVE_TEMPLATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_TEMPLATE Call by reference Object reference (TYPE REF TO) CL_STCTM_TEMPLATE TC Task List Variant 20110413
# Exception Resumable Description Created on
1 INVALID Invalid 20110412
2 NOT_AUTHORIZED Not authorized to save Task List Variant 20110412

Method SEARCH_FOR_SESSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CORRUPT Call by reference Type reference (TYPE) STCTM_T_SESSION Corrput Task List Runs 20110414
2 Exporting ET_SESSION Call by reference Type reference (TYPE) STCTM_T_SESSION Task List Run List 20110416
3 Importing IT_FINALIZED Call by reference Type reference (TYPE) STC_RT_SESSION_FINALIZED Range table for Task List Run Finalized 20130531
4 Importing IT_SCENARIO_ID Call by reference Type reference (TYPE) STC_RT_SCENARIO_ID Range table for Task Lists 20110414
5 Importing IT_SESSION_ID Call by reference Type reference (TYPE) STC_RT_SESSION_ID Range table for Task List Runs 20110414
6 Importing IT_STATUS Call by reference Type reference (TYPE) STC_RT_SESSION_STATUS Range table for Task List Run Status 20110418
7 Importing IT_TEMPLATE_ID Call by reference Type reference (TYPE) STC_RT_TEMPLATE_ID Range table for Task Lists Variants 20110414
8 Importing I_IGNORE_CORRUPT Call by reference Type reference (TYPE) SAP_BOOL Determine and ignore invalid Task Lists Runs 20120918
9 Importing I_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key 20130122
10 Importing I_MAXRECORDS Call by reference Type reference (TYPE) INT4 Maximum number of Task List Runs 20131106
11 Importing I_SYNC Call by reference Type reference (TYPE) SAP_BOOL 'X' Update running Task List Runs 20110414
# Exception Resumable Description Created on
1 INVALID 20110414
2 NOT_AUTHORIZED 20110414

Method SEARCH_FOR_TEMPLATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CORRUPT Call by reference Type reference (TYPE) STCTM_T_TEMPLATE Corrput Task List Variants 20110414
2 Exporting ET_TEMPLATE Call by reference Type reference (TYPE) STCTM_T_TEMPLATE Task List Variant List 20110414
3 Importing IT_SCENARIO_ID Call by reference Type reference (TYPE) STC_RT_SCENARIO_ID TC Range table for Task Lists 20110414
4 Importing IT_TEMPLATE_ID Call by reference Type reference (TYPE) STC_RT_TEMPLATE_ID TC Range table for Task Lists Variants 20110414
5 Importing I_IGNORE_CORRUPT Call by reference Type reference (TYPE) SAP_BOOL Determine and ignore invalid Variants 20120918
6 Importing I_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20110414
7 Importing I_MAXRECORDS Call by reference Type reference (TYPE) INT4 Maximum number of records 20131106
# Exception Resumable Description Created on
1 INVALID 20110414
2 NOT_AUTHORIZED 20110414

Method SESSION_BREAKPOINT_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20130502
2 Importing I_TASKLNR Call by reference Type reference (TYPE) STC_TASK_LNR Task Occurrence in Task List 20130502
3 Importing I_TASKNAME Call by reference Type reference (TYPE) STC_TASK_ID Task ID 20130502
4 Importing I_TASKTYPE Call by reference Type reference (TYPE) STC_TASK_TYPE Task Type 20130502
5 Returning R_EXISTS Value transfer Type reference (TYPE) SAP_BOOL 'X' if breakpoint for task exists 20130502

Method SESSION_BREAKPOINT_EXISTS on class CL_STCTM_PERSISTENCE has no exception.

Method SESSION_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110322
# Exception Resumable Description Created on
1 NOT_EXISTS Task List Run don't exists 20110322

Method SET_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONNECTION Call by reference Type reference (TYPE) DBCON_NAME SPACE Logical name for a database connection 20130703

Method SET_CONNECTION on class CL_STCTM_PERSISTENCE has no exception.

Method SET_TEST_MODE Signature

Method SET_TEST_MODE on class CL_STCTM_PERSISTENCE has no parameter.
Method SET_TEST_MODE on class CL_STCTM_PERSISTENCE has no exception.

Method TEMPLATE_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SCENARIO_ID Call by reference Type reference (TYPE) STC_SCENARIO_ID TC Task List 20110412
2 Importing I_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID TC Task List Variant 20110412
# Exception Resumable Description Created on
1 NOT_EXISTS Task List Run don't exists 20110412

Method UPLOAD_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILENAME Call by reference Type reference (TYPE) TEXT60 Task List Run Filename 20110531
2 Exporting E_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID Task List Run 20110531
3 Exporting E_XML Call by reference Type reference (TYPE) XSTRING Uploaded XML 20130709
4 Importing I_FILENAME Call by reference Type reference (TYPE) FILE_TABLE-FILENAME Filename to upload 20130709
5 Importing I_SAVE Call by reference Type reference (TYPE) SAP_BOOL 'X' Save XML directly to database 20130709
# Exception Resumable Description Created on
1 EXISTS_LOCAL Task List Run to be imported exists and should not be overw. 20110531
2 INVALID Task List Run is invalid 20110531
3 LOCKED Task List Run locked 20130709
4 NOT_AUTHORIZED Not authorized to save to filesystem 20110531
History
Last changed by/on SAP  20141121 
SAP Release Created in 731