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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_FDT_FUNCTION_PROCESS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_FDT_CONTEXT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_FDT_DATA_OBJECT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_FDT_TYPES 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 GC_ACCESS_TYPE_DIRECT Constant Public Type reference (TYPE) ACCESS_TYPE 'D' Access Type Direct Usage 20081111
2 GC_ACCESS_TYPE_NONE Constant Public Type reference (TYPE) ACCESS_TYPE 'N' Access Type No Usage 20081111
3 GC_ACCESS_TYPE_TABLINE Constant Public Type reference (TYPE) ACCESS_TYPE 'L' Access Type Usage as Table Line 20081111
4 GC_SC_STATE_AFTER_PROCESSING Constant Private Type reference (TYPE) CHAR01 '9' extract context in generated class 20100520
5 GC_SC_STATE_EXTRACT Constant Private Type reference (TYPE) CHAR01 '3' Character Field Length 1 20100520
6 GC_SC_STATE_INITIAL Constant Private Type reference (TYPE) CHAR01 SPACE 20100520
7 GC_SC_STATE_PREPARATION Constant Private Type reference (TYPE) CHAR01 '1' preparation (called by extern application) 20100520
8 GC_SC_STATE_STOPPED Constant Private Type reference (TYPE) CHAR01 'X' After switch to classic Context behaviour 20100526
9 MO_TRACE Instance attribute Public Object reference (TYPE REF TO) IF_FDT_TRACE_WRITE FDT: Trace (Write Interface) 20100215
10 MT_NAME_VALUE Instance attribute Private Type reference (TYPE) T_NAME_ID_VALUE 20100319
11 MV_FUNCTION_ID Instance attribute Private Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20100713
12 MV_SIMPLE_STATE Instance attribute Private Type reference (TYPE) CHAR01 Character Field Length 1 20100319
13 MV_SIMPLE_TIMESTAMP Instance attribute Private Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100319
14 MV_SIMPLE_TRACE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100319
15 MV_TIMESTAMP Instance attribute Public Attribute reference (LIKE) 20050925
16 MV_TIMESTAMP_VALUE_CHANGE Instance attribute Public Attribute reference (LIKE) 20060201
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ID_INFO Static method Private Method 20081111
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20050924
3 CONVERT_SIMPLE_CONTEXT Instance method Protected Method 20100319
4 ENHANCE_PROCESSING_CONTEXT Static method Public Method Enhances the processing context during runtime with table wa 20100315
5 FILL_CONTEXT_SUPPLIED_INFO Instance method Public Method Fills the supplied information in the context 20100622
6 GENERATE_GET_COMPONENT_NAME Static method Public Method 20081112
7 GENERATE_GET_VALUE Static method Public Method 20081016
8 GET_CONTEXT_INFORMATION Static method Public Method 20081111
9 GET_DATA_OBJECT Instance method Public Method Get a certain Data Object from the context 20081010
10 GET_TABLE_LINE_INFORMATION Static method Public Method Table line Information for an ID 20100916
11 GET_TOP_IDS Instance method Public Method Get Context Top (Root) IDs for list of supplied IDs 20090227
12 PREPARE_SIMPLE_CONTEXT Instance method Protected Method 20100319
13 SET_SIMPLIFIED_STATE Instance method Protected Method 20100319
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 Changing CTS_ID_INFO Call by reference Type reference (TYPE) TS_ID_INFO ID information table 20081111
2 Importing IS_SUPERIOR_INFO Call by reference Type reference (TYPE) S_ID_INFO Superior ID Info 20081111
3 Importing IS_TOP_INFO Call by reference Type reference (TYPE) S_ID_INFO Top ID Info 20081111
4 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID for which information is requested 20081111
5 Importing IV_RESOLVE_USED Call by reference Type reference (TYPE) ABAP_BOOL Resolved used IDs (table line, structure components) 20081111
6 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20081111
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20081111

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 CX_FDT 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 Exporting ETS_ADDED_IDS Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_OBJECT_ID Added Ids 20100315
2 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20100315
3 Importing IV_RESULT_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Result ID 20100315
4 Importing 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 Importing 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 Exporting EV_NAME Call by reference Type reference (TYPE) STRING 20081127
2 Exporting EV_SUPERIOR_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20081127
3 Importing IO_GENERATION_MNGR Call by reference Object reference (TYPE REF TO) CL_FDT_GENERATION_MANAGER FDT: Generation of Classes 20090311
4 Importing ITS_CONTEXT_IDS Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_OBJECT_ID Object IDs as sorted table 20081112
5 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20081202
6 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20081112
7 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20081112
# Exception Resumable Description Created on
1 CX_FDT_GEN_NOT_SUPPORTED FDT: Generation not (yet) supported 20090609
2 CX_FDT_INPUT FDT: Invalid Input 20081128

Method GENERATE_GET_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing 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 Exporting ET_SOURCE_CODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE Table with Source Code 20081016
3 Exporting EV_DIRECT_RESULT_NAME Call by reference Type reference (TYPE) STRING 20081016
4 Importing IO_GENERATION_MNGR Call by reference Object reference (TYPE REF TO) CL_FDT_GENERATION_MANAGER FDT: Generation of Classes 20081016
5 Importing IV_CALLING_EXPR_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090303
6 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20081016
7 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20081016
8 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20081016
9 Importing IV_VARIABLE_NAME Call by reference Type reference (TYPE) CLIKE 20081016
# Exception Resumable Description Created on
1 CX_FDT_GEN_NOT_SUPPORTED FDT: Generation not (yet) supported 20090609
2 CX_FDT_INPUT FDT: Invalid Input 20090127

Method GET_CONTEXT_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_ID_INFO Call by reference Type reference (TYPE) TS_ID_INFO ID information 20081111
2 Exporting EV_ACCESS_TYPE Call by reference Type reference (TYPE) ACCESS_TYPE See constants* GC_ACCESS_TYPE* 20081111
3 Exporting EV_CONTAINED Call by reference Type reference (TYPE) ABAP_BOOL Data Object is in the context 20081111
4 Importing ITS_CONTEXT Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_OBJECT_ID Context Data Object IDs 20081111
5 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Data Object ID 20081111
6 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20081111
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090409

Method GET_DATA_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20081010
2 Importing IV_NAME Call by reference Type reference (TYPE) IF_FDT_TYPES=>NAME 20081010
3 Returning RO_DATA_OBJECT Value transfer Object reference (TYPE REF TO) IF_FDT_DATA_OBJECT FDT: Data Object 20081010
# Exception Resumable Description Created on
1 CX_FDT_INPUT 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 Exporting EV_IS_TABLE_LINE Call by reference Type reference (TYPE) ABAP_BOOL Is it a table line? 20100916
2 Exporting EV_TABLE_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Table ID 20100916
3 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20100916
4 Importing 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 Exporting ETS_INVALID Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_OBJECT_ID Invalid IDs, not in context 20090227
2 Exporting ETS_TOP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_OBJECT_ID List of top (root) IDs in context 20090227
3 Importing 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 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20100319
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100319
3 Importing IV_TRACE_GENERATION Call by reference Type reference (TYPE) ABAP_BOOL 20100319
# Exception Resumable Description Created on
1 CX_FDT 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 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20100713
2 Importing 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