SAP ABAP Class CL_CTS_UI_HISTORY_MANAGER (Managing histories)
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
⤷
⤷
Properties
| Class | CL_CTS_UI_HISTORY_MANAGER | |
| Short Description | Managing histories | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCTS_DIST_CTL_WDUI | Central CTS Web Dynpro UIs |
| Created | 20090910 | 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... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_CTS_UI_HISTORY_MANAGER has no interface implemented.
Friends
Class CL_CTS_UI_HISTORY_MANAGER 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 | 'transport_organizer' | 20090910 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'transport_man' | 20090910 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'history_syst' | 20090910 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CTS_USER_DEFAULTS | 20090910 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | TY_HISTORY | 20090910 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | STRING | 20090910 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | 20090910 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090911 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | STRING | 20090910 | ||||
| 10 | Instance attribute | Protected | Type reference (TYPE) | SYUNAME | 20090910 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add new entry and set as current | 20090910 | |
| 2 | Instance method | Public | Method | Create new history item | 20090910 | |
| 3 | Instance method | Public | Method | Get entry with index | 20090910 | |
| 4 | Instance method | Public | Method | Get current entry | 20090910 | |
| 5 | Instance method | Public | Method | Returns the current user | 20090910 | |
| 6 | Instance method | Public | Method | Get next entry from history | 20090910 | |
| 7 | Instance method | Public | Method | Get last entry from history | 20090910 | |
| 8 | Instance method | Public | Method | Is there a next entry? | 20090910 | |
| 9 | Instance method | Public | Method | Is there a previous entry? | 20090910 | |
| 10 | Instance method | Public | Method | Number of entries | 20090910 | |
| 11 | Static method | Public | Method | Load Manager | 20090910 | |
| 12 | Instance method | Private | Method | Load history | 20090910 | |
| 13 | Instance method | Public | Method | Clear history | 20090910 | |
| 14 | Instance method | Private | Method | Save history | 20090910 |
Events
Class CL_CTS_UI_HISTORY_MANAGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_HISTORY | Private | See coding | 20090910 | ty_history type standard table of ty_history_entry
|
||
| 2 | TY_HISTORY_ENTRY | Private | See coding | 20090910 | begin of ty_history_entry,
index type i,
item type ref to if_cts_ui_history_item,
selected type boolean,
end of ty_history_entry
|
||
| 3 | TY_ITEM | Public | Object reference (TYPE REF TO) | IF_CTS_UI_HISTORY_ITEM | 20090910 | |
Method Signatures
Method ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Call by reference | Object reference (TYPE REF TO) | IF_CTS_UI_HISTORY_ITEM | History Item in CTS UIs | 20090910 | |||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090910 |
Method ADD on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method CREATE_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Value transfer | Object reference (TYPE REF TO) | IF_CTS_UI_HISTORY_ITEM | History Item in CTS UIs | 20090910 |
Method CREATE_ITEM on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDEX | Call by reference | Type reference (TYPE) | I | 20090910 | ||||
| 2 | ITEM | Value transfer | Type reference (TYPE) | TY_ITEM | 20090910 |
Method GET on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method GET_CURRENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Value transfer | Type reference (TYPE) | TY_ITEM | 20090910 |
Method GET_CURRENT on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method GET_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | USER | Value transfer | Type reference (TYPE) | SYUNAME | Benutzername | 20090910 |
Method GET_USER on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method GO_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Value transfer | Type reference (TYPE) | TY_ITEM | 20090910 |
Method GO_NEXT on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method GO_PREVIOUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITEM | Value transfer | Type reference (TYPE) | TY_ITEM | 20090910 |
Method GO_PREVIOUS on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method HAS_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FLAG | Value transfer | Type reference (TYPE) | BOOLEAN | 20090910 |
Method HAS_NEXT on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method HAS_PREVIOUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FLAG | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090910 |
Method HAS_PREVIOUS on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method ITEM_COUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNT | Value transfer | Type reference (TYPE) | I | 20090910 |
Method ITEM_COUNT on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MANAGER | Value transfer | Object reference (TYPE REF TO) | CL_CTS_UI_HISTORY_MANAGER | Managing user favorites | 20090910 | |||
| 2 | NAMESPACE | Call by reference | Type reference (TYPE) | STRING | CO_NS_TRANSPORT | Namespace | 20090910 | ||
| 3 | STORE_IN_DEFAULTS | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | boolsche Variable (X=true, -=false, space=unknown) | 20090911 | ||
| 4 | TYPE | Call by reference | Type reference (TYPE) | STRING | CO_TYPE_SYSTEMS | History type | 20090910 | ||
| 5 | USERNAME | Call by reference | Type reference (TYPE) | SYUNAME | Benutzername | 20090910 |
Method LOAD on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method LOAD_HISTORY Signature
Method LOAD_HISTORY on class CL_CTS_UI_HISTORY_MANAGER has no parameter.
Method LOAD_HISTORY on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method RESET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090910 |
Method RESET on class CL_CTS_UI_HISTORY_MANAGER has no exception.
Method SAVE_HISTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090910 |
Method SAVE_HISTORY on class CL_CTS_UI_HISTORY_MANAGER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 702 |