SAP ABAP Class CL_MDG_CHANGE_POINTER (MDG Change Pointer managing)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-MDG-DRF (Application Component) Data Replication Framework
⤷
MDG_BS_CHANGE_POINTER_API (Package) MDG: Change Pointer API

⤷

⤷

Properties
Class | CL_MDG_CHANGE_POINTER | |
Short Description | MDG Change Pointer managing | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | MDG_BS_CHANGE_POINTER_API | MDG: Change Pointer API |
Created | 20090811 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_MDG_CHANGE_POINTER has no interface implemented.
Friends
Class CL_MDG_CHANGE_POINTER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | MDG_CP_STATUS | 'CP' | Change Pointer Status | 20090811 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | MDG_CP_STATUS | 'CR' | Change Pointer Status | 20090811 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Check's the existence of at least of Receiver System | 20100602 |
2 | ![]() |
Static method | Public | Method | Creates one MDG ch.pointer per receiving system for given BO | 20090826 |
3 | ![]() |
Static method | Public | Method | Creates one MDG ch.pointer per receiving system for given BO | 20090811 |
4 | ![]() |
Static method | Public | Method | Deletes all MDG change pointer | 20090811 |
5 | ![]() |
Static method | Private | Method | Process DB of change pointer data | 20110408 |
6 | ![]() |
Static method | Private | Method | Prepare CP header for insert | 20110408 |
7 | ![]() |
Static method | Private | Method | Prepare CP info for insert | 20110408 |
8 | ![]() |
Static method | Private | Method | Prepare CP bus. sys. for insert | 20110408 |
9 | ![]() |
Static method | Private | Method | Prepare CP Old/New value for insert | 20110408 |
10 | ![]() |
Static method | Public | Method | Select CPs for specific BO and receiver systems | 20110404 |
11 | ![]() |
Static method | Public | Method | Select change pointer header data | 20090811 |
12 | ![]() |
Static method | Public | Method | Select change pointer field/value data | 20090909 |
13 | ![]() |
Static method | Public | Method | Set change pointer status per receiving system | 20110407 |
Events
Class CL_MDG_CHANGE_POINTER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_T_BUSINESS_SYSTEM_IDS | Public | See coding | 20090812 | ty_t_business_system_ids TYPE STANDARD TABLE OF mdg_business_system_id
|
||
2 | TY_T_CHANGE_POINTER | Public | See coding | 20090812 | ty_t_change_pointer TYPE STANDARD TABLE OF mdg_cp_id
|
||
3 | TY_T_DRF_CHPTR_TABFIELD | Public | See coding | 20090812 | ty_t_drf_chptr_tabfield TYPE STANDARD TABLE OF mdgd_cp_tabfield
|
||
4 | TY_T_MDGD_CP | Private | See coding | 20110408 | TY_T_MDGD_CP type standard table of mdgd_cp
|
||
5 | TY_T_MDGD_CP_INFO | Private | See coding | 20110408 | ty_t_mdgd_cp_info type standard table of mdgd_cp_info
|
||
6 | TY_T_MDGD_CP_REP_STAT | Private | See coding | 20110408 | ty_t_mdgd_cp_rep_stat type standard table of mdgd_cp_rep_stat
|
||
7 | TY_T_MDGD_CP_TABFIELD | Private | See coding | 20110408 | ty_t_mdgd_cp_tabfield type standard table of mdgd_cp_tabfield
|
||
8 | TY_T_UTC_CRETIME | Public | See coding | 20090818 | ty_t_utc_cretime TYPE RANGE OF mdg_timestamp_utc
|
Method Signatures
Method CHECK_RECEIVER_SYSTEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_BUS_SYS | Call by reference | Type reference (TYPE) | MDG_T_BUS_SYS_TECH | Technical Information of a Business System | 20100602 | ||
2 | ![]() |
IT_BUS_SYS | Call by reference | Type reference (TYPE) | MDG_T_BUS_SYS | Table of Business Systems | 20100602 | ||
3 | ![]() |
IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100602 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
No Business System for CP found | 20110408 |
Method CREATE_ALE_RELATED_CP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_CHANGE_DOCUMENTS | Call by reference | Type reference (TYPE) | BDI_CDPOST | Table Type for CDPOS (Change Document Items) | 20090826 | ||
2 | ![]() |
IT_CHANGE_POINTERS | Call by reference | Type reference (TYPE) | BDI_BDCPVT | Table Type of Change Pointers (Structure BDCPV) | 20090826 | ||
3 | ![]() |
IV_BUSINESS_OBJECT | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Object Type Code | 20090826 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Change Pointer Exception | 20091008 | |
2 | ![]() |
Miscellaneous errors | 20110408 | |
3 | ![]() |
No Business Object | 20110408 | |
4 | ![]() |
No Business System for CP found | 20100602 |
Method CREATE_CP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_MSG_TEXT | Call by reference | Type reference (TYPE) | STRING | OBSOLETE; Replaced by Exceptions | 20090811 | ||
2 | ![]() |
IS_CHANGE_POINTER | Call by reference | Type reference (TYPE) | MDG_CP_S_CP | Change Pointer Structure | 20090924 | ||
3 | ![]() |
IT_ADDITIONAL_INFO | Call by reference | Type reference (TYPE) | MDG_CP_T_ADD_INFO | Change Pointer Additional Info | 20090929 | ||
4 | ![]() |
IT_BUS_SYSTEM | Call by reference | Type reference (TYPE) | MDG_T_BUS_SYS | Table of Business Systems | 20090929 | ||
5 | ![]() |
IT_CHANGE_TABFIELDS | Call by reference | Type reference (TYPE) | MDG_CP_T_TABFIELDS | Change pointer tabfields | 20090924 | ||
6 | ![]() |
IV_BUSINESS_OBJECT | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Object Type Code | 20090811 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Change Pointer Exception | 20090929 | |
2 | ![]() |
Miscellaneous errors | 20110419 | |
3 | ![]() |
Missing or invalid object key | 20110419 | |
4 | ![]() |
Business object missing | 20110408 | |
5 | ![]() |
No Business System for CP found | 20100602 |
Method DELETE_CP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_DELCNT_CP | Call by reference | Type reference (TYPE) | SY-DBCNT | Processed Database Table Rows | 20090908 | ||
2 | ![]() |
EV_DELCNT_CP_REP_STA | Call by reference | Type reference (TYPE) | SY-DBCNT | Processed Database Table Rows | 20090908 | ||
3 | ![]() |
IV_BUSINESS_OBJECT | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Object Type Code | 20090814 | ||
4 | ![]() |
IV_BUSINESS_SYSTEM | Call by reference | Type reference (TYPE) | MDG_BUSINESS_SYSTEM | Business System ID | 20110406 | ||
5 | ![]() |
IV_CP_STATUS | Call by reference | Type reference (TYPE) | MDG_CP_STATUS | Change Pointer Status | 20090814 | ||
6 | ![]() |
IV_CREATION_DATE_FROM | Call by reference | Type reference (TYPE) | SYDATUM | CP created from date (inclusive) in lcl. format | 20110413 | ||
7 | ![]() |
IV_CREATION_DATE_TO | Call by reference | Type reference (TYPE) | SYDATUM | CP created to date (inclusive) in lcl. format | 20110413 | ||
8 | ![]() |
IV_CREATION_TIME_FROM | Call by reference | Type reference (TYPE) | SYTIME | CP created from time (inclusive) in lcl. format | 20110413 | ||
9 | ![]() |
IV_CREATION_TIME_TO | Call by reference | Type reference (TYPE) | SYTIME | CP created to time (inclusive) in lcl. format | 20110413 | ||
10 | ![]() |
IV_TESTMODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Test Mode | 20090909 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Change Pointer Exception | 20091013 | |
2 | ![]() |
Business object missing | 20110411 | |
3 | ![]() |
No Business System for CP found | 20110406 |
Method INSERT_CP_INTO_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_CP_HEADER | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP | 20110408 | |||
2 | ![]() |
IT_CP_INFO | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP_INFO | 20110408 | |||
3 | ![]() |
IT_CP_REP_STAT | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP_REP_STAT | 20110408 | |||
4 | ![]() |
IT_CP_TABFIELD | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP_TABFIELD | 20110408 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB error during CP processing | 20110408 |
Method PREPARE_CP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CP_HEADER | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP | 20110408 | |||
2 | ![]() |
IS_BDCPV | Call by reference | Type reference (TYPE) | BDCPV | ALE: Change pointer with status | 20110408 | ||
3 | ![]() |
IS_MDG_CP | Call by reference | Type reference (TYPE) | MDG_CP_S_CP_FULL | MDG Change Pointer | 20110408 | ||
4 | ![]() |
IV_SOURCE | Call by reference | Type reference (TYPE) | MDG_CP_SOURCE | Change Pointer source | 20110408 |
Method PREPARE_CP on class CL_MDG_CHANGE_POINTER has no exception.
Method PREPARE_CP_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CP_INFO | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP_INFO | 20110411 | |||
2 | ![]() |
IT_ADDITIONAL_INFO | Call by reference | Type reference (TYPE) | MDG_CP_T_ADD_INFO | Change Pointer additional Info | 20110408 | ||
3 | ![]() |
IV_CHANGEPOINTER_ID | Call by reference | Type reference (TYPE) | MDG_CP_ID | Change Pointer ID | 20110408 |
Method PREPARE_CP_INFO on class CL_MDG_CHANGE_POINTER has no exception.
Method PREPARE_CP_REP_STAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CP_REP_STAT | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP_REP_STAT | 20110408 | |||
2 | ![]() |
IT_BUS_SYSTEM | Call by reference | Type reference (TYPE) | MDG_T_BUS_SYS_TECH | Technical Information of a Business System | 20110408 | ||
3 | ![]() |
IV_CHANGEPOINTER_ID | Call by reference | Type reference (TYPE) | MDG_CP_ID | Change Pointer ID | 20110411 |
Method PREPARE_CP_REP_STAT on class CL_MDG_CHANGE_POINTER has no exception.
Method PREPARE_CP_TABFIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CP_TABFIELD | Call by reference | Type reference (TYPE) | TY_T_MDGD_CP_TABFIELD | 20110408 | |||
2 | ![]() |
IS_ALE_CHANGE_POINTER | Call by reference | Type reference (TYPE) | BDCPV | ALE Change Pointer header | 20110411 | ||
3 | ![]() |
IT_CHANGE_DOCUMENTS | Call by reference | Type reference (TYPE) | BDI_CDPOST | ALE Change Pointer data | 20110408 | ||
4 | ![]() |
IT_CHANGE_TABFIELD | Call by reference | Type reference (TYPE) | MDG_CP_T_TABFIELDS | Change pointer tabfields | 20110408 | ||
5 | ![]() |
IV_CHANGEPOINTER_ID | Call by reference | Type reference (TYPE) | MDG_CP_ID | DRF: Change Pointer ID | 20110408 |
Method PREPARE_CP_TABFIELD on class CL_MDG_CHANGE_POINTER has no exception.
Method SELECT_CP_BY_BO_BUS_SYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CHANGE_POINTER | Call by reference | Type reference (TYPE) | MDG_CP_T_CP | Change Pointer | 20110404 | ||
2 | ![]() |
ET_CHANGE_POINTER_ID | Call by reference | Type reference (TYPE) | MDG_CP_T_CP_ID | Change Pointer iD Table Type | 20110404 | ||
3 | ![]() |
ITR_CP_STATUS | Call by reference | Type reference (TYPE) | MDG_CP_T_SELOPT | CP status for Business System | 20110404 | ||
4 | ![]() |
ITR_CREATION_DATE | Call by reference | Type reference (TYPE) | TY_T_UTC_CRETIME | Range for creation date | 20110404 | ||
5 | ![]() |
IV_BUSINESS_OBJECT | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20110404 | ||
6 | ![]() |
IV_BUSINESS_SYSTEM | Call by reference | Type reference (TYPE) | MDG_BUSINESS_SYSTEM | Business System | 20110404 | ||
7 | ![]() |
IV_VALID_FROM | Call by reference | Type reference (TYPE) | MDG_TIMESTAMP_UTC | Valid from in timestamp UTC | 20110404 | ||
8 | ![]() |
IV_VALID_TO | Call by reference | Type reference (TYPE) | MDG_TIMESTAMP_UTC | Valid to in timestamp UTC | 20110404 |
Method SELECT_CP_BY_BO_BUS_SYS on class CL_MDG_CHANGE_POINTER has no exception.
Method SELECT_CP_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CHANGE_POINTER | Call by reference | Type reference (TYPE) | MDG_CP_T_CP | Change Pointer | 20090817 | ||
2 | ![]() |
IT_CHANGE_POINTER_ID | Call by reference | Type reference (TYPE) | MDG_CP_T_CP_ID | Change Pointer iD Table Type | 20090817 |
Method SELECT_CP_BY_ID on class CL_MDG_CHANGE_POINTER has no exception.
Method SELECT_CP_TABFIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_TABFIELDS | Call by reference | Type reference (TYPE) | MDG_CP_T_TABFIELDS | Change Pointer | 20090909 | ||
2 | ![]() |
IV_CHANGE_POINTER_ID | Call by reference | Type reference (TYPE) | MDG_CP_ID | Change Pointer iD Table Type | 20090909 |
Method SELECT_CP_TABFIELDS on class CL_MDG_CHANGE_POINTER has no exception.
Method SET_CP_STATUS_PER_BUS_SYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_CHANGEPOINTER_ID | Call by reference | Type reference (TYPE) | MDG_CP_T_CP_ID | Change Pointer ID Table Type | 20110407 | ||
2 | ![]() |
IT_CHANGE_POINTER | Call by reference | Type reference (TYPE) | MDG_CP_T_CP | Change Pointer | 20110407 | ||
3 | ![]() |
IV_BUSINESS_SYSTEM | Call by reference | Type reference (TYPE) | MDG_BUSINESS_SYSTEM | Must be passed if only CP IDs are given | 20110407 | ||
4 | ![]() |
IV_STATUS | Call by reference | Type reference (TYPE) | MDG_CP_STATUS | Change Pointer Status | 20110407 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Change Pointer Exception | 20110407 | |
2 | ![]() |
No Business System for CP found | 20110407 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 702 |