SAP ABAP Class CL_WORKING_CONTEXT (Working Context)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI-APF (Application Component) Application Frame
⤷
CRM_WORKING_CONTEXT (Package) Working context
⤷
⤷
Properties
| Class | CL_WORKING_CONTEXT | |
| Short Description | Working Context | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CRM_WORKING_CONTEXT | Working context |
| Created | 20070625 | SAP |
| Last change | 20100303 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WORKING_CONTEXT has no forward declaration.
Interfaces
Class CL_WORKING_CONTEXT has no interface implemented.
Friends
Class CL_WORKING_CONTEXT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | WCTXTT_AUDIENCE_TYPE | 'USER' | Audience Type of Working Context | 20070724 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | WCTXTT_CONTROL_LEVEL | Working Context Control Level | 20070702 | |||
| 3 | Constant | Public | Type reference (TYPE) | WCTXTT_CONTROL_LEVEL | '' | Control Level Loose | 20070723 | ||
| 4 | Constant | Public | Type reference (TYPE) | WCTXTT_CONTROL_LEVEL | 'X' | Control Level Strict | 20070723 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | WCTXTT_ATTRIBUTES | Working Context Attribute | 20070703 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | WCTXTT_ATTRIBUTE_VALUES | Working Context Attribute Values | 20070703 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | WCTXTT_ID | Working Context ID | 20070702 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | WCTXTT_NAME | Working Context Name | 20070702 | |||
| 9 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WORKING_CONTEXT | Central class to access working context | 20070625 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070702 | |
| 2 | Instance method | Public | Method | Clear current context | 20070710 | |
| 3 | Instance method | Public | Method | Delete selected working context from database | 20070705 | |
| 4 | Static method | Public | Method | Returns value of selected context attribute | 20070626 | |
| 5 | Instance method | Protected | Method | Returns value of selected context attribute | 20070627 | |
| 6 | Static method | Public | Method | Returns value of selected context attribute as string | 20070629 | |
| 7 | Static method | Public | Method | Returns all available attritbutes | 20070628 | |
| 8 | Static method | Public | Method | Returns list of avaliable contexts | 20070703 | |
| 9 | Static method | Public | Method | Returns current control level | 20070711 | |
| 10 | Static method | Public | Method | Returns all current attritbutes with values | 20070725 | |
| 11 | Static method | Public | Method | Returns current context id | 20070710 | |
| 12 | Static method | Public | Method | Returns the Working Context Instance | 20070625 | |
| 13 | Instance method | Public | Method | load selected context | 20070626 | |
| 14 | Instance method | Public | Method | save edited context | 20070625 | |
| 15 | Static method | Public | Method | Sets value to selected context attribute | 20070626 | |
| 16 | Instance method | Protected | Method | Sets value to selected context attribute | 20070627 | |
| 17 | Static method | Public | Method | Sets value to selected context attribute as string | 20070629 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | WORKING_CONTEXT_CHANGED | Instance Event (0) |
Public (2) |
Working Context has been Changed | 20070810 |
Types
Class CL_WORKING_CONTEXT has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WORKING_CONTEXT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WORKING_CONTEXT has no exception.
Method CLEAR Signature
Method CLEAR on class CL_WORKING_CONTEXT has no parameter.
Method CLEAR on class CL_WORKING_CONTEXT has no exception.
Method DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Call by reference | Type reference (TYPE) | WCTXTT_ID | Working Context ID | 20070705 |
Method DELETE on class CL_WORKING_CONTEXT has no exception.
Method GET_ATTRIBUTE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ALTERNATIVE_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Alternative attribute in case requested attribute not set | 20070628 | |||
| 2 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Working Context Attribute ID | 20070628 | |||
| 3 | RV_ATTRIBUTE_VALUE | Call by reference | Type reference (TYPE) | ANY | 20070628 |
Method GET_ATTRIBUTE_VALUE on class CL_WORKING_CONTEXT has no exception.
Method GET_ATTRIBUTE_VALUE_ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ALTERNATIVE_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Alternative attribute in case requested attribute not set | 20070627 | |||
| 2 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Requested context attrbute | 20070627 | |||
| 3 | RV_ATTRIBUTE_VALUE | Call by reference | Type reference (TYPE) | ANY | Result value | 20070627 |
Method GET_ATTRIBUTE_VALUE_ on class CL_WORKING_CONTEXT has no exception.
Method GET_ATTRIBUTE_VALUE_AS_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ALTERNATIVE_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Alternative attribute in case requested attribute not set | 20070629 | |||
| 2 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Working Context Attribute ID | 20070629 | |||
| 3 | RV_ATTRIBUTE_VALUE | Call by reference | Type reference (TYPE) | STRING | 20070629 |
Method GET_ATTRIBUTE_VALUE_AS_STRING on class CL_WORKING_CONTEXT has no exception.
Method GET_AVAILABLE_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTEXT_ID | Call by reference | Type reference (TYPE) | WCTXTT_ID | Working Context ID | 20070629 | |||
| 2 | RV_ATTRIBUTES | Value transfer | Type reference (TYPE) | WCTXTT_ATTRIBUTES | Working Context Attributes | 20070629 |
Method GET_AVAILABLE_ATTRIBUTES on class CL_WORKING_CONTEXT has no exception.
Method GET_CONTEXT_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AUDIENCE_KEY | Call by reference | Type reference (TYPE) | WCTXTT_AUDIENCE_KEY | Audience Key of Working Context | 20070703 | |||
| 2 | AUDIENCE_TYPE | Call by reference | Type reference (TYPE) | WCTXTT_AUDIENCE_TYPE | Audience Type of Working Context | 20070703 | |||
| 3 | ROLE | Call by reference | Type reference (TYPE) | CRMT_UI_PROFILE | Business Role | 20070703 | |||
| 4 | RT_RESULT | Value transfer | Type reference (TYPE) | BSP_WD_DROPDOWN_TABLE | Value Table for Working Context List | 20070703 |
Method GET_CONTEXT_LIST on class CL_WORKING_CONTEXT has no exception.
Method GET_CONTROL_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RESULT | Value transfer | Type reference (TYPE) | WCTXTT_CONTROL_LEVEL | Working Context Control Level | 20070711 |
Method GET_CONTROL_LEVEL on class CL_WORKING_CONTEXT has no exception.
Method GET_CURRENT_ATTRIBUTE_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CURRENT_VALUES | Value transfer | Type reference (TYPE) | WCTXTT_ATTRIBUTE_VALUES | Working Context Attribute Values | 20070725 |
Method GET_CURRENT_ATTRIBUTE_VALUES on class CL_WORKING_CONTEXT has no exception.
Method GET_CURRENT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ID | Value transfer | Type reference (TYPE) | WCTXTT_ID | Working Context ID | 20070710 |
Method GET_CURRENT_ID on class CL_WORKING_CONTEXT has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_WORKING_CONTEXT | Value transfer | Object reference (TYPE REF TO) | CL_WORKING_CONTEXT | Working Context | 20070626 |
Method GET_INSTANCE on class CL_WORKING_CONTEXT has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Call by reference | Type reference (TYPE) | WCTXTT_ID | Working Context ID | 20070703 |
Method LOAD on class CL_WORKING_CONTEXT has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTEXT_NAME | Call by reference | Type reference (TYPE) | WCTXTT_NAME | Name of Working Context | 20070627 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | WCTXTT_ID | Working Context ID | 20070705 | |||
| 3 | IV_ROLE | Call by reference | Type reference (TYPE) | CRMT_UI_PROFILE | Role | 20070706 |
Method SAVE on class CL_WORKING_CONTEXT has no exception.
Method SET_ATTRIBUTE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Working Context Attribute ID | 20070628 | |||
| 2 | IV_ATTRIBUTE_VALUE | Call by reference | Type reference (TYPE) | ANY | 20070628 |
Method SET_ATTRIBUTE_VALUE on class CL_WORKING_CONTEXT has no exception.
Method SET_ATTRIBUTE_VALUE_ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Context attribute | 20070627 | |||
| 2 | IV_ATTRIBUTE_VALUE | Call by reference | Type reference (TYPE) | ANY | Context attribute value | 20070627 |
Method SET_ATTRIBUTE_VALUE_ on class CL_WORKING_CONTEXT has no exception.
Method SET_ATTRIBUTE_VALUE_AS_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | WCTXTT_ATTR_ID | Working Context Attribute ID | 20070629 | |||
| 2 | IV_ATTRIBUTE_VALUE | Call by reference | Type reference (TYPE) | STRING | Attribute value | 20070629 |
Method SET_ATTRIBUTE_VALUE_AS_STRING on class CL_WORKING_CONTEXT has no exception.
Event Signatures
Event WORKING_CONTEXT_CHANGED Signature
Event WORKING_CONTEXT_CHANGED on class CL_WORKING_CONTEXT has no parameter.
History
| Last changed by/on | SAP | 20100303 |
| SAP Release Created in | 700 |