SAP ABAP Class IFC2DIR_CHANGE_CONTEXT (Change Context Access)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IFC2DIR_CHANGE_CONT_INT | Change Context (C2-Internal) | 20041011 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CLC2DIR_CHANGE_CONTEXT | Change Context Management | 20041008 |
Properties
| Class | IFC2DIR_CHANGE_CONTEXT | |
| Short Description | Change Context Access | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20041008 | SAP |
| Last change | 20050105 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class IFC2DIR_CHANGE_CONTEXT has no forward declaration.
Interfaces
Class IFC2DIR_CHANGE_CONTEXT has no interface implemented.
Friends
Class IFC2DIR_CHANGE_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) | C2S_FLAG | '1' | Status: Current Change Context Assigned | 20041015 | ||
| 2 | Constant | Public | Type reference (TYPE) | C2S_FLAG | '0' | Status: No Change Context Assigned | 20041014 | ||
| 3 | Constant | Public | Type reference (TYPE) | C2S_FLAG | '2' | Status: Other Change Context Assigned | 20041014 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check Data Records in Change Context | 20041013 | |
| 2 | Static method | Public | Method | Get Change Context | 20041014 | |
| 3 | Static method | Public | Method | Find Change Context for User | 20041008 | |
| 4 | Instance method | Public | Method | Get Current Change Context | 20041008 | |
| 5 | Instance method | Public | Method | Check Daten Record in Change Context | 20041013 | |
| 6 | Instance method | Public | Method | Is User in Change Context? | 20041126 | |
| 7 | Instance method | Public | Method | Put Several Data Records in Change Context | 20041013 | |
| 8 | Instance method | Public | Method | Put Data Record in Change Context | 20041013 |
Events
Class IFC2DIR_CHANGE_CONTEXT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_DATA_CONT_TYPE | Public | See coding | Data and Change Context | 20041013 | begin of S_DATA_CONT_TYPE ,
/sapc2/c2guid type c2guid,
chng_cont type c2s_change_context,
chng_cont_status type c2s_flag,
end of s_data_cont_type
|
|
| 2 | T_DATA_CONT_TYPE | Public | See coding | Table for Data and Change Context | 20041013 | t_data_cont_type type standard table of s_data_cont_type
initial size 30
|
Method Signatures
Method ARE_DS_IN_CHANGE_CONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA_CONT | Call by reference | Type reference (TYPE) | T_DATA_CONT_TYPE | Daten und Änderungskontexte | 20041015 | |||
| 2 | IS_CO_NODE_ID | Call by reference | Type reference (TYPE) | SC2_BCO_NODE_ID | Knoten-Kennung | 20041105 | |||
| 3 | IT_DATA_TAB | Call by reference | Type reference (TYPE) | INDEX TABLE | Konfigurationsdaten | 20041029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Daten nicht im geforderten Änderungskontext | 20041014 | ||
| 2 | C2 server: Parameter error | 20041108 |
Method GET_CHANGE_CONTEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CHNG_CONT | Call by reference | Type reference (TYPE) | SC2_CHNG_CONT_TTYPE | C2-Server: Änderungskontext | 20041014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Entry not found on DB | 20041014 |
Method GET_CHANGE_CONTEXT_FOR_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHNG_CONTEXTS | Call by reference | Type reference (TYPE) | SC2_CHNG_CONT_TTYPE | C2-Server: Änderungskontext | 20041008 | |||
| 2 | IV_USER_NAME | Call by reference | Type reference (TYPE) | SYUNAME | Benutzername | 20041008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No change context found for this user | 20041008 | ||
| 2 | Change context for this user does not exist | 20041008 |
Method GET_CURRENT_CHNG_CONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_CHNG_CONT | Call by reference | Type reference (TYPE) | SC2_CHNG_CONTEXT | C2-Server: Änderungskontext | 20041008 |
Method GET_CURRENT_CHNG_CONT on class IFC2DIR_CHANGE_CONTEXT has no exception.
Method IS_DS_IN_CHANGE_CONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DATA_CONT | Call by reference | Type reference (TYPE) | S_DATA_CONT_TYPE | Daten und Änderungskontext | 20041015 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Daten nicht im geforderten Änderungskontext | 20041014 | ||
| 2 | C2 server: Parameter error | 20041013 |
Method IS_USER_IN_CHNG_CONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER_NAME | Call by reference | Type reference (TYPE) | SY-UNAME | Benutzername | 20041126 | |||
| 2 | RV_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20041126 |
Method IS_USER_IN_CHNG_CONT on class IFC2DIR_CHANGE_CONTEXT has no exception.
Method SET_DSTS_INTO_CHNG_CONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA_CONT | Call by reference | Type reference (TYPE) | T_DATA_CONT_TYPE | Tabelle mit Änderungskontextzuordnungen | 20041014 | |||
| 2 | IS_NODE_ID | Call by reference | Type reference (TYPE) | SC2_BCO_NODE_ID | 20041014 | ||||
| 3 | IT_DATA_TAB | Call by reference | Type reference (TYPE) | INDEX TABLE | Datencontainer mit C2GUIDs | 20041028 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041014 | |||
| 2 | C2 server: Parameter error | 20041028 |
Method SET_DS_INTO_CHANGE_CONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DATA_CONT | Call by reference | Type reference (TYPE) | S_DATA_CONT_TYPE | 20041014 | ||||
| 2 | IS_NODE_ID | Call by reference | Type reference (TYPE) | SC2_BCO_NODE_ID | 20041014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041014 | |||
| 2 | C2 server: Parameter error | 20041015 |
History
| Last changed by/on | SAP | 20050105 |
| SAP Release Created in |