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 | Constant | Public | Type reference (TYPE) | STRING | 'A' | Automatic Synchronization | 20050201 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'M' | Manual Synchronization | 20050201 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | '' | No Synchronization | 20050202 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | SRMBOOLEAN | Boolean: Possible Values IF_SRM=>TRUE / FALSE | 20050111 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SRM_XML_REC_MODEL | Record Model | 20050111 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SRM_SP_RECORD | IF_SRM_SP_RECORD | 20050117 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SRM_SP_RECORD_EXPERT | IF_SRM_SP_RECORD_EXPERT | 20050117 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SRM_POID | POID | 20050111 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SRM_XML_REC_INSTANCE | Record Instance | 20050111 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20050215 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20050215 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SRM | General SRM Methods | 20050201 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | TYP_SYNC_MODE | 20050224 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Insert Model ID in Record | 20050201 | |
| 2 | Instance method | Private | Method | Checks whether delta exists between record and record model | 20050111 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20050111 | |
| 4 | Instance method | Private | Method | Get Model ITABs of Record and Record Model | 20050204 | |
| 5 | Instance method | Private | Method | Find Record Element (ID) for Parent of Model ID | 20050215 | |
| 6 | Static method | Public | Method | Get Synchronization Mode | 20050202 | |
| 7 | Instance method | Public | Method | Returns if delta exists between record and record model | 20050117 | |
| 8 | 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 | IM_MODEL_ID | Call by reference | Type reference (TYPE) | STRING | Model-Id | 20050201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | IM_MODEL_XML | Call by reference | Object reference (TYPE REF TO) | OBJECT | XML-Repraesentation Aktenmodell | 20050111 | |||
| 2 | IM_RECORD_POID | Call by reference | Object reference (TYPE REF TO) | IF_SRM_POID | Poid der Akte | 20050111 | |||
| 3 | IM_RECORD_XML | Call by reference | Object reference (TYPE REF TO) | OBJECT | XML-Repraesentation Akte | 20050111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EX_MDL_MODEL_ID_TAB | Call by reference | Type reference (TYPE) | TYP_MODEL_ID_TAB | 20050204 | ||||
| 2 | EX_RECORD_MODEL_ID_TAB | Call by reference | Type reference (TYPE) | TYP_REC_MODEL_ID_TAB | 20050204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EX_ELEM_ID_TAB | Call by reference | Type reference (TYPE) | TYP_ELEM_ID_TAB | 20050215 | ||||
| 2 | IM_MODEL_ID | Call by reference | Type reference (TYPE) | STRING | 20050215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Basisklasse (abstrakt) | 20050215 |
Method GET_SYNC_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RECORD_POID | Call by reference | Object reference (TYPE REF TO) | IF_SRM_POID | POID | 20050207 | |||
| 2 | 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 | 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 | 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 | MODEL_ID_TAB | Call by reference | Type reference (TYPE) | SRM_XML_S_TAB | List of nodes to be added to rec | 20070108 | |||
| 3 | RE_SYNCHRONIZED | Value transfer | Type reference (TYPE) | SRMBOOLEAN | Akte wurde synchronisiert | 20050208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zur Synchronsiation Akte mit Aktenmodell | 20050117 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |