SAP ABAP Class CL_FOBJ_OBJECT (Generic Implementation of a FIN Object)
Hierarchy
FINBASIS (Software Component) Fin. Basis
   FIN-FB (Application Component) Financials Basis
     FINB_FINOBJ_MANAGER (Package) Financial Object Administration
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FOBJ_TABLE_ENTRY Generic Implementation of a Table Entry 20040816
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FINB_STRUCT_OBJECT Object of a Structured Type 20050315
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FOBJ_OBJECT Basis Interface for all FIN Objects 20040430
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FIN_COSTCTR_RSCPOOL Cost Center/Activity Type 20040512
2 Inheritance (c INHERITING FROM c_ref)  CL_FIN_COST_CENTER Cost Center 20040512
3 Inheritance (c INHERITING FROM c_ref)  CL_FIN_FIXED_ASSET Asset 20050203
4 Inheritance (c INHERITING FROM c_ref)  CL_FIN_ORDER_VIEW Order View 20040506
5 Inheritance (c INHERITING FROM c_ref)  CL_FIN_PRODUCT_VIEW Material 20040429
Properties
Class CL_FOBJ_OBJECT  
Short Description Generic Implementation of a FIN Object    
Super Class CL_FOBJ_TABLE_ENTRY Generic Implementation of a Table Entry 
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FINB_FINOBJ_MANAGER   Financial Object Administration 
Created 20040429   SAP 
Last change 20050409   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_FOBJ_TABLE_COMP Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_FOBJ_TABLE_INDEX Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_FOBJ_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_FINB_STRUCT_OBJECT Object of a Structured Type 20050315
2 IF_FOBJ_OBJECT Basis Interface for all FIN Objects 20040430
Friends
# Friend Modeled only Created on Description
1 CL_FOBJ_APPL_SERVICES 20040902 Services for Applications That Use the FIN Object
2 CL_FOBJ_MANAGER 20040429 Manages Types and Instances for the FIN Object
3 CL_FOBJ_TABLE_COMP 20050209 Table Component of a FIN Object
4 CL_FOBJ_TABLE_COMP_ENTRY 20050124 Table Component Entry of a FIN Object
5 CL_FOBJ_TYPE 20040429 FIN Object Type
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MD_CURR_ACC_SYSTEM Instance attribute Public Type reference (TYPE) ACC_SYSTEM Accounting System for AS-Dependent Data 20040429
2 MD_CURR_DATE Instance attribute Public Type reference (TYPE) DATUM Date for Time-Dependent Data 20040429
3 MD_CURR_LANGU Instance attribute Public Type reference (TYPE) LANGU Language Key for Language-Dependent Data 20040429
4 MD_HIER_LEVEL Instance attribute Public Attribute reference (LIKE) 20050120
5 MD_IN_PREPARATION Instance attribute Private Type reference (TYPE) BOOLE_D Event handler for create/read not yet executed 20040906
6 MD_NUM_SCOPE1_LOCKS Instance attribute Public Type reference (TYPE) I Number of Object Locks with Scope = 1 20040906
7 MD_NUM_SCOPE2_LOCKS Instance attribute Public Type reference (TYPE) I Number of Object Locks with Scope = 2 20040906
8 MD_OBJECT_ID Instance attribute Public Attribute reference (LIKE) 20040430
9 MD_TEXTUAL_KEY Instance attribute Private Type reference (TYPE) STRING Business Object Key as Text 20040825
10 MD_TYPE_NAME Instance attribute Public Attribute reference (LIKE) 20040430
11 MO_PARENT Instance attribute Public Attribute reference (LIKE) 20040924
12 MO_TYPE Instance attribute Public Object reference (TYPE REF TO) CL_FOBJ_TYPE FIN Object Type 20040429
13 MT_CHILD Instance attribute Public Attribute reference (LIKE) 20040924
14 MT_CURR_TC_ENTRY Instance attribute Private Type reference (TYPE) YT_TC_ENTRY Entries of Table Components Based on SET_TABLE_COMP_KEY 20050202
15 MT_TABLE_COMP Instance attribute Public Type reference (TYPE) CL_FOBJ_TABLE_COMP=>YT_TABLE_COMP Table Components 20050201
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20040429
2 CREATE_OBJECT_FROM_VALUES Static method Private Method Generates Runtime FIN Object for Characteristic Values 20050124
3 FILL_STAT_TYPED_ATTR Instance method Protected Method Fills Statically Typed Attributes 20050117
4 GET_DESCRIPTION Instance method Public Method 20040429
5 GET_FIELD_VAL_FROM_COMP_VALUES Instance method Private Method Returns Characteristic Values as Characteristic Value Pairs 20050118
6 GET_TC_ENTRY Instance method Public Method Gets Table Component Entry 20040823
7 GET_TEXTUAL_KEY Instance method Public Method 20040825
8 INSERT_TC_ENTRY Instance method Public Method Adds Entry to a Table Component 20040820
9 LOCK Instance method Public Method Locks Object with Technical Key 20040907
10 LOCK_VIA_ID Static method Private Method Locks Object with Technical Key 20050128
11 SAVE Instance method Public Method Saves object if it was changed (without COMMIT) 20040825
12 SAVE_INT Static method Private Method Saves Transferred FIN Objects (Internal Use) 20050118
13 SET_ATTR_FROM_OBJECT Instance method Private Method Transfers Component Values and Selected Attributes 20050202
14 SET_PARENT Instance method Private Method Sets Parent Object 20050111
15 SET_TABLE_COMP_KEY Instance method Public Method Sets Additional Key for Table Components 20040429
16 UNLOCK Instance method Public Method Unlocks Object Through Technical Key 20040907
17 UNLOCK_ALL Instance method Public Method Releases All Object Locks 20040907
18 UNLOCK_VIA_ID Static method Private Method Unlocks object through technical key 20050128
19 UPDATE_HIER_LEVEL Instance method Private Method Updates Hierarchy Level of the Object 20050120
Events
Class CL_FOBJ_OBJECT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_FIELD_VAL Protected See coding Characteristic Value Pair 20050117 BEGIN OF ys_field_val, fieldname TYPE finb_md_fieldname, r_value TYPE REF TO data, END OF ys_field_val
2 YS_TC_ENTRY Private See coding 20040816 BEGIN OF ys_tc_entry, comp_name TYPE finb_md_fieldname, o_entry TYPE REF TO cl_fobj_table_comp_entry, END OF ys_tc_entry
3 YTS_FIELD_VAL Protected See coding 20050201 yts_field_val TYPE SORTED TABLE OF ys_field_val WITH UNIQUE KEY fieldname
4 YT_TC_ENTRY Private See coding 20050202 yt_tc_entry TYPE STANDARD TABLE OF ys_tc_entry WITH KEY comp_name
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_OBJECT_ID Call by reference Type reference (TYPE) FOBJ_OBJECT_ID Technischer Schlüssel eines FIN-Objekts 20040430
2 Importing ID_PERS_IND Call by reference Type reference (TYPE) FOBJ_PERS_IND Zustand eines transienten Objekts hinsichtl. Persistenz 20040430
3 Importing IO_TYPE Call by reference Object reference (TYPE REF TO) CL_FOBJ_TYPE FIN-Objekttyp 20040430
4 Importing IS_VALUES Call by reference Type reference (TYPE) ANY Struktur mit zu übernehmenden Werten 20050118
# Exception Resumable Description Created on
1 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20040429

Method CREATE_OBJECT_FROM_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_PERS_IND Call by reference Type reference (TYPE) FOBJ_PERS_IND Zustand eines transienten Objekts hinsichtl. Persistenz 20050124
2 Importing IO_TYPE Call by reference Object reference (TYPE REF TO) CL_FOBJ_TYPE FIN-Objekttyp 20050124
3 Importing IS_VALUES Call by reference Type reference (TYPE) ANY Struktur mit Merkmalswerten 20050124
4 Returning RO_OBJECT Value transfer Object reference (TYPE REF TO) CL_FOBJ_OBJECT Generische Implementierung eines FIN-Objekts 20050124
# Exception Resumable Description Created on
1 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20050124

Method FILL_STAT_TYPED_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_FIELD_VAL Call by reference Type reference (TYPE) YTS_FIELD_VAL Tabelle mit Merkmal-Wert-Paaren 20050202

Method FILL_STAT_TYPED_ATTR on class CL_FOBJ_OBJECT has no exception.

Method GET_DESCRIPTION Signature

Method GET_DESCRIPTION on class CL_FOBJ_OBJECT has no parameter.
Method GET_DESCRIPTION on class CL_FOBJ_OBJECT has no exception.

Method GET_FIELD_VAL_FROM_COMP_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RTS_FIELD_VAL Value transfer Type reference (TYPE) YTS_FIELD_VAL Tabelle mit Merkmal-Wert-Paaren 20050202

Method GET_FIELD_VAL_FROM_COMP_VALUES on class CL_FOBJ_OBJECT has no exception.

Method GET_TC_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_COMP_NAME Call by reference Type reference (TYPE) FINB_MD_FIELDNAME Komponentenname 20040823
2 Importing IS_KEY Call by reference Type reference (TYPE) ANY Werte der Schlüsselmerkmale 20040823
3 Returning RO_ENTRY Value transfer Object reference (TYPE REF TO) CL_FOBJ_TABLE_COMP_ENTRY Eintrag einer Tabellenkomponente eines FIN-Objekts 20040823
# Exception Resumable Description Created on
1 CX_FOBJ_COMPONENT_UNKNOWN Komponente nicht vorhanden 20040823

Method GET_TEXTUAL_KEY Signature

Method GET_TEXTUAL_KEY on class CL_FOBJ_OBJECT has no parameter.
Method GET_TEXTUAL_KEY on class CL_FOBJ_OBJECT has no exception.

Method INSERT_TC_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_COMP_NAME Call by reference Type reference (TYPE) FINB_MD_FIELDNAME Komponentenname 20040820
2 Importing IS_COMP_VALUES Call by reference Type reference (TYPE) ANY Struktur mit Merkmalswerten 20040820
3 Returning RO_ENTRY Value transfer Object reference (TYPE REF TO) CL_FOBJ_TABLE_COMP_ENTRY Eintrag einer Tabellenkomponente eines FIN-Objekts 20040823
# Exception Resumable Description Created on
1 CX_FOBJ_COMPONENT_UNKNOWN Komponente nicht vorhanden 20040823
2 CX_FOBJ_ENTRY_EXISTS Tabelleneintrag bereits vorhanden 20040823
3 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20040823
4 CX_FOBJ_UNCHANGEABLE Objekt/Komponente nicht änderbar 20040823

Method LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_COLLECT Call by reference Type reference (TYPE) DDENQ_LIKE-COLLECT ' ' Sperre erst sammeln, kein direkter DB-Zugriff 20040907
2 Importing ID_ENQUEUE_MODE Call by reference Type reference (TYPE) DD26E-ENQMODE 'E' Art der Sperre 20040907
3 Importing ID_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE '2' Steuerung des Sperrverhaltens beim Verbuchungsaufruf 20040907
4 Importing ID_WAIT Call by reference Type reference (TYPE) BOOLE_D ' ' Auf Freigabe einer ggf. bereits vorhandenen Sperre warten? 20040907
# Exception Resumable Description Created on
1 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20040907
2 CX_FOBJ_OBJECT_LOCKED Objekt gesperrt 20040907
3 CX_FOBJ_UNCHANGEABLE Hinzufügen von Sperren nur nach GET mit ID_FOR_UPDATE = 'X' 20040908

Method LOCK_VIA_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_COLLECT Call by reference Type reference (TYPE) DDENQ_LIKE-COLLECT ' ' Sperre erst sammeln, kein direkter DB-Zugriff 20050128
2 Importing ID_ENQUEUE_MODE Call by reference Type reference (TYPE) DD26E-ENQMODE 'E' Art der Sperre 20050128
3 Importing ID_OBJECT_ID Call by reference Type reference (TYPE) FOBJ_OBJECT_ID Objekt-ID 20050128
4 Importing ID_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE '2' Steuerung des Sperrverhaltens beim Verbuchungsaufruf 20050128
5 Importing ID_WAIT Call by reference Type reference (TYPE) BOOLE_D ' ' Auf Freigabe einer ggf. bereits vorhandenen Sperre warten? 20050128
# Exception Resumable Description Created on
1 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20050128
2 CX_FOBJ_OBJECT_LOCKED Objekt gesperrt 20050128

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_UNCHANGED Call by reference Type reference (TYPE) BOOLE_D Objekt wurde nicht gesichert, da unverändert 20040825
2 Importing ID_IN_UPDATE_TASK Call by reference Type reference (TYPE) BOOLE_D 'X' 'X' = Fortschreibung in Verbuchung 20040907
# Exception Resumable Description Created on
1 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20040825

Method SAVE_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_NUM_SAVED_OBJECTS Call by reference Type reference (TYPE) INT4 Anzahl der gesicherten FIN-Objekte 20050118
2 Exporting ED_NUM_UNCHANGED_OBJECTS Call by reference Type reference (TYPE) INT4 Anzahl der unveränderten, nicht gesicherten FIN-Objekte 20050118
3 Importing ID_IN_UPDATE_TASK Call by reference Type reference (TYPE) BOOLE_D 'X' = Fortschreibung in Verbuchung 20050118
4 Importing IT_OBJECT Value transfer Type reference (TYPE) FOBJ_T_OBJECT Alle FIN-Objekte, die zu sichern sind 20050118
# Exception Resumable Description Created on
1 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20050118

Method SET_ATTR_FROM_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) CL_FOBJ_OBJECT Generische Implementierung eines FIN-Objekts 20050202
# Exception Resumable Description Created on
1 CX_FOBJ_ERROR Fehler aufgetreten (Meldungen in Message-Handler) 20050202

Method SET_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) CL_FOBJ_OBJECT Generische Implementierung eines FIN-Objekts 20050111

Method SET_PARENT on class CL_FOBJ_OBJECT has no exception.

Method SET_TABLE_COMP_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TABLE_COMP_WO_ENTRY Call by reference Type reference (TYPE) ACC_T_TABLE_COMP_NAME Tabellenkomponenten, für die kein Eintrag gefunden wurde 20040429
2 Importing I_ACC_SYSTEM Call by reference Type reference (TYPE) ACC_SYSTEM Rechnungssystem 20040429
3 Importing I_DATE Call by reference Type reference (TYPE) DATUM Datum 20040429
4 Importing I_FORCED Call by reference Type reference (TYPE) BOOLE_D '' 'X' = Puffer ignorieren 20040909
5 Importing I_LANGU Call by reference Type reference (TYPE) LANGU Sprachenschlüssel 20040429
# Exception Resumable Description Created on
1 CX_FOBJ_OBJECT_DELETED Objekt gelöscht oder Objektreferenz ungültig 20050202

Method UNLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_COLLECT Call by reference Type reference (TYPE) DDENQ_LIKE-COLLECT ' ' Sperre erst sammeln, kein direkter DB-Zugriff 20040907
2 Importing ID_ENQUEUE_MODE Call by reference Type reference (TYPE) DD26E-ENQMODE 'E' Art der Sperre 20040907
3 Importing ID_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE '2' Steuerung des Sperrverhaltens beim Verbuchungsaufruf 20040907

Method UNLOCK on class CL_FOBJ_OBJECT has no exception.

Method UNLOCK_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_COLLECT Call by reference Type reference (TYPE) DDENQ_LIKE-COLLECT Flag, ob Sperren erst nur aufgesammelt werden sollen 20040907

Method UNLOCK_ALL on class CL_FOBJ_OBJECT has no exception.

Method UNLOCK_VIA_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_COLLECT Call by reference Type reference (TYPE) DDENQ_LIKE-COLLECT ' ' Sperre erst sammeln, kein direkter DB-Zugriff 20050128
2 Importing ID_ENQUEUE_MODE Call by reference Type reference (TYPE) DD26E-ENQMODE 'E' Art der Sperre 20050128
3 Importing ID_OBJECT_ID Call by reference Type reference (TYPE) FOBJ_OBJECT_ID Objekt-ID 20050128
4 Importing ID_SCOPE Call by reference Type reference (TYPE) DDENQSCOPE '2' Steuerung des Sperrverhaltens beim Verbuchungsaufruf 20050128

Method UNLOCK_VIA_ID on class CL_FOBJ_OBJECT has no exception.

Method UPDATE_HIER_LEVEL Signature

Method UPDATE_HIER_LEVEL on class CL_FOBJ_OBJECT has no parameter.
Method UPDATE_HIER_LEVEL on class CL_FOBJ_OBJECT has no exception.
History
Last changed by/on SAP  20050409 
SAP Release Created in 300