SAP ABAP Class CL_FDT_CONTEXT_ABSTRACT (FDT: Context)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_CORE (Package) BRFplus: Core
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_FDT_CONTEXT | FDT: Context | 20081010 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_FDT_RESULT | FDT: Result | 20081010 |
Properties
| Class | CL_FDT_CONTEXT_ABSTRACT | |
| Short Description | FDT: Context | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_CORE | BRFplus: Core |
| Created | 20081010 | SAP |
| Last change | 20110908 | 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... | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FDT_CONTEXT_ABSTRACT has no interface implemented.
Friends
Class CL_FDT_CONTEXT_ABSTRACT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Type reference (TYPE) | I | Last Context Counter Value | 20081010 | |||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20081010 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | TIMESTAMPL | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20081010 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | TS_DATA_OBJECT | Data Objects | 20081010 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: instance is result object | 20081216 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | I | Context Counter | 20081010 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | 20081010 | ||
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20081010 | |
| 3 | Instance method | Public | Method | Get all data objects with timestamps (ExpressionBuffer) | 20081010 | |
| 4 | Instance method | Protected | Method | Get the relevant information from MTS_DATA_OBJECT | 20081010 | |
| 5 | Instance method | Protected | Method | Insert a data object | 20081010 | |
| 6 | Instance method | Protected | Method | Check if 2 DOBJs are movable | 20090323 | |
| 7 | Instance method | Protected | Method | Move (also can do deep move-corresponding) | 20081010 |
Events
Class CL_FDT_CONTEXT_ABSTRACT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_DATA_OBJECT | Protected | See coding | Data Object | 20081010 | BEGIN OF s_data_object,
id TYPE if_fdt_types=>id,
* can it be accessed or is it an internal helper type (e.g. table line)
is_accessible TYPE abap_bool,
name TYPE string,
* path to object
t_path TYPE t_path,
* reference to data for this object data
dref TYPE REF TO data,
data_object_type TYPE if_fdt_types=>data_object_type,
element_type TYPE if_fdt_types=>element_type,
table_is_unstructured TYPE abap_bool,
is_table_structure TYPE abap_bool,
is_deep TYPE abap_bool, "deep is: structure/table in structure
* change timestamp for data object data
timestamp_value_change TYPE timestampl, "For Expression Result Buffer
* for sub objects (not set but used by set objects)
oref TYPE REF TO if_fdt_data_object,
top_id TYPE if_fdt_types=>id,
superior_id TYPE if_fdt_types=>id,
is_supplied type abap_bool, "Similar to code generation MB 22.06.10 SUPPLIED_FLAG
END OF s_data_object
|
|
| 2 | S_DATA_OBJECT_TIMESTAMP | Public | See coding | 20081010 | BEGIN OF s_data_object_timestamp,
id TYPE if_fdt_types=>id,
timestamp_value_change TYPE timestampl,
END OF s_data_object_timestamp
|
||
| 3 | S_PATH | Protected | See coding | 20081010 | BEGIN OF s_path,
id TYPE if_fdt_types=>id,
name TYPE string,
END OF s_path
|
||
| 4 | TH_DATA_OBJECT_TIMESTAMPS | Public | See coding | 20081010 | th_data_object_timestamps TYPE HASHED TABLE OF s_data_object_timestamp
WITH UNIQUE KEY id
|
||
| 5 | TS_DATA_OBJECT | Protected | See coding | Data Objects | 20081010 | ts_data_object TYPE SORTED TABLE OF s_data_object WITH UNIQUE KEY id is_accessible
WITH NON-UNIQUE SORTED KEY top_id COMPONENTS top_id
WITH NON-UNIQUE SORTED KEY superior_id COMPONENTS superior_id
* WITH UNIQUE HASHED KEY name COMPONENTS name .
WITH NON-UNIQUE SORTED KEY name COMPONENTS name
|
|
| 6 | T_PATH | Protected | See coding | 20081010 | t_path TYPE STANDARD TABLE OF s_path WITH NON-UNIQUE KEY name
|
Method Signatures
Method CHECK_FOR_TABLE_LINE_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_S_DOBJ | Call by reference | Object reference (TYPE REF TO) | S_DATA_OBJECT | Data Object | 20081010 | |||
| 2 | IR_S_DOBJ_COMP | Call by reference | Object reference (TYPE REF TO) | S_DATA_OBJECT | Data Object of the component | 20081010 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20081010 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IS_RESULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20081216 | |||
| 2 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20081010 |
Method CONSTRUCTOR on class CL_FDT_CONTEXT_ABSTRACT has no exception.
Method GET_DATA_OBJECT_TIMESTAMPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITS_DOBJ_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs as sorted table | 20090227 | |||
| 2 | RTH_DATA_OBJECT_TIMESTAMPS | Value transfer | Type reference (TYPE) | TH_DATA_OBJECT_TIMESTAMPS | Data Object IDs | 20081010 |
Method GET_DATA_OBJECT_TIMESTAMPS on class CL_FDT_CONTEXT_ABSTRACT has no exception.
Method GET_DOBJ_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_S_DOBJ | Call by reference | Object reference (TYPE REF TO) | S_DATA_OBJECT | Data Object | 20081010 | |||
| 2 | ER_S_DOBJ_COMP | Call by reference | Object reference (TYPE REF TO) | S_DATA_OBJECT | Data Object of the component | 20081010 | |||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081010 | |||
| 4 | IV_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | Name or Name Path | 20081010 | |||
| 5 | IV_NO_DREF | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: do not create DREF on the fly | 20090225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20081024 |
Method INSERT_DATA_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_DOBJ | Call by reference | Object reference (TYPE REF TO) | IF_FDT_DATA_OBJECT | Data Object | 20081010 | |||
| 2 | IS_DOBJ_SUPERIOR | Call by reference | Type reference (TYPE) | S_DATA_OBJECT | Data Object | 20081010 | |||
| 3 | IV_TOP_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081010 | |||
| 4 | RS_DOBJ | Value transfer | Type reference (TYPE) | S_DATA_OBJECT | Data Object | 20081010 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081010 |
Method IS_MOVABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IA_SOURCE | Call by reference | Type reference (TYPE) | ANY | Source | 20090323 | |||
| 2 | IA_TARGET | Call by reference | Type reference (TYPE) | ANY | Target | 20090323 | |||
| 3 | IS_DOBJ | Call by reference | Type reference (TYPE) | S_DATA_OBJECT | Data Object | 20090323 | |||
| 4 | RV_MOVABLE | Value transfer | Type reference (TYPE) | IF_FDT_DATA_OBJECT=>CONVERTIBILITY | Convertibility/Movability | 20090323 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Conversion Failure | 20090323 |
Method MOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EA_TARGET | Call by reference | Type reference (TYPE) | ANY | Target Variable | 20081010 | |||
| 2 | IA_SOURCE | Call by reference | Type reference (TYPE) | ANY | Source Variable | 20081010 | |||
| 3 | IS_DOBJ | Call by reference | Type reference (TYPE) | S_DATA_OBJECT | Data Object | 20081010 |
Method MOVE on class CL_FDT_CONTEXT_ABSTRACT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |