SAP ABAP Class CL_STC_UTILITIES (Helper Methods)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-INS-TC-RT (Application Component) Runtime for ABAP based automated TC
     STC_API (Package) Technical Configuration ABAP API
Properties
Class CL_STC_UTILITIES  
Short Description Helper Methods    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package STC_API   Technical Configuration ABAP API 
Created 20101129   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_STC_UTILITIES has no forward declaration.
Interfaces
Class CL_STC_UTILITIES has no interface implemented.
Friends
Class CL_STC_UTILITIES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_APPL_COMP_DESCR Static Attribute Private Type reference (TYPE) TT_APPL_COMP_DESCR Caching data for application component descriptions 20120705
2 GT_APPL_COMP_MSGID Static Attribute Private Type reference (TYPE) TT_APPL_COMP_MSGID Caching data for message id application components 20120705
3 GT_APPL_COMP_PACKAGE Static Attribute Private Type reference (TYPE) TT_APPL_COMP_PACKAGE Caching type for package application components 20120705
4 GV_SYSTEMTYPE Static Attribute Private Type reference (TYPE) SY-SYSID Systemtype 20120724
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ALLOWED_CHARACTERS Static method Public Method Check value for allowed characters 20121128
2 CHECK_AUTHORITY_CHANGE Static method Public Method Check authorization for changing Task Lists 20110218
3 CHECK_AUTHORITY_CREATE Static method Public Method Check authorization for creation of Task Lists 20110218
4 CHECK_AUTHORITY_DELETE Static method Public Method Check authorization to delete of Task Lists 20110218
5 CHECK_AUTHORITY_DISPLAY Static method Public Method Check authorization for displaying Task Lists 20101221
6 CHECK_AUTHORITY_EXECUTE Static method Public Method Check authorization for execution of Task Lists 20101221
7 CHECK_AUTHORITY_REORG Static method Public Method Check authorization for Task List Run reorganizations 20110414
8 CHECK_AUTHORITY_TEMPLATES Static method Public Method Check authorization for Task List Variant Maintenance 20110412
9 CHECK_AUTHORITY_TRANSPORT Static method Public Method Check authorization for Task List Variant Transport 20120217
10 CHECK_AUTH_BASIC_SCEN_CHANGE Static method Public Method Check authorization for changing Task List Groups 20131106
11 CHECK_AUTH_BASIC_SCEN_CREATE Static method Public Method Check authorization for creation of Task List Groups 20131106
12 CHECK_AUTH_BASIC_SCEN_DELETE Static method Public Method Check authorization to delete Task List Groups 20131106
13 CHECK_AUTH_BASIC_SCEN_DISPLAY Static method Public Method Check authorization for display of Task List Groups 20131106
14 CHECK_CLASS_SYNTAX Static method Public Method Check if ABAP class exists and is syntax error free 20131106
15 CONVERT_LAISO_TO_LANGU Static method Public Method Convert ISO language to SAP language 20121112
16 CONVERT_LANGU_TO_LAISO Static method Public Method Convert SAP language to ISO language 20121112
17 GET_APPL_COMP_DESCR Static method Public Method Get Text for Application Component 20120705
18 GET_APPL_COMP_FOR_MSGID Static method Public Method Get Application Component for message id 20120705
19 GET_APPL_COMP_FOR_PACKAGE Static method Public Method Get Application Component for ABAP package 20120705
20 GET_BAPIRET_STATUS Static method Public Method Get overall status of BAPIRETTAB 20110118
21 GET_CLASSNAME Static method Public Method Get name of ABAP class used for task 20121113
22 GET_SYSTEMTYPE Static method Public Method Get Systemtype (SAP or CUSTOMER) 20120724
23 IS_GUI_ON Static method Public Method Is there a GUI connection? 20110323
24 WAIT Static method Public Method Wait up to x seconds 20110225
Events
Class CL_STC_UTILITIES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_APPL_COMP_DESCR Private See coding Caching type for application component descriptions 20120705 BEGIN OF ts_appl_comp_descr, appl_comp TYPE ufps_posid, langu TYPE spras, descr TYPE text60, END OF ts_appl_comp_descr
2 TS_APPL_COMP_MSGID Private See coding Caching type for message id application components 20120705 BEGIN OF ts_appl_comp_msgid, msgid TYPE msgid, appl_comp TYPE ufps_posid, END OF ts_appl_comp_msgid
3 TS_APPL_COMP_PACKAGE Private See coding Caching type for package application components 20120705 BEGIN OF ts_appl_comp_package, package TYPE devclass, appl_comp TYPE ufps_posid, END OF ts_appl_comp_package
4 TT_APPL_COMP_DESCR Private See coding Caching type for application component descriptions 20120705 tt_appl_comp_descr TYPE HASHED TABLE OF ts_appl_comp_descr WITH UNIQUE KEY appl_comp langu
5 TT_APPL_COMP_MSGID Private See coding Caching type for message id application components 20120705 tt_appl_comp_msgid TYPE HASHED TABLE OF ts_appl_comp_msgid WITH UNIQUE KEY msgid
6 TT_APPL_COMP_PACKAGE Private See coding Caching type for package application components 20120705 tt_appl_comp_package TYPE HASHED TABLE OF ts_appl_comp_package WITH UNIQUE KEY package
Method Signatures

Method CHECK_ALLOWED_CHARACTERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALLOWED_CHARACTERS Call by reference Type reference (TYPE) STRING Sequence of allowed characters in VALUE 20121128
2 Importing I_MAX_LENGTH Call by reference Type reference (TYPE) I -1 Check maximum length of VALUE 20121128
3 Importing I_MIN_LENGTH Call by reference Type reference (TYPE) I -1 Check minimum length of VALUE 20121128
4 Importing I_VALUE Call by reference Type reference (TYPE) CLIKE VALUE to check 20121128
# Exception Resumable Description Created on
1 INVALID_CHARACTERS Invalid characters used 20121128
2 SPACES Value contains spaces in between 20121128
3 VALUE_TOO_LONG Input value has too many characters 20121128
4 VALUE_TOO_SHORT Input value is too short, charaters missing 20121128

Method CHECK_AUTHORITY_CHANGE 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 20110408
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110408
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20110408

Method CHECK_AUTHORITY_CREATE 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 20110408
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110408
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20110408

Method CHECK_AUTHORITY_DELETE 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 20110408
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110408
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20110408

Method CHECK_AUTHORITY_DISPLAY 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 20110408
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110408
3 Importing I_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID TC Task List Variant 20110414
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20110408

Method CHECK_AUTHORITY_EXECUTE 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 20110408
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110408
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20110408

Method CHECK_AUTHORITY_REORG 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 20110414
2 Importing I_SESSION_ID Call by reference Type reference (TYPE) STC_SESSION_ID TC Task List Run 20110414
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20110414

Method CHECK_AUTHORITY_TEMPLATES 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 20110414
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20110412

Method CHECK_AUTHORITY_TRANSPORT 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 20120217
2 Importing I_TEMPLATE_ID Call by reference Type reference (TYPE) STC_TEMPLATE_ID TC Task List Variant 20120217
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY TC Authority Exception 20120217

Method CHECK_AUTH_BASIC_SCEN_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BASIC_SCEN_ID Call by reference Type reference (TYPE) STC_BASIC_SCEN_ID Task List Group 20131106
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY Authority Exception 20131106

Method CHECK_AUTH_BASIC_SCEN_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BASIC_SCEN_ID Call by reference Type reference (TYPE) STC_BASIC_SCEN_ID Task List Group 20131106
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY Authority Exception 20131106

Method CHECK_AUTH_BASIC_SCEN_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BASIC_SCEN_ID Call by reference Type reference (TYPE) STC_BASIC_SCEN_ID Task List Group 20131106
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY Authority Exception 20131106

Method CHECK_AUTH_BASIC_SCEN_DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BASIC_SCEN_ID Call by reference Type reference (TYPE) STC_BASIC_SCEN_ID Task List Group 20131106
# Exception Resumable Description Created on
1 CX_STC_AUTHORITY Authority Exception 20131106

Method CHECK_CLASS_SYNTAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASSNAME Call by reference Type reference (TYPE) SEOCLSNAME Class Name 20131106
# Exception Resumable Description Created on
1 DONT_EXIST Class dont exist 20131106
2 SYNTAX_ERROR Class contains syntax error 20131106

Method CONVERT_LAISO_TO_LANGU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LAISO Call by reference Type reference (TYPE) LAISO Language according to ISO 639 20121112
2 Returning R_LANGU Value transfer Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20121112

Method CONVERT_LAISO_TO_LANGU on class CL_STC_UTILITIES has no exception.

Method CONVERT_LANGU_TO_LAISO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20121112
2 Returning R_LAISO Value transfer Type reference (TYPE) LAISO Language according to ISO 639 20121112

Method CONVERT_LANGU_TO_LAISO on class CL_STC_UTILITIES has no exception.

Method GET_APPL_COMP_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPL_COMP Call by reference Type reference (TYPE) UFPS_POSID Application Component ID 20120705
2 Importing IV_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language 20120705
3 Returning RV_DESCR Value transfer Type reference (TYPE) TEXT60 Text for Application Component 20120705

Method GET_APPL_COMP_DESCR on class CL_STC_UTILITIES has no exception.

Method GET_APPL_COMP_FOR_MSGID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGID Call by reference Type reference (TYPE) MSGID Message Identification 20120705
2 Returning RV_APPL_COMP Value transfer Type reference (TYPE) UFPS_POSID Application Component ID 20120705

Method GET_APPL_COMP_FOR_MSGID on class CL_STC_UTILITIES has no exception.

Method GET_APPL_COMP_FOR_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20120705
2 Returning RV_APPL_COMP Value transfer Type reference (TYPE) UFPS_POSID Application component ID 20120705

Method GET_APPL_COMP_FOR_PACKAGE on class CL_STC_UTILITIES has no exception.

Method GET_BAPIRET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BAPIRETTAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110118
2 Returning RS_MSG Value transfer Type reference (TYPE) SYMSG Structure of message variables 20110118

Method GET_BAPIRET_STATUS on class CL_STC_UTILITIES has no exception.

Method GET_CLASSNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT ABAP Class Object 20121113
2 Returning R_CLASSNAME Value transfer Type reference (TYPE) SEOCLSNAME Class Name 20121113

Method GET_CLASSNAME on class CL_STC_UTILITIES has no exception.

Method GET_SYSTEMTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SYSTEMTYPE Value transfer Type reference (TYPE) SY-SYSID Systemtype 20120724

Method GET_SYSTEMTYPE on class CL_STC_UTILITIES has no exception.

Method IS_GUI_ON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ON Value transfer Type reference (TYPE) SAP_BOOL Boolean Variable (X=True, Space=False) 20110323

Method IS_GUI_ON on class CL_STC_UTILITIES has no exception.

Method WAIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SECONDS Call by reference Type reference (TYPE) I Seconds 20110225

Method WAIT on class CL_STC_UTILITIES has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in 703