SAP ABAP Class CL_FAGL_DATAC_CONTAINER (Data Container for Any Data)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL (Application Component) General Ledger Accounting
     FAGL_POSTING_SERV_EHP3 (Package) Services for Posting FI Documents (EhP3)
Properties
Class CL_FAGL_DATAC_CONTAINER  
Short Description Data Container for Any Data    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FAGL_POSTING_SERV_EHP3   Services for Posting FI Documents (EhP3) 
Created 20080529   SAP 
Last change 20100310   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
Class CL_FAGL_DATAC_CONTAINER has no interface implemented.
Friends
Class CL_FAGL_DATAC_CONTAINER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BUILT_IN Constant Protected Type reference (TYPE) CHAR4 '****' Built-In Type STRING, C, I, RAW,... 20080529
2 GC_SEPARATOR Constant Protected Type reference (TYPE) C '/' Delineator 20080529
3 GT_DATA Instance attribute Protected Type reference (TYPE) DATA_TAB Table With Data 20080529
4 GT_FAGL_DATAC_STRUC Instance attribute Protected Type reference (TYPE) FAGL_DATAC_TS_STRUC Container for Structure Information 20080529
5 GV_EVENT_CHANGED Instance attribute Protected Type reference (TYPE) BOOLE_D Event container_changed triggered 20080529
6 GV_GUID Instance attribute Protected Type reference (TYPE) GUID_22 Identifier for this Container 20080529
7 GV_UNAME Instance attribute Protected Type reference (TYPE) EQEUNAME User Name in Lock Entry 20080529
8 GV_XML_STRING Instance attribute Protected Type reference (TYPE) STRING XML String 20080529
9 NO_CHANGES Instance attribute Protected Type reference (TYPE) BOOLE_D Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ') 20080529
Methods
# Method Level Visibility Method type Description Created on
1 ASSIGN_SIMPLE Instance method Private Method Simple Variable Assignment 20080529
2 ASSIGN_STRUCTURE Instance method Private Method Structure Assignment 20080529
3 ASSIGN_TABLE Instance method Private Method Table Assignment 20080529
4 CHANGEDATA Instance method Public Method OBSOLETE - Use the method SET_DATA 20080529
5 CHECK_HASH Instance method Private Method Check If Hash Code Already Exists In FPP_STRUC 20080529
6 CONSTRUCTOR Instance method Public Constructor 20080529
7 CREATE_ELEMENT Instance method Private Method Generate Data Element (Instance CL_ABAP_DATADESCR) 20080529
8 CREATE_HASH Instance method Private Method Create Hash Code for Structure or Table 20080529
9 CREATE_STRUCT Instance method Private Method Generate Instance of Class CL_ABAP_STRUCTDESCR 20080529
10 CREATE_TABLE Instance method Private Method Generate Instance of CL_ABAP_TABLEDESCR 20080529
11 DELETE_CONTAINER Static method Public Method Deletion of Container 20080529
12 FREE_CONTAINER Instance method Private Event handling method Initialize All Internal Parameters 20080529
13 GETDATA Instance method Public Method 20080529
14 GETINFO Instance method Public Method Description of All Existing Parameters 20080529
15 GET_DATAELEMENT_INFO Instance method Private Method Name of Data Element, Type and Length 20080529
16 READ_CODES Instance method Private Method Read Structure of Data Containers (No Data!!) 20080529
17 READ_DATA Instance method Private Method Read Data from Data Cluster 20080529
18 SAVE Instance method Public Method 20080529
19 SETDATA Instance method Public Method 20080529
20 WRITE_CODES Instance method Private Method Write Structure for Data Container 20080529
21 WRITE_DATA Instance method Private Method Collision Check + Database Update for Hash Codes 20080529
Events
# Event Type Visibility Description Created on
1 CONTAINER_CHANGED Instance Event
(0)
Public
(2)
20080529
2 CONTAINER_DELETED Static Event
(1)
Public
(2)
20080529
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 CODE_S Protected See coding 20080529 BEGIN OF code_s, name TYPE string, code TYPE string, END OF code_s
2 CODE_T Protected See coding 20080529 code_t TYPE STANDARD TABLE OF code_s
3 DATA_STRUCT Protected See coding 20080529 BEGIN OF data_struct, name TYPE string, type TYPE string, value TYPE REF TO data, data_descr TYPE REF TO cl_abap_datadescr, END OF data_struct
4 DATA_TAB Protected See coding 20080529 data_tab TYPE STANDARD TABLE OF data_struct
5 FAGL_DATAC_S_STRUC Protected Type reference (TYPE) FAGL_DATAC_STRUC 20080529
6 FAGL_DATAC_TS_STRUC Protected See coding 20080529 fagl_datac_ts_struc TYPE SORTED TABLE OF fagl_datac_s_struc WITH UNIQUE KEY identifier counter
Method Signatures

Method ASSIGN_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE_IN Call by reference Type reference (TYPE) ANY 20080529
2 Changing VALUE_OUT Call by reference Type reference (TYPE) ANY 20080529

Method ASSIGN_SIMPLE on class CL_FAGL_DATAC_CONTAINER has no exception.

Method ASSIGN_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_VALUE_IN Call by reference Type reference (TYPE) ANY 20080529
2 Changing VALUE_OUT Call by reference Type reference (TYPE) ANY 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method ASSIGN_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_VALUE_IN Call by reference Type reference (TYPE) ANY TABLE 20080529
2 Changing VALUE_OUT Call by reference Type reference (TYPE) ANY TABLE 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method CHANGEDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20080529
2 Importing VALUE_IN Call by reference Type reference (TYPE) ANY 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method CHECK_HASH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_HASH Call by reference Type reference (TYPE) FAGL_DATAC_HASH Hashcode 20080529
2 Importing IT_STRUC Call by reference Type reference (TYPE) FAGL_DATAC_TS_STRUC 20080529
3 Importing IV_HASH Call by reference Type reference (TYPE) FAGL_DATAC_HASH Hashcode 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EV_GUID Call by reference Type reference (TYPE) FAGL_DATAC_DATACONTAINER GUID im 'CHAR' Format mit Groß-/Kleinschreibung (!) 20080529
2 Importing READ_ONLY Call by reference Type reference (TYPE) BOOLE_D 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method CREATE_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ADJUSTMENT Call by reference Type reference (TYPE) ABAP_BOOL ' ' 20080529
2 Importing IV_DATA Call by reference Type reference (TYPE) FIELDNAME Feldname 20080529
3 Importing IV_DECIMALS Call by reference Type reference (TYPE) DECIMALS Anzahl Dezimalstellen 20080529
4 Importing IV_LENGTH Call by reference Type reference (TYPE) DDLENG 20080529
5 Importing IV_TYPE Call by reference Type reference (TYPE) DATATYPE_D Datentyp im ABAP Dictionary 20080529
6 Returning TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_DATADESCR Run Time Type Services 20080529

Method CREATE_ELEMENT on class CL_FAGL_DATAC_CONTAINER has no exception.

Method CREATE_HASH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_HASH Value transfer Type reference (TYPE) FAGL_DATAC_HASH Hashcode 20080529
2 Importing ICL_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Run Time Type Services 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method CREATE_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HASH Call by reference Type reference (TYPE) FAGL_DATAC_HASH Hashcode 20080529
2 Returning TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Run Time Type Services 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method CREATE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HASH Call by reference Type reference (TYPE) FAGL_DATAC_HASH Hashcode 20080529
2 Returning TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Run Time Type Services 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method DELETE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) GUID_22 GUID im 'CHAR' Format mit Groß-/Kleinschreibung (!) 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method FREE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Value transfer Attribute reference (LIKE) 20080529

Method FREE_CONTAINER on class CL_FAGL_DATAC_CONTAINER has no exception.

Method GETDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing DATA Call by reference Type reference (TYPE) ANY 20080529
2 Importing NAME Call by reference Type reference (TYPE) STRING 20080529
3 Exporting XML_STRING Call by reference Type reference (TYPE) STRING XML String 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method GETINFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_INFO Value transfer Type reference (TYPE) FAGL_DATAC_TS_CONTAINER_INFO FPP: Infos zum Datenkontainer 20080529

Method GETINFO on class CL_FAGL_DATAC_CONTAINER has no exception.

Method GET_DATAELEMENT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DECIMALS Call by reference Type reference (TYPE) DECIMALS Anzahl Dezimalstellen 20080529
2 Exporting ELEMENT Call by reference Type reference (TYPE) FIELDNAME Feldname 20080529
3 Importing ICL_DATA Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Run Time Type Services 20080529
4 Exporting INFO Call by reference Type reference (TYPE) STRING Feldname 20080529
5 Exporting LENGTH Call by reference Type reference (TYPE) DDLENG 20080529
6 Exporting TYPE Call by reference Type reference (TYPE) DATATYPE_D Datentyp im ABAP Dictionary 20080529

Method GET_DATAELEMENT_INFO on class CL_FAGL_DATAC_CONTAINER has no exception.

Method READ_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CODES Call by reference Type reference (TYPE) CODE_T 20080529

Method READ_CODES on class CL_FAGL_DATAC_CONTAINER has no exception.

Method READ_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CODES Call by reference Type reference (TYPE) CODE_T 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GUID Call by reference Type reference (TYPE) FAGL_DATAC_DATACONTAINER Identifizierung eines Datencontainers 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method SETDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA Call by reference Type reference (TYPE) ANY 20080529
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20080529
# Exception Resumable Description Created on
1 CX_FAGL_DATAC_EXC Ausnahmen FPP 20080529

Method WRITE_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CODES Call by reference Type reference (TYPE) CODE_T 20080529

Method WRITE_CODES on class CL_FAGL_DATAC_CONTAINER has no exception.

Method WRITE_DATA Signature

Method WRITE_DATA on class CL_FAGL_DATAC_CONTAINER has no parameter.
Method WRITE_DATA on class CL_FAGL_DATAC_CONTAINER has no exception.
Event Signatures

Event CONTAINER_CHANGED Signature
Event CONTAINER_CHANGED on class CL_FAGL_DATAC_CONTAINER has no parameter.
Event CONTAINER_DELETED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 IV_GUID Exporting Value transfer Type reference (TYPE) GUID_22 GUID im 'CHAR' Format mit Groß-/Kleinschreibung (!) 20080529
History
Last changed by/on SAP  20100310 
SAP Release Created in 604