SAP ABAP Class CL_USMD_DELTA_BUFFER (Data for Entity Types)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     USMD1 (Package) Master Data: Data Modeling
Properties
Class CL_USMD_DELTA_BUFFER  
Short Description Data for Entity Types    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package USMD1   Master Data: Data Modeling 
Created 20090709   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_USMD_PP_ACCESS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_USMD_DELTA_BUFFER has no interface implemented.
Friends
Class CL_USMD_DELTA_BUFFER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DF_T_DATA_UPD_COMPLETE Instance attribute Public Type reference (TYPE) USMD_FLG SPACE Unchanged Data in UPD Table Is Filled 20110610
2 DO_DATA_CHECK Instance attribute Private Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_CHECK Check of Buffer Content 20100913
3 DO_MODEL Instance attribute Private Object reference (TYPE REF TO) CL_USMD_MODEL MDG Data Model for Access from SAP Standard Delivery 20100722
4 DO_READ_IF Instance attribute Public Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_READ Read-Interface to Data Buffer 20090709
5 DO_WRITE_IF Instance attribute Private Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_WRITE Write Interface to Data Buffer 20100722
6 DT_DATA Instance attribute Private Type reference (TYPE) TS_DATA 20090709
Methods
# Method Level Visibility Method type Description Created on
1 ADD_BUFFER Instance method Public Method Add Data from Another Buffer 20101015
2 ADD_DATA Instance method Public Method Add Data (Modify = Insert or Update) 20100722
3 ADD_SINGLE_DATA Instance method Private Method Add Data to a Structure 20100801
4 ANALYZE_WRITE_STRUCTURE Instance method Private Method 20100730
5 APPLY_KEY_MAP Instance method Public Method In Change Request Activations: Replaces Temporary Keys 20091029
6 APPLY_KEY_MAP_TAB Static method Private Method 20091102
7 CALC_DELTA Static method Public Method Computes Delta Between Two Internal Tables(w/o gc_substruc_) 20091103
8 CALC_DELTA_PP Static method Public Method Determine Delta (Staging versus Active) 20091103
9 CALC_INSERT_UPDATE Instance method Private Method Compute Insert/Update 20101015
10 COLLECT_CHANGES Instance method Private Method Extract ET1 Key from Data 20100906
11 CONSTRUCTOR Instance method Private Constructor 20090709
12 DATA2TRANS_BUFFER Instance method Public Method Write Contents to Transactional Buffer 20100730
13 DELETE_DATA Instance method Public Method Mark for Deletion 20100722
14 DELETE_SINGLE_DATA Instance method Private Method Mark for Deletion 20101020
15 DISCARD Instance method Public Method Reset Buffer 20090709
16 EXTRACT_EDITION Instance method Private Method Get Edition from Data 20110228
17 GET_CHANGED_KEYS Instance method Public Method Return Modified ET1 Key 20100910
18 GET_ENTITY_TYPES Instance method Public Method Contained Entity Types 20090709
19 GET_INSTANCE Static method Public Method Gets Instance of CL_USMD_DELTA_BUFFER 20090709
20 GET_WRITE_ACCESS Instance method Public Method Gets Instance for Public Write Access 20100722
21 IS_EMPTY Instance method Public Method Is the buffer empty? 20110418
22 READ_DATA Instance method Public Method Sift Data 20090709
23 SET_CONT_STRING_FLAG Instance method Private Method Set the contains string flag for an entry of DT_DATA 20120815
24 SET_MODEL Instance method Public Method Set the model instance attribute 20120524
25 WRITE_DATA Instance method Public Method Set Data 20090709
Events
Class CL_USMD_DELTA_BUFFER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_DATA Private See coding 20090709 begin of s_data, entity type usmd_entity, struct type usmd_struct, f_cont_string type usmd_flg, "X = the full structure (considering all attributes) contains at least "one field of type String f_modify type usmd_flg, " X = inserts and updates are merged in r_t_data_mod, r_t_data_ins " and r_t_data_upd are initial, r_t_data_del is synchronous; " the entry was written via the write interface or copied from it " space = inserts, updates and deletes are separated and independent " mod table contains all inserts and updates " (no reference to current DB/transactional buffer state) r_t_data_ins type ref to data, r_t_data_upd type ref to data, r_t_data_del type ref to data, r_t_data_mod type ref to data, r_t_data_old type ref to data, "Needed for ES.... end of s_data
2 S_WRITE Private See coding 20100730 begin of s_write, entity type usmd_entity, struct type usmd_struct, t_attr type usmd_ts_field, end of s_write
3 TS_DATA Private See coding 20090709 ts_data type sorted table of s_data with unique key entity struct
4 TS_WRITE Private See coding 20100730 ts_write type sorted table of s_write with unique key entity struct
5 T_STRUCT Public See coding 20100722 t_struct type sorted table of usmd_struct with unique key table_line
Method Signatures

Method ADD_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_BUFFER Call by reference Object reference (TYPE REF TO) CL_USMD_DELTA_BUFFER Daten für Entitätstypen 20101015

Method ADD_BUFFER on class CL_USMD_DELTA_BUFFER has no exception.

Method ADD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ATTRIBUTE Call by reference Type reference (TYPE) USMD_TS_FIELDNAME FIM MDM: Feldname 20110225
2 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE 20100722
3 Importing IT_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE Feldname + Wert 20100801
4 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entitätstyp 20100722
# Exception Resumable Description Created on
1 CX_USMD_WRITE_ERROR Fehler beim Schreiben in den Puffer 20100913

Method ADD_SINGLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WRITE Call by reference Type reference (TYPE) S_WRITE 20100801
2 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE 20100801
3 Importing IT_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE Feldname + Wert 20100802
# Exception Resumable Description Created on
1 CX_USMD_WRITE_ERROR Fehler beim Schreiben in den Puffer 20100913

Method ANALYZE_WRITE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WRITE Call by reference Type reference (TYPE) TS_WRITE 20100730
2 Importing IT_ATTRIBUTE Call by reference Type reference (TYPE) USMD_TS_FIELDNAME FIM MDM: Feldname 20110228
3 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE 20100730
4 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entitätstyp 20100730
# Exception Resumable Description Created on
1 INVALID_ENTITY 20100730

Method APPLY_KEY_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL MDM Datenmodell für Zugriff aus SAP-Standard 20091029
2 Importing IT_MAPPING Call by reference Type reference (TYPE) IF_USMD_PP_ACCESS=>TS_TMP_KEY_MAP 20091029

Method APPLY_KEY_MAP on class CL_USMD_DELTA_BUFFER has no exception.

Method APPLY_KEY_MAP_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) ANY TABLE 20091102
2 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL MDM Datenmodell für Zugriff aus SAP-Standard 20091102
3 Importing IT_KEY_MAP Call by reference Type reference (TYPE) ANY TABLE 20091102
4 Importing I_FIELDNAME Call by reference Type reference (TYPE) USMD_FIELDNAME FIM MDM: Feldname 20091102

Method APPLY_KEY_MAP_TAB on class CL_USMD_DELTA_BUFFER has no exception.

Method CALC_DELTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA_DEL Call by reference Type reference (TYPE) ANY TABLE 20091103
2 Exporting ET_DATA_INS Call by reference Type reference (TYPE) ANY TABLE 20091103
3 Exporting ET_DATA_UPD Call by reference Type reference (TYPE) ANY TABLE 20091103
4 Importing IT_DATA_NEW Call by reference Type reference (TYPE) ANY TABLE 20091103
5 Importing IT_DATA_OLD Call by reference Type reference (TYPE) ANY TABLE 20091103

Method CALC_DELTA on class CL_USMD_DELTA_BUFFER has no exception.

Method CALC_DELTA_PP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_NO_PP_DATA Call by reference Type reference (TYPE) USMD_FLG X = Daten im Wiederverwendungsbereich vorhanden 20091105
2 Exporting EF_NO_SNAPSHOT_DATA Call by reference Type reference (TYPE) USMD_FLG FIN MDM: Allgemeines Kennzeichen 20091105
3 Exporting ET_DATA_PP Call by reference Type reference (TYPE) SORTED TABLE Daten aus dem Wiederverwendungsbereich 20100203
4 Exporting ET_DATA_STAGING Call by reference Type reference (TYPE) SORTED TABLE Daten aus dem Staging 20110719
5 Exporting ET_DELTA_DEL Call by reference Type reference (TYPE) SORTED TABLE 20091103
6 Exporting ET_DELTA_INS Call by reference Type reference (TYPE) SORTED TABLE 20091103
7 Exporting ET_DELTA_UPD Call by reference Type reference (TYPE) SORTED TABLE 20091103
8 Exporting ET_MESSAGE_COMPARE Call by reference Type reference (TYPE) USMD_T_MESSAGE Meldungen, die Unterschied Snapshot/PP beschreiben 20091103
9 Exporting ET_MESSAGE_PP_READ Call by reference Type reference (TYPE) USMD_T_MESSAGE Meldungen, beim Lesen aus PP 20091103
10 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL MDM Datenmodell für Zugriff aus SAP-Standard 20091103
11 Importing IO_PP_ADAPTER Call by reference Object reference (TYPE REF TO) CL_USMD_PP_ACCESS_ADAPTER Adapter für Zugriff auf Primärpersistenz 20091103
12 Importing IO_STAGING_ADAPTER Call by reference Object reference (TYPE REF TO) IF_USMD_DB_ADAPTER Adapter für Datenpersistenz 20091103
13 Importing IT_ATTRIBUTE Call by reference Type reference (TYPE) USMD_TS_FIELD Feldnamen 20091103
14 Importing IT_KEY Call by reference Type reference (TYPE) ANY TABLE 20091103
15 Importing IT_SEL Call by reference Type reference (TYPE) USMD_TS_SEL Sortierte Tabelle: Selektionsbedingung (Range pro Feld) 20091103
16 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entitätstyp 20091103
17 Importing I_FIELDNAME_ACCESS Call by reference Type reference (TYPE) USMD_FIELDNAME Feldname, über den Daten gelesen werden 20091103
18 Importing I_STRUCT Call by reference Type reference (TYPE) CHAR5 R/2-Tabelle 20091103

Method CALC_DELTA_PP on class CL_USMD_DELTA_BUFFER has no exception.

Method CALC_INSERT_UPDATE 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) S_DATA 20101019

Method CALC_INSERT_UPDATE on class CL_USMD_DELTA_BUFFER has no exception.

Method COLLECT_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CHANGED_KEY Call by reference Type reference (TYPE) USMD_TS_CREQUEST_OBJKEY Schlüssel der Entitätstypen in einem Änderungsantrag 20100906
2 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE 20100906
3 Importing I_FIELDNAME Call by reference Type reference (TYPE) USMD_FIELDNAME FIM MDM: Feldname 20100906

Method COLLECT_CHANGES on class CL_USMD_DELTA_BUFFER has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_USMD_DELTA_BUFFER has no parameter.
Method CONSTRUCTOR on class CL_USMD_DELTA_BUFFER has no exception.

Method DATA2TRANS_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Meldungen 20100730

Method DATA2TRANS_BUFFER on class CL_USMD_DELTA_BUFFER has no exception.

Method DELETE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE zu löschende Schlüssel 20101020
2 Importing IT_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE ein fixierter (Teil-)Schlüssel 20100913
3 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY 20100722
# Exception Resumable Description Created on
1 CX_USMD_WRITE_ERROR Fehler beim Schreiben in den Puffer 20100913

Method DELETE_SINGLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WRITE Call by reference Type reference (TYPE) S_WRITE 20101020
2 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE zu löschende Schlüssel 20101020
3 Importing IT_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE ein fixierter (Teil-)Schlüssel 20101020
# Exception Resumable Description Created on
1 CX_USMD_WRITE_ERROR Fehler beim Schreiben in den Puffer 20101020

Method DISCARD Signature

Method DISCARD on class CL_USMD_DELTA_BUFFER has no parameter.
Method DISCARD on class CL_USMD_DELTA_BUFFER has no exception.

Method EXTRACT_EDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE Edition wird reingemischt 20110228
2 Importing IS_ENTITY_PROP Call by reference Type reference (TYPE) USMD_S_ENTITY_PROP Entitätstyp und dessen Eigenschaften 20110228
3 Importing IT_DATA Call by reference Type reference (TYPE) ANY TABLE 20110228

Method EXTRACT_EDITION on class CL_USMD_DELTA_BUFFER has no exception.

Method GET_CHANGED_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEY_CHANGED Call by reference Type reference (TYPE) USMD_TS_CREQUEST_OBJKEY Inserted/Updated 20100910
2 Exporting ET_KEY_DELETED Call by reference Type reference (TYPE) USMD_TS_CREQUEST_OBJKEY Gelöscht 20100910

Method GET_CHANGED_KEYS on class CL_USMD_DELTA_BUFFER has no exception.

Method GET_ENTITY_TYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ENTITY Call by reference Type reference (TYPE) USMD_T_ENTITY 20090709

Method GET_ENTITY_TYPES on class CL_USMD_DELTA_BUFFER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_USMD_DELTA_BUFFER Daten für Entitätstypen 20090709

Method GET_INSTANCE on class CL_USMD_DELTA_BUFFER has no exception.

Method GET_WRITE_ACCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_WRITE_ACCESS Value transfer Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_WRITE 20100722
2 Importing IO_DATA_CHECK Call by reference Object reference (TYPE REF TO) IF_USMD_DELTA_BUFFER_CHECK Prüfung des Pufferinhalts 20100913
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL MDM Datenmodell für Zugriff aus SAP-Standard 20100722

Method GET_WRITE_ACCESS on class CL_USMD_DELTA_BUFFER has no exception.

Method IS_EMPTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EF_IS_EMPTY Value transfer Type reference (TYPE) USMD_FLG MDGAF: Allgemeines Kennzeichen 20110418

Method IS_EMPTY on class CL_USMD_DELTA_BUFFER has no exception.

Method READ_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_T_DATA_DEL Call by reference Object reference (TYPE REF TO) DATA 20090709
2 Exporting ER_T_DATA_INS Call by reference Object reference (TYPE REF TO) DATA 20090709
3 Exporting ER_T_DATA_MOD Call by reference Object reference (TYPE REF TO) DATA 20110516
4 Exporting ER_T_DATA_OLD Call by reference Object reference (TYPE REF TO) DATA 20091110
5 Exporting ER_T_DATA_UPD Call by reference Object reference (TYPE REF TO) DATA 20090709
6 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY 20090709
7 Importing I_STRUCT Call by reference Type reference (TYPE) USMD_STRUCT 20090709

Method READ_DATA on class CL_USMD_DELTA_BUFFER has no exception.

Method SET_CONT_STRING_FLAG 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) S_DATA 20120816
2 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20120815
3 Importing I_STRUCT Call by reference Type reference (TYPE) USMD_STRUCT Type of Data Structure 20120815

Method SET_CONT_STRING_FLAG on class CL_USMD_DELTA_BUFFER has no exception.

Method SET_MODEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL MDG Data Model for Access from SAP Standard Delivery 20120524

Method SET_MODEL on class CL_USMD_DELTA_BUFFER has no exception.

Method WRITE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_ADD Call by reference Type reference (TYPE) USMD_FLG SPACE FIN MDM: Allgemeines Kennzeichen 20091104
2 Importing IT_DATA_DEL Call by reference Type reference (TYPE) ANY TABLE 20090709
3 Importing IT_DATA_INS Call by reference Type reference (TYPE) ANY TABLE 20090709
4 Importing IT_DATA_OLD Call by reference Type reference (TYPE) ANY TABLE 20091110
5 Importing IT_DATA_UPD Call by reference Type reference (TYPE) ANY TABLE 20090709
6 Importing IT_FLD_UPDATE Call by reference Type reference (TYPE) USMD_TS_FIELDNAME Nure relevant, wenn if_add ='X' 20091104
7 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY 20090709
8 Importing I_STRUCT Call by reference Type reference (TYPE) USMD_STRUCT 20090709

Method WRITE_DATA on class CL_USMD_DELTA_BUFFER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 702