Hierarchy
⤷
⤷
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 | Static Attribute | Private | Type reference (TYPE) | TT_APPL_COMP_DESCR | Caching data for application component descriptions | 20120705 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | TT_APPL_COMP_MSGID | Caching data for message id application components | 20120705 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | TT_APPL_COMP_PACKAGE | Caching type for package application components | 20120705 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | SY-SYSID | Systemtype | 20120724 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check value for allowed characters | 20121128 | |
| 2 | Static method | Public | Method | Check authorization for changing Task Lists | 20110218 | |
| 3 | Static method | Public | Method | Check authorization for creation of Task Lists | 20110218 | |
| 4 | Static method | Public | Method | Check authorization to delete of Task Lists | 20110218 | |
| 5 | Static method | Public | Method | Check authorization for displaying Task Lists | 20101221 | |
| 6 | Static method | Public | Method | Check authorization for execution of Task Lists | 20101221 | |
| 7 | Static method | Public | Method | Check authorization for Task List Run reorganizations | 20110414 | |
| 8 | Static method | Public | Method | Check authorization for Task List Variant Maintenance | 20110412 | |
| 9 | Static method | Public | Method | Check authorization for Task List Variant Transport | 20120217 | |
| 10 | Static method | Public | Method | Check authorization for changing Task List Groups | 20131106 | |
| 11 | Static method | Public | Method | Check authorization for creation of Task List Groups | 20131106 | |
| 12 | Static method | Public | Method | Check authorization to delete Task List Groups | 20131106 | |
| 13 | Static method | Public | Method | Check authorization for display of Task List Groups | 20131106 | |
| 14 | Static method | Public | Method | Check if ABAP class exists and is syntax error free | 20131106 | |
| 15 | Static method | Public | Method | Convert ISO language to SAP language | 20121112 | |
| 16 | Static method | Public | Method | Convert SAP language to ISO language | 20121112 | |
| 17 | Static method | Public | Method | Get Text for Application Component | 20120705 | |
| 18 | Static method | Public | Method | Get Application Component for message id | 20120705 | |
| 19 | Static method | Public | Method | Get Application Component for ABAP package | 20120705 | |
| 20 | Static method | Public | Method | Get overall status of BAPIRETTAB | 20110118 | |
| 21 | Static method | Public | Method | Get name of ABAP class used for task | 20121113 | |
| 22 | Static method | Public | Method | Get Systemtype (SAP or CUSTOMER) | 20120724 | |
| 23 | Static method | Public | Method | Is there a GUI connection? | 20110323 | |
| 24 | 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 | I_ALLOWED_CHARACTERS | Call by reference | Type reference (TYPE) | STRING | Sequence of allowed characters in VALUE | 20121128 | |||
| 2 | I_MAX_LENGTH | Call by reference | Type reference (TYPE) | I | -1 | Check maximum length of VALUE | 20121128 | ||
| 3 | I_MIN_LENGTH | Call by reference | Type reference (TYPE) | I | -1 | Check minimum length of VALUE | 20121128 | ||
| 4 | I_VALUE | Call by reference | Type reference (TYPE) | CLIKE | VALUE to check | 20121128 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid characters used | 20121128 | ||
| 2 | Value contains spaces in between | 20121128 | ||
| 3 | Input value has too many characters | 20121128 | ||
| 4 | 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 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20110408 | |||
| 2 | I_SESSION_ID | Call by reference | Type reference (TYPE) | STC_SESSION_ID | TC Task List Run | 20110408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TC Authority Exception | 20110408 |
Method CHECK_AUTHORITY_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20110408 | |||
| 2 | I_SESSION_ID | Call by reference | Type reference (TYPE) | STC_SESSION_ID | TC Task List Run | 20110408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TC Authority Exception | 20110408 |
Method CHECK_AUTHORITY_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20110408 | |||
| 2 | I_SESSION_ID | Call by reference | Type reference (TYPE) | STC_SESSION_ID | TC Task List Run | 20110408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TC Authority Exception | 20110408 |
Method CHECK_AUTHORITY_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20110408 | |||
| 2 | I_SESSION_ID | Call by reference | Type reference (TYPE) | STC_SESSION_ID | TC Task List Run | 20110408 | |||
| 3 | I_TEMPLATE_ID | Call by reference | Type reference (TYPE) | STC_TEMPLATE_ID | TC Task List Variant | 20110414 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TC Authority Exception | 20110408 |
Method CHECK_AUTHORITY_EXECUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20110408 | |||
| 2 | I_SESSION_ID | Call by reference | Type reference (TYPE) | STC_SESSION_ID | TC Task List Run | 20110408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TC Authority Exception | 20110408 |
Method CHECK_AUTHORITY_REORG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20110414 | |||
| 2 | I_SESSION_ID | Call by reference | Type reference (TYPE) | STC_SESSION_ID | TC Task List Run | 20110414 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TC Authority Exception | 20110414 |
Method CHECK_AUTHORITY_TEMPLATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20110412 | |||
| 2 | I_TEMPLATE_ID | Call by reference | Type reference (TYPE) | STC_TEMPLATE_ID | TC Task List Variant | 20110414 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TC Authority Exception | 20110412 |
Method CHECK_AUTHORITY_TRANSPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | STC_SCENARIO_ID | TC Task List | 20120217 | |||
| 2 | I_TEMPLATE_ID | Call by reference | Type reference (TYPE) | STC_TEMPLATE_ID | TC Task List Variant | 20120217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_BASIC_SCEN_ID | Call by reference | Type reference (TYPE) | STC_BASIC_SCEN_ID | Task List Group | 20131106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_BASIC_SCEN_ID | Call by reference | Type reference (TYPE) | STC_BASIC_SCEN_ID | Task List Group | 20131106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_BASIC_SCEN_ID | Call by reference | Type reference (TYPE) | STC_BASIC_SCEN_ID | Task List Group | 20131106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_BASIC_SCEN_ID | Call by reference | Type reference (TYPE) | STC_BASIC_SCEN_ID | Task List Group | 20131106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authority Exception | 20131106 |
Method CHECK_CLASS_SYNTAX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CLASSNAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | Class Name | 20131106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Class dont exist | 20131106 | ||
| 2 | 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 | I_LAISO | Call by reference | Type reference (TYPE) | LAISO | Language according to ISO 639 | 20121112 | |||
| 2 | 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 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20121112 | |||
| 2 | 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 | IV_APPL_COMP | Call by reference | Type reference (TYPE) | UFPS_POSID | Application Component ID | 20120705 | |||
| 2 | IV_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Language | 20120705 | ||
| 3 | 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 | IV_MSGID | Call by reference | Type reference (TYPE) | MSGID | Message Identification | 20120705 | |||
| 2 | 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 | IV_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20120705 | |||
| 2 | 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 | IT_BAPIRETTAB | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20110118 | |||
| 2 | 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 | IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | ABAP Class Object | 20121113 | |||
| 2 | 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 | 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 | 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 | 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 |