SAP ABAP Class CL_SRM_RECORD_SYNCHRONIZE (Synchronize Record with Record Model)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-RM (Application Component) SAP Records Management
     SRM_XML_BR_MD_FP (Package) XML, Browser, Modeler, File Plan
Properties
Class CL_SRM_RECORD_SYNCHRONIZE  
Short Description Synchronize Record with Record Model    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SRM_XML_BR_MD_FP   XML, Browser, Modeler, File Plan 
Created 20050111   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SRM_RECORD_SYNCHRONIZE has no forward declaration.
Interfaces
Class CL_SRM_RECORD_SYNCHRONIZE has no interface implemented.
Friends
Class CL_SRM_RECORD_SYNCHRONIZE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_SYNC_MODE_AUTO Constant Public Type reference (TYPE) STRING 'A' Automatic Synchronization 20050201
2 C_SYNC_MODE_MANUAL Constant Public Type reference (TYPE) STRING 'M' Manual Synchronization 20050201
3 C_SYNC_MODE_NONE Constant Public Type reference (TYPE) STRING '' No Synchronization 20050202
4 DELTA_EXISTS Instance attribute Private Type reference (TYPE) SRMBOOLEAN Boolean: Possible Values IF_SRM=>TRUE / FALSE 20050111
5 MODEL_XML Instance attribute Private Object reference (TYPE REF TO) CL_SRM_XML_REC_MODEL Record Model 20050111
6 RECORD_API Instance attribute Private Object reference (TYPE REF TO) IF_SRM_SP_RECORD IF_SRM_SP_RECORD 20050117
7 RECORD_EXPERT_API Instance attribute Private Object reference (TYPE REF TO) IF_SRM_SP_RECORD_EXPERT IF_SRM_SP_RECORD_EXPERT 20050117
8 RECORD_POID Instance attribute Private Object reference (TYPE REF TO) IF_SRM_POID POID 20050111
9 RECORD_XML Instance attribute Private Object reference (TYPE REF TO) CL_SRM_XML_REC_INSTANCE Record Instance 20050111
10 RESTRICTIONS_MDL_XML Instance attribute Private Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20050215
11 RESTRICTIONS_REC_XML Instance attribute Private Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20050215
12 SRM Instance attribute Private Object reference (TYPE REF TO) IF_SRM General SRM Methods 20050201
13 SYNC_MODE Static Attribute Private Type reference (TYPE) TYP_SYNC_MODE 20050224
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NODE Instance method Private Method Insert Model ID in Record 20050201
2 CHECK_IF_DELTA_EXISTS Instance method Private Method Checks whether delta exists between record and record model 20050111
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20050111
4 GET_MODEL_ID_TABS Instance method Private Method Get Model ITABs of Record and Record Model 20050204
5 GET_REC_ELEMS_FOR_PARENT_MID Instance method Private Method Find Record Element (ID) for Parent of Model ID 20050215
6 GET_SYNC_MODE Static method Public Method Get Synchronization Mode 20050202
7 IS_DELTA_EXISTING Instance method Public Method Returns if delta exists between record and record model 20050117
8 SYNCHRONIZE_RECORD Instance method Public Method Synchronizes the record with the record model 20050117
Events
Class CL_SRM_RECORD_SYNCHRONIZE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYP_ELEM_ID_TAB Private See coding 20050215 TYP_ELEM_ID_TAB type standard table of string
2 TYP_MODEL_ID_TAB Private See coding 20050204 TYP_MODEL_ID_TAB type standard table of string
3 TYP_REC_MODEL_ID_TAB Private See coding 20050223 TYP_REC_MODEL_ID_TAB type sorted table of string with unique key table_line
4 TYP_SYNC_MODE Private See coding 20050224 begin of TYP_SYNC_MODE, poid type ref to if_srm_poid, mode type string, end of typ_sync_mode
Method Signatures

Method ADD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MODEL_ID Call by reference Type reference (TYPE) STRING Model-Id 20050201
# Exception Resumable Description Created on
1 CX_SRM_RECORD_SYNCHRONIZE Ausnahmen zur Synchronsiation Akte mit Aktenmodell 20050201

Method CHECK_IF_DELTA_EXISTS Signature

Method CHECK_IF_DELTA_EXISTS on class CL_SRM_RECORD_SYNCHRONIZE has no parameter.
# Exception Resumable Description Created on
1 CX_SRM_RECORD_SYNCHRONIZE Ausnahmen zur Synchronsiation Akte mit Aktenmodell 20050111

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MODEL_XML Call by reference Object reference (TYPE REF TO) OBJECT XML-Repraesentation Aktenmodell 20050111
2 Importing IM_RECORD_POID Call by reference Object reference (TYPE REF TO) IF_SRM_POID Poid der Akte 20050111
3 Importing IM_RECORD_XML Call by reference Object reference (TYPE REF TO) OBJECT XML-Repraesentation Akte 20050111
# Exception Resumable Description Created on
1 CX_SRM_RECORD_SYNCHRONIZE Ausnahmen zur Synchronsiation Akte mit Aktenmodell 20050111

Method GET_MODEL_ID_TABS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MDL_MODEL_ID_TAB Call by reference Type reference (TYPE) TYP_MODEL_ID_TAB 20050204
2 Exporting EX_RECORD_MODEL_ID_TAB Call by reference Type reference (TYPE) TYP_REC_MODEL_ID_TAB 20050204
# Exception Resumable Description Created on
1 CX_SRM Basisklasse (abstrakt) 20050204

Method GET_REC_ELEMS_FOR_PARENT_MID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ELEM_ID_TAB Call by reference Type reference (TYPE) TYP_ELEM_ID_TAB 20050215
2 Importing IM_MODEL_ID Call by reference Type reference (TYPE) STRING 20050215
# Exception Resumable Description Created on
1 CX_SRM Basisklasse (abstrakt) 20050215

Method GET_SYNC_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_RECORD_POID Call by reference Object reference (TYPE REF TO) IF_SRM_POID POID 20050207
2 Returning RE_SYNC_METHOD Value transfer Type reference (TYPE) STRING Synchronisations-Modus 20050202

Method GET_SYNC_MODE on class CL_SRM_RECORD_SYNCHRONIZE has no exception.

Method IS_DELTA_EXISTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_DELTA_EXISTS Value transfer Type reference (TYPE) SRMBOOLEAN Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20050117

Method IS_DELTA_EXISTING on class CL_SRM_RECORD_SYNCHRONIZE has no exception.

Method SYNCHRONIZE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SYNC_REC_API Call by reference Object reference (TYPE REF TO) IF_SRM_SP_RECORD Whether sync is from frontend or using API 20070404
2 Importing MODEL_ID_TAB Call by reference Type reference (TYPE) SRM_XML_S_TAB List of nodes to be added to rec 20070108
3 Returning RE_SYNCHRONIZED Value transfer Type reference (TYPE) SRMBOOLEAN Akte wurde synchronisiert 20050208
# Exception Resumable Description Created on
1 CX_SRM_RECORD_SYNCHRONIZE Ausnahmen zur Synchronsiation Akte mit Aktenmodell 20050117
History
Last changed by/on SAP  20110908 
SAP Release Created in 700