SAP ABAP Class CL_CTS_UI_MODE_SWITCHER (Assistence Class for switching operation modes)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
⤷
SCTS_DIST_CTL_WDUI (Package) Central CTS Web Dynpro UIs
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WD_COMPONENT_ASSISTANCE | Basis for a Web Dynpro assistance class | 20110124 |
Properties
| Class | CL_CTS_UI_MODE_SWITCHER | |
| Short Description | Assistence Class for switching operation modes | |
| Super Class | CL_WD_COMPONENT_ASSISTANCE | Basis for a Web Dynpro assistance class |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCTS_DIST_CTL_WDUI | Central CTS Web Dynpro UIs |
| Created | 20110124 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_CTS_UI_MODE_SWITCHER has no interface implemented.
Friends
Class CL_CTS_UI_MODE_SWITCHER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'DEFAULT' | Default mode for UI | 20110125 | ||
| 2 | Instance attribute | Public | Type reference (TYPE) | STRING | 'FULL_CHECK' | Check all systems for mode enabling | 20110125 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Returns a list of systems with it's modes | 20110124 | |
| 2 | Instance method | Public | Method | returns per given system if post is req. with addit. info | 20110314 | |
| 3 | Instance method | Public | Method | Perform post step for the change of a mode | 20110202 | |
| 4 | Instance method | Public | Method | Perform pre step for the change of a mode | 20110201 | |
| 5 | Instance method | Public | Method | Set the given systems mode to the given mode | 20110224 | |
| 6 | Instance method | Public | Method | Checks the prerequisites for the given systems | 20110131 |
Events
Class CL_CTS_UI_MODE_SWITCHER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_UI_SYSTEM_MODES | Public | See coding | 20110124 | TY_UI_SYSTEM_MODES TYPE STANDARD TABLE OF CTS_UI_SYSTEM_MODE WITH DEFAULT KEY
|
Method Signatures
Method GET_SYSTEM_MODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FULL_UPDATE | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Update systems - including enablement for op modes | 20110125 | ||
| 2 | RT_SYSTEM_MODES | Value transfer | Type reference (TYPE) | TY_UI_SYSTEM_MODES | 20110124 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions from handling transport requests | 20110329 | ||
| 2 | Exceptions from handling systems | 20110131 |
Method IS_POST_STEP_REQUIRED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SYSTEM | Call by reference | Object reference (TYPE REF TO) | IF_CTS_SYSTEM | 20110314 | ||||
| 2 | RS_REQ_STEP | Value transfer | Type reference (TYPE) | SCTS_REQ_SW_STEP | cCTS: required steps to do after switch of import mode | 20110314 |
Method IS_POST_STEP_REQUIRED on class CL_CTS_UI_MODE_SWITCHER has no exception.
Method POST_SWITCH_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LO_SYSTEM | Call by reference | Object reference (TYPE REF TO) | IF_CTS_SYSTEM | General system | 20110202 | |||
| 2 | LV_TO_MODE | Call by reference | Type reference (TYPE) | STRING | 20110202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions from handling transport requests | 20110328 | ||
| 2 | Exceptions from handling systems | 20110330 | ||
| 3 | Exceptions for switching systems modes | 20110328 | ||
| 4 | Exceptions from handling transport entities | 20110330 |
Method PRE_SWITCH_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LO_SYSTEM | Call by reference | Object reference (TYPE REF TO) | IF_CTS_SYSTEM | General system | 20110202 | |||
| 2 | LV_FROM_MODE | Call by reference | Type reference (TYPE) | STRING | 20110202 | ||||
| 3 | LV_TO_MODE | Call by reference | Type reference (TYPE) | STRING | 20110202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions from handling transport requests | 20110328 | ||
| 2 | Exceptions from handling systems | 20110330 | ||
| 3 | Exceptions for switching systems modes | 20110330 | ||
| 4 | Exceptions from handling transport entities | 20110330 |
Method SET_SYSTEM_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SYSTEM | Call by reference | Object reference (TYPE REF TO) | IF_CTS_SYSTEM | 20110224 | ||||
| 2 | IV_MODE | Call by reference | Type reference (TYPE) | SCTS_TY_SYSTEM_OP_MODE | Mode of a managed system | 20110224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions from handling systems | 20110224 |
Method UPDATE_PRE_MODE_STATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_SYSTEM_MODE | Call by reference | Type reference (TYPE) | CTS_UI_SYSTEM_MODE | cCTS: view of a system mode | 20110131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions from handling transport requests | 20110329 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 702 |