SAP ABAP Class /BOBF/CL_BUF_SIMPLE (Simple Relational Buffer)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   AP-RC-BOF-RNT (Application Component) Business Object Processing Framework Runtime
     /BOBF/BUFFER (Package) Business Object Processing Buffer Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /BOBF/IF_FRW_BUFFER Interface to the Data Layer 20081212
2 Interface implementation (CLASS c. INTERFACES i_ref)  /BOBF/IF_FRW_CLONEABLE Clonable BOPF entities 20091208
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /BOBF/CL_TOOL_AUNIT_BUF Buffer for BOPF AUnit Framework 20081213
2 Inheritance (c INHERITING FROM c_ref)  /BOFU/CL_CHANGE_DOC_BUF_SIMPLE Change Document Buffer 20111208
3 Inheritance (c INHERITING FROM c_ref)  CL_SAWE_B_EMPLOYEE_TIME Time Planning Sheet: Employee 20091007
Properties
Class /BOBF/CL_BUF_SIMPLE  
Short Description Simple Relational Buffer    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /BOBF/BUFFER   Business Object Processing Buffer Management 
Created 20081212   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)
Interfaces
# Interface Abstract Final Description Created on
1 /BOBF/IF_FRW_BUFFER Interface to the Data Layer 20081212
2 /BOBF/IF_FRW_CLONEABLE Clonable BOPF entities 20091208
Friends
# Friend Modeled only Created on Description
1 /BOBF/CL_TRA_TRANSACTION_MGR 20121119 Transaction Manager
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_SYNC_STATE Constant Private Type reference (TYPE) STRING 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' 20081212
2 MO_CONF Instance attribute Protected Object reference (TYPE REF TO) /BOBF/IF_FRW_CONFIGURATION Key 20081212
3 MO_DATA_ACCESS Instance attribute Protected Object reference (TYPE REF TO) /BOBF/IF_BUF_DATA_ACCESS Interface for Database Access 20081212
4 MO_MAIN_BUFFER Instance attribute Protected Object reference (TYPE REF TO) /BOBF/IF_FRW_BUFFER Interface to the Data Layer 20081212
5 MT_ALTERNATIVE_KEY Instance attribute Private Type reference (TYPE) TT_ALTERNATIVE_KEY Cache for alternative key access 20081212
6 MT_BUFFER Instance attribute Protected Type reference (TYPE) /BOBF/T_BUF_SIMPLE_BUFFER Main Buffer 20081212
7 MT_BUFFER_COMP Instance attribute Protected Type reference (TYPE) TT_COMP Loaded Completely 20081212
8 MT_BUFFER_REV_FK Instance attribute Protected Type reference (TYPE) TT_REV_FK Buffered reverse foreign key associations 20081212
9 MT_CHANGE Instance attribute Protected Type reference (TYPE) TT_CHANGE Interface for Change Class 20081212
10 MT_CHANGE_SYNC Instance attribute Private Type reference (TYPE) TT_CHANGE_SYNC 20081212
11 MT_CONF_COMP Instance attribute Private Type reference (TYPE) /BOBF/T_CONFRO_ASSOC2 Configuration: Associations 20081212
12 MT_NODE_KEY Instance attribute Protected Type reference (TYPE) /BOBF/T_FRW_NODE_ONLY Key Table 20081212
13 MT_PARENT_NOLOAD Instance attribute Private Type reference (TYPE) TT_NODE 20081212
14 MT_ROOT_KEYS Instance attribute Private Type reference (TYPE) /BOBF/T_FRW_KEY_SORTED Key Table 20081212
15 MT_ROOT_KEYS_CHANGED Instance attribute Private Type reference (TYPE) /BOBF/T_FRW_KEY_SORTED Key Table 20081212
16 MV_BO_KEY Instance attribute Protected Type reference (TYPE) /BOBF/OBM_BO_KEY Business Object 20081212
17 MV_IS_MAIN_BUFFER Instance attribute Private Type reference (TYPE) BOOLE_D Boolean variable 20081212
18 MV_PARENT_NODE_KEY Instance attribute Private Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212
19 ST_INSTANCE Static Attribute Protected Type reference (TYPE) TT_INSTANCE 20081212
Methods
# Method Level Visibility Method type Description Created on
1 CLEAR_COMP_TAB Instance method Private Method 20081212
2 CONSTRUCTOR Instance method Public Constructor 20081212
3 DELETE_SUBNODES Instance method Private Method Delete not reloaded subnodes in the same load group 20081212
4 EVAL_ASSOC_BINDING Instance method Protected Method Check if a buffer entry matches the association binding 20081212
5 FILL_KEYS Instance method Protected Method Fill keys of data record 20081212
6 GET_LOADABLE_NODE Static method Protected Method Determines the local root node 20081212
7 GET_SUBTREE Static method Protected Method Determines the local node group 20081212
8 HANDLE_EVENT_END_LOAD Instance method Protected Event handling method Event Handler for END_LOAD of Buffer Dispatcher 20081212
9 IS_CHANGED Instance method Private Method Objects are marked as changed 20081212
10 LOAD_COMPOSITION Instance method Protected Method Makes sure that the target node instances are in the buffer 20081212
11 SIMPLE_RETRIEVE_BY_COMP_DB Instance method Private Method Simple RBA directly from DB for compositions 20130219
12 SIMPLE_RETRIEVE_DB Instance method Private Method Simple Retrieve directly from DB table 20130212
13 UPDATE_LOCK_NODE Instance method Private Method Executes an Update of a Lock Node 20081212
14 UPDATE_PROPERTY_NODE Instance method Protected Method Executes a modify on the property node 20081212
15 WRITE_LOADED_DATA Instance method Protected Method Merges loaded data into the buffer 20081212
Events
Class /BOBF/CL_BUF_SIMPLE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CHANGE Protected See coding 20081212 BEGIN OF ts_change, node_key TYPE /BOBF/OBM_NODE_KEY, key TYPE /BOBF/CONF_KEY, change TYPE /BOBF/CONF_CHANGE_MODE, END OF ts_change
2 TS_COMP Protected See coding 20081212 BEGIN OF ts_comp, source_node_key TYPE /BOBF/OBM_NODE_KEY, source_key TYPE /BOBF/CONF_KEY, target_node_key TYPE /BOBF/OBM_NODE_KEY, with_data TYPE boole_d, selection TYPE /BOBF/T_BUF_SELECTION, END OF ts_comp
3 TS_INSTANCE Protected See coding 20081212 BEGIN OF ts_instance, bo_key TYPE /BOBF/OBM_BO_KEY, node_key TYPE /BOBF/OBM_NODE_KEY, buffer TYPE REF TO /BOBF/IF_FRW_BUFFER, END OF ts_instance
4 TS_REV_FK Protected See coding 20081212 BEGIN OF ts_rev_fk, assoc_key TYPE /BOBF/OBM_ASSOC_KEY, source_key TYPE /BOBF/CONF_KEY, source_node_key TYPE /BOBF/OBM_NODE_KEY, target_node_key TYPE /BOBF/OBM_NODE_KEY, END OF ts_rev_fk
5 TT_ALTERNATIVE_KEY Protected See coding 20081212 tt_alternative_key TYPE HASHED TABLE OF ty_alternative_key WITH UNIQUE KEY altkey_key value
6 TT_CHANGE Protected See coding 20081212 tt_change TYPE SORTED TABLE OF ts_change WITH UNIQUE KEY primary_key COMPONENTS node_key key change WITH NON-UNIQUE SORTED KEY change COMPONENTS change node_key
7 TT_CHANGE_SYNC Protected See coding 20081212 tt_change_sync TYPE HASHED TABLE OF ty_change_sync WITH UNIQUE KEY state
8 TT_COMP Protected See coding 20081212 tt_comp TYPE SORTED TABLE OF ts_comp WITH NON-UNIQUE KEY source_node_key source_key target_node_key
9 TT_INSTANCE Protected See coding 20081212 tt_instance TYPE HASHED TABLE OF ts_instance WITH UNIQUE KEY bo_key node_key
10 TT_NODE Protected See coding 20081212 tt_node TYPE SORTED TABLE OF /BOBF/OBM_NODE_KEY WITH UNIQUE KEY table_line
11 TT_REV_FK Protected See coding 20081212 tt_rev_fk TYPE SORTED TABLE OF ts_rev_fk WITH NON-UNIQUE KEY assoc_key source_key WITH NON-UNIQUE SORTED KEY target_node_key COMPONENTS target_node_key WITH NON-UNIQUE SORTED KEY source_node_key COMPONENTS source_node_key source_key
12 TY_ALTERNATIVE_KEY Protected See coding 20081212 BEGIN OF ty_alternative_key, altkey_key TYPE /BOBF/OBM_ALTKEY_KEY, value TYPE xstring, END OF ty_alternative_key
13 TY_CHANGE_SYNC Protected See coding 20081212 BEGIN OF ty_change_sync, state TYPE /BOBF/CONF_STATE, change TYPE tt_change, rollback_done TYPE boole_d, END OF ty_change_sync
Method Signatures

Method CLEAR_COMP_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SOURCE_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20081212
2 Importing IT_SOURCE_NODE Call by reference Type reference (TYPE) /BOBF/T_FRW_NODE Node Table 20081212
3 Importing IV_SOURCE_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212
4 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE State 20081212
# Exception Resumable Description Created on
1 /BOBF/CX_FRW 20081212

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NODE_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Node Table 20081212
2 Importing IV_BO_KEY Call by reference Type reference (TYPE) /BOBF/OBM_BO_KEY Business Object 20081212
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212
# Exception Resumable Description Created on
1 /BOBF/CX_FRW 20081212

Method DELETE_SUBNODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_NODE Call by reference Type reference (TYPE) /BOBF/T_FRW_NODE Node Table 20081212
2 Importing IO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CHANGE Interface of Change Object 20081212
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212
4 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE State 20081212

Method DELETE_SUBNODES on class /BOBF/CL_BUF_SIMPLE has no exception.

Method EVAL_ASSOC_BINDING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ASSOCB Call by reference Object reference (TYPE REF TO) /BOBF/T_CONFRO_ASSOCB Configuration: Association Binding 20081212
2 Importing IS_DATA Call by reference Object reference (TYPE REF TO) DATA Buffer entry 20081212
3 Importing IS_PARAMETERS Call by reference Object reference (TYPE REF TO) DATA Filter parameter structure 20081212
4 Importing IT_FILTERED_ATTRIBUTES Call by reference Type reference (TYPE) /BOBF/T_FRW_NAME List of Names (e.g. Fieldnames) 20081212
5 Returning RV_RESULT Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20081212

Method EVAL_ASSOC_BINDING on class /BOBF/CL_BUF_SIMPLE has no exception.

Method FILL_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DATA Call by reference Type reference (TYPE) ANY 20081212
2 Importing IS_KEYS Call by reference Type reference (TYPE) /BOBF/S_FRW_KEY_INCL NodeID 20081212
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212

Method FILL_KEYS on class /BOBF/CL_BUF_SIMPLE has no exception.

Method GET_LOADABLE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212
2 Importing IO_CONF Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CONFIGURATION Interface for Configuration 20081212
3 Importing IV_BUFFER_CLASS Call by reference Type reference (TYPE) STRING Object Type Name 20081212
4 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212
# Exception Resumable Description Created on
1 /BOBF/CX_BUF 20081212

Method GET_SUBTREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODE_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Node Table 20081212
2 Importing IO_CONF Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CONFIGURATION Interface for Configuration 20081212
3 Importing IV_BUFFER_CLASS Call by reference Type reference (TYPE) STRING Object Type Name 20081212
4 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212

Method GET_SUBTREE on class /BOBF/CL_BUF_SIMPLE has no exception.

Method HANDLE_EVENT_END_LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CHANGE Value transfer Attribute reference (LIKE) 20081212
2 Importing IV_BO_KEY Value transfer Attribute reference (LIKE) 20081212

Method HANDLE_EVENT_END_LOAD on class /BOBF/CL_BUF_SIMPLE has no exception.

Method IS_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_CHANGED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20081212
2 Importing IV_KEY Call by reference Type reference (TYPE) /BOBF/CONF_KEY NodeID 20081212
3 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY Node 20081212

Method IS_CHANGED on class /BOBF/CL_BUF_SIMPLE has no exception.

Method LOAD_COMPOSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CHANGE Interface of Change Object 20081212
2 Importing IS_ASSOC Call by reference Type reference (TYPE) /BOBF/S_CONFRO_ASSOC Configuration: Association 20081212
3 Importing IT_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20081212
4 Importing IT_SELECTION Call by reference Type reference (TYPE) /BOBF/T_BUF_SELECTION Table for Buffer Selections 20081212
5 Importing IV_FILL_DATA Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20081212
6 Importing IV_NOTIFY_KEYLOAD Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20081212
7 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE State 20081212
# Exception Resumable Description Created on
1 /BOBF/CX_FRW 20081212

Method SIMPLE_RETRIEVE_BY_COMP_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) INDEX TABLE 20130219
2 Exporting ET_KEY_LINK Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY_LINK 20130219
3 Exporting ET_TARGET_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20130219
4 Importing IO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CHANGE Interface for Change Class 20130219
5 Importing IS_ASSOC Call by reference Type reference (TYPE) /BOBF/S_CONFRO_ASSOC Configuration: Association 20130219
6 Importing IT_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20130219
7 Importing IV_BUFFER_ONLY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130219
8 Importing IV_FILL_DATA Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130219
9 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE Status 20130219
# Exception Resumable Description Created on
1 /BOBF/CX_FRW BOPF Exception Class 20130219

Method SIMPLE_RETRIEVE_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) INDEX TABLE 20130212
2 Exporting ET_FAILED_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20130212
3 Importing IO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CHANGE Only bound if IV_BUFFER_ONLY = false 20130212
4 Importing IS_NODECONF Call by reference Type reference (TYPE) /BOBF/S_CONFRO_NODE Configuration: Node 20130212
5 Importing IT_KEY Call by reference Type reference (TYPE) /BOBF/T_FRW_KEY Key Table 20130212
6 Importing IV_BUFFER_ONLY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130219
7 Importing IV_FILL_DATA Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130219
8 Importing IV_NODE_KEY Call by reference Type reference (TYPE) /BOBF/OBM_NODE_KEY 20130212
9 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE Status 20130212
# Exception Resumable Description Created on
1 /BOBF/CX_FRW BOPF Exception Class 20130212

Method UPDATE_LOCK_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CHG Call by reference Type reference (TYPE) /BOBF/T_FRW_CHANGE Changed Nodes 20081212
2 Importing IS_MOD Call by reference Type reference (TYPE) /BOBF/S_FRW_MODIFICATION Change 20081212
3 Importing IS_NODE Call by reference Type reference (TYPE) /BOBF/S_CONFRO_NODE Configuration: Node 20081212
4 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE Status 20081212
# Exception Resumable Description Created on
1 /BOBF/CX_FRW 20081212

Method UPDATE_PROPERTY_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CHG Call by reference Type reference (TYPE) /BOBF/T_FRW_CHANGE Changed Nodes 20081212
2 Importing IS_MOD Call by reference Type reference (TYPE) /BOBF/S_FRW_MODIFICATION 20081212
3 Importing IS_NODE Call by reference Type reference (TYPE) /BOBF/S_CONFRO_NODE Configuration: Node 20081212
4 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE 20081212
# Exception Resumable Description Created on
1 /BOBF/CX_FRW 20081212

Method WRITE_LOADED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CHANGE Call by reference Object reference (TYPE REF TO) /BOBF/IF_FRW_CHANGE Interface of Change Object 20081212
2 Importing IT_DATA Call by reference Type reference (TYPE) /BOBF/T_BUF_DATA_READ Node Table with Data from Mapper 20081212
3 Importing IT_FAILED_NODE Call by reference Type reference (TYPE) /BOBF/T_FRW_NODE Node Table 20081212
4 Importing IV_CHANGE_MODE Call by reference Type reference (TYPE) /BOBF/CONF_CHANGE_MODE Change category 20081212
5 Importing IV_RELOAD Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20081212
6 Importing IV_SCOPE Call by reference Type reference (TYPE) /BOBF/BUF_READ_SCOPE Scope used during read access 20081212
7 Importing IV_STATE Call by reference Type reference (TYPE) /BOBF/CONF_STATE State 20081212
# Exception Resumable Description Created on
1 /BOBF/CX_FRW 20081212
History
Last changed by/on SAP  20130531 
SAP Release Created in 702