SAP ABAP Class CL_FDT_CONTEXT (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 - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_FDT_CONTEXT_ABSTRACT | FDT: Context | 20081010 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FDT_CONTEXT | FDT: Context | 20050828 |
Properties
| Class | CL_FDT_CONTEXT | |
| Short Description | FDT: Context | |
| Super Class | CL_FDT_CONTEXT_ABSTRACT | FDT: Context |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_CORE | BRFplus: Core |
| Created | 20050822 | SAP |
| Last change | 20130531 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 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... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_FDT_CONTEXT | FDT: Context | 20050828 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_FDT_EXPR_SV | 20100525 | FDT: Simple Value Services for Expressions | |
| 2 | CL_FDT_FUNCTION | 20100319 | FDT: Function | |
| 3 | CL_FDT_FUNCTION_GEN_PROCESS | 20100319 | Generic processing of FDT functions | |
| 4 | CL_FDT_FUNCTION_PROCESS | 20100319 | FDT: Function Process Service | |
| 5 | CL_FDT_RULESET | 20100226 | FDT: Ruleset |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ACCESS_TYPE | 'D' | Access Type Direct Usage | 20081111 | ||
| 2 | Constant | Public | Type reference (TYPE) | ACCESS_TYPE | 'N' | Access Type No Usage | 20081111 | ||
| 3 | Constant | Public | Type reference (TYPE) | ACCESS_TYPE | 'L' | Access Type Usage as Table Line | 20081111 | ||
| 4 | Constant | Private | Type reference (TYPE) | CHAR01 | '9' | extract context in generated class | 20100520 | ||
| 5 | Constant | Private | Type reference (TYPE) | CHAR01 | '3' | Character Field Length 1 | 20100520 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR01 | SPACE | 20100520 | |||
| 7 | Constant | Private | Type reference (TYPE) | CHAR01 | '1' | preparation (called by extern application) | 20100520 | ||
| 8 | Constant | Private | Type reference (TYPE) | CHAR01 | 'X' | After switch to classic Context behaviour | 20100526 | ||
| 9 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_FDT_TRACE_WRITE | FDT: Trace (Write Interface) | 20100215 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | T_NAME_ID_VALUE | 20100319 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20100713 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Character Field Length 1 | 20100319 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20100319 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20100319 | ||||
| 15 | Instance attribute | Public | Attribute reference (LIKE) | 20050925 | |||||
| 16 | Instance attribute | Public | Attribute reference (LIKE) | 20060201 |
Methods
Events
Class CL_FDT_CONTEXT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ACCESS_TYPE | Public | See coding | 20081111 | access_type TYPE c LENGTH 1
|
||
| 2 | S_ID_INFO | Public | See coding | 20081111 | BEGIN OF s_id_info,
id TYPE if_fdt_types=>id,
name TYPE if_fdt_types=>name,
dobj_type TYPE if_fdt_types=>data_object_type,
element_type TYPE if_fdt_types=>element_type,
* can be set for IDs that are tables only: line is element or structure
line_type TYPE if_fdt_types=>data_object_type,
* is the line type of a table (superior ID)
is_line_type TYPE abap_bool,
* data object is deep (structure nests structure or table)
is_deep TYPE abap_bool,
* see constants GC_ACCESS_TYPE*
access_type TYPE access_type,
* the nesting object for this ID; when not set the ID itself is a
* top ID, there is no superior one
superior_id TYPE if_fdt_types=>id,
* when not set the ID itself is a top ID; top ID means it is directly
* set in context and not a nested component
top_id TYPE if_fdt_types=>id,
END OF s_id_info
|
||
| 3 | S_NAME_ID_VALUE | Private | See coding | 20100319 | BEGIN OF s_name_id_value,
id TYPE if_fdt_types=>id,
name TYPE abap_parmname,
data_object_type type if_fdt_types=>data_object_type,
value TYPE REF TO data,
value_set type abap_bool,
END OF s_name_id_value
|
||
| 4 | TS_ID_INFO | Public | See coding | 20081111 | ts_id_info TYPE SORTED TABLE OF s_id_info WITH UNIQUE KEY id
|
||
| 5 | T_NAME_ID_VALUE | Private | See coding | 20100319 | t_name_id_value TYPE HASHED TABLE OF s_name_id_value
WITH UNIQUE KEY name
|
Method Signatures
Method ADD_ID_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CTS_ID_INFO | Call by reference | Type reference (TYPE) | TS_ID_INFO | ID information table | 20081111 | |||
| 2 | IS_SUPERIOR_INFO | Call by reference | Type reference (TYPE) | S_ID_INFO | Superior ID Info | 20081111 | |||
| 3 | IS_TOP_INFO | Call by reference | Type reference (TYPE) | S_ID_INFO | Top ID Info | 20081111 | |||
| 4 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID for which information is requested | 20081111 | |||
| 5 | IV_RESOLVE_USED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Resolved used IDs (table line, structure components) | 20081111 | |||
| 6 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20081111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20081111 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20050924 |
Method CONSTRUCTOR on class CL_FDT_CONTEXT has no exception.
Method CONVERT_SIMPLE_CONTEXT Signature
Method CONVERT_SIMPLE_CONTEXT on class CL_FDT_CONTEXT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Abstract Exception Class | 20100319 |
Method ENHANCE_PROCESSING_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_ADDED_IDS | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Added Ids | 20100315 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20100315 | |||
| 3 | IV_RESULT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Result ID | 20100315 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20100315 |
Method ENHANCE_PROCESSING_CONTEXT on class CL_FDT_CONTEXT has no exception.
Method FILL_CONTEXT_SUPPLIED_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITS_CONTEXT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs as sorted table | 20100622 |
Method FILL_CONTEXT_SUPPLIED_INFO on class CL_FDT_CONTEXT has no exception.
Method GENERATE_GET_COMPONENT_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NAME | Call by reference | Type reference (TYPE) | STRING | 20081127 | ||||
| 2 | EV_SUPERIOR_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081127 | |||
| 3 | IO_GENERATION_MNGR | Call by reference | Object reference (TYPE REF TO) | CL_FDT_GENERATION_MANAGER | FDT: Generation of Classes | 20090311 | |||
| 4 | ITS_CONTEXT_IDS | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs as sorted table | 20081112 | |||
| 5 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081202 | |||
| 6 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081112 | |||
| 7 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20081112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Generation not (yet) supported | 20090609 | ||
| 2 | FDT: Invalid Input | 20081128 |
Method GENERATE_GET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CTS_USED_CONTEXT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_USED_CONTEXT_ID | Actually used / required ID's from context in generated code | 20090303 | |||
| 2 | ET_SOURCE_CODE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_SOURCE_CODE | Table with Source Code | 20081016 | |||
| 3 | EV_DIRECT_RESULT_NAME | Call by reference | Type reference (TYPE) | STRING | 20081016 | ||||
| 4 | IO_GENERATION_MNGR | Call by reference | Object reference (TYPE REF TO) | CL_FDT_GENERATION_MANAGER | FDT: Generation of Classes | 20081016 | |||
| 5 | IV_CALLING_EXPR_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20090303 | |||
| 6 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081016 | |||
| 7 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081016 | |||
| 8 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20081016 | |||
| 9 | IV_VARIABLE_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20081016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Generation not (yet) supported | 20090609 | ||
| 2 | FDT: Invalid Input | 20090127 |
Method GET_CONTEXT_INFORMATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_ID_INFO | Call by reference | Type reference (TYPE) | TS_ID_INFO | ID information | 20081111 | |||
| 2 | EV_ACCESS_TYPE | Call by reference | Type reference (TYPE) | ACCESS_TYPE | See constants* GC_ACCESS_TYPE* | 20081111 | |||
| 3 | EV_CONTAINED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Data Object is in the context | 20081111 | |||
| 4 | ITS_CONTEXT | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Context Data Object IDs | 20081111 | |||
| 5 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Data Object ID | 20081111 | |||
| 6 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20081111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20090409 |
Method GET_DATA_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20081010 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>NAME | 20081010 | ||||
| 3 | RO_DATA_OBJECT | Value transfer | Object reference (TYPE REF TO) | IF_FDT_DATA_OBJECT | FDT: Data Object | 20081010 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20081010 |
Method GET_TABLE_LINE_INFORMATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_TABLE_LINE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Is it a table line? | 20100916 | |||
| 2 | EV_TABLE_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Table ID | 20100916 | |||
| 3 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20100916 | |||
| 4 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Incoming ID | 20100916 |
Method GET_TABLE_LINE_INFORMATION on class CL_FDT_CONTEXT has no exception.
Method GET_TOP_IDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_INVALID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Invalid IDs, not in context | 20090227 | |||
| 2 | ETS_TOP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | List of top (root) IDs in context | 20090227 | |||
| 3 | ITS_DOBJ | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | List if IDs in Context | 20090227 |
Method GET_TOP_IDS on class CL_FDT_CONTEXT has no exception.
Method PREPARE_SIMPLE_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20100319 | |||
| 2 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20100319 | |||
| 3 | IV_TRACE_GENERATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Abstract Exception Class | 20100319 |
Method SET_SIMPLIFIED_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20100713 | |||
| 2 | IV_STATE | Call by reference | Type reference (TYPE) | CLIKE | 20100319 |
Method SET_SIMPLIFIED_STATE on class CL_FDT_CONTEXT has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |