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 ABAP 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 GC_STATUS_CP Constant Public Type reference (TYPE) MDG_CP_STATUS 'CP' Change Pointer Status 20090811
2 GC_STATUS_CR Constant Public Type reference (TYPE) MDG_CP_STATUS 'CR' Change Pointer Status 20090811
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_RECEIVER_SYSTEM Static method Private Method Check's the existence of at least of Receiver System 20100602
2 CREATE_ALE_RELATED_CP Static method Public Method Creates one MDG ch.pointer per receiving system for given BO 20090826
3 CREATE_CP Static method Public Method Creates one MDG ch.pointer per receiving system for given BO 20090811
4 DELETE_CP Static method Public Method Deletes all MDG change pointer 20090811
5 INSERT_CP_INTO_DB Static method Private Method Process DB of change pointer data 20110408
6 PREPARE_CP Static method Private Method Prepare CP header for insert 20110408
7 PREPARE_CP_INFO Static method Private Method Prepare CP info for insert 20110408
8 PREPARE_CP_REP_STAT Static method Private Method Prepare CP bus. sys. for insert 20110408
9 PREPARE_CP_TABFIELD Static method Private Method Prepare CP Old/New value for insert 20110408
10 SELECT_CP_BY_BO_BUS_SYS Static method Public Method Select CPs for specific BO and receiver systems 20110404
11 SELECT_CP_BY_ID Static method Public Method Select change pointer header data 20090811
12 SELECT_CP_TABFIELDS Static method Public Method Select change pointer field/value data 20090909
13 SET_CP_STATUS_PER_BUS_SYS 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 Exporting ET_BUS_SYS Call by reference Type reference (TYPE) MDG_T_BUS_SYS_TECH Technical Information of a Business System 20100602
2 Importing IT_BUS_SYS Call by reference Type reference (TYPE) MDG_T_BUS_SYS Table of Business Systems 20100602
3 Importing 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 CX_MDG_CP_NO_BUS_SYSTEM 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 Importing IT_CHANGE_DOCUMENTS Call by reference Type reference (TYPE) BDI_CDPOST Table Type for CDPOS (Change Document Items) 20090826
2 Importing IT_CHANGE_POINTERS Call by reference Type reference (TYPE) BDI_BDCPVT Table Type of Change Pointers (Structure BDCPV) 20090826
3 Importing IV_BUSINESS_OBJECT Call by reference Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS Object Type Code 20090826
# Exception Resumable Description Created on
1 CX_MDG_CHANGE_POINTER Change Pointer Exception 20091008
2 CX_MDG_CP_MISC Miscellaneous errors 20110408
3 CX_MDG_CP_NO_BUSINESS_OBJECT No Business Object 20110408
4 CX_MDG_CP_NO_BUS_SYSTEM 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 Exporting EV_MSG_TEXT Call by reference Type reference (TYPE) STRING OBSOLETE; Replaced by Exceptions 20090811
2 Importing IS_CHANGE_POINTER Call by reference Type reference (TYPE) MDG_CP_S_CP Change Pointer Structure 20090924
3 Importing IT_ADDITIONAL_INFO Call by reference Type reference (TYPE) MDG_CP_T_ADD_INFO Change Pointer Additional Info 20090929
4 Importing IT_BUS_SYSTEM Call by reference Type reference (TYPE) MDG_T_BUS_SYS Table of Business Systems 20090929
5 Importing IT_CHANGE_TABFIELDS Call by reference Type reference (TYPE) MDG_CP_T_TABFIELDS Change pointer tabfields 20090924
6 Importing IV_BUSINESS_OBJECT Call by reference Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS Object Type Code 20090811
# Exception Resumable Description Created on
1 CX_MDG_CHANGE_POINTER Change Pointer Exception 20090929
2 CX_MDG_CP_MISC Miscellaneous errors 20110419
3 CX_MDG_CP_MISSING_OBJ_KEY Missing or invalid object key 20110419
4 CX_MDG_CP_NO_BUSINESS_OBJECT Business object missing 20110408
5 CX_MDG_CP_NO_BUS_SYSTEM 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 Exporting EV_DELCNT_CP Call by reference Type reference (TYPE) SY-DBCNT Processed Database Table Rows 20090908
2 Exporting EV_DELCNT_CP_REP_STA Call by reference Type reference (TYPE) SY-DBCNT Processed Database Table Rows 20090908
3 Importing IV_BUSINESS_OBJECT Call by reference Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS Object Type Code 20090814
4 Importing IV_BUSINESS_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System ID 20110406
5 Importing IV_CP_STATUS Call by reference Type reference (TYPE) MDG_CP_STATUS Change Pointer Status 20090814
6 Importing IV_CREATION_DATE_FROM Call by reference Type reference (TYPE) SYDATUM CP created from date (inclusive) in lcl. format 20110413
7 Importing IV_CREATION_DATE_TO Call by reference Type reference (TYPE) SYDATUM CP created to date (inclusive) in lcl. format 20110413
8 Importing IV_CREATION_TIME_FROM Call by reference Type reference (TYPE) SYTIME CP created from time (inclusive) in lcl. format 20110413
9 Importing IV_CREATION_TIME_TO Call by reference Type reference (TYPE) SYTIME CP created to time (inclusive) in lcl. format 20110413
10 Importing IV_TESTMODE Call by reference Type reference (TYPE) ABAP_BOOL Test Mode 20090909
# Exception Resumable Description Created on
1 CX_MDG_CHANGE_POINTER Change Pointer Exception 20091013
2 CX_MDG_CP_NO_BUSINESS_OBJECT Business object missing 20110411
3 CX_MDG_CP_NO_BUS_SYSTEM 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 Importing IT_CP_HEADER Call by reference Type reference (TYPE) TY_T_MDGD_CP 20110408
2 Importing IT_CP_INFO Call by reference Type reference (TYPE) TY_T_MDGD_CP_INFO 20110408
3 Importing IT_CP_REP_STAT Call by reference Type reference (TYPE) TY_T_MDGD_CP_REP_STAT 20110408
4 Importing IT_CP_TABFIELD Call by reference Type reference (TYPE) TY_T_MDGD_CP_TABFIELD 20110408
# Exception Resumable Description Created on
1 CX_MDG_CHANGE_POINTER 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 Changing CT_CP_HEADER Call by reference Type reference (TYPE) TY_T_MDGD_CP 20110408
2 Importing IS_BDCPV Call by reference Type reference (TYPE) BDCPV ALE: Change pointer with status 20110408
3 Importing IS_MDG_CP Call by reference Type reference (TYPE) MDG_CP_S_CP_FULL MDG Change Pointer 20110408
4 Importing 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 Changing CT_CP_INFO Call by reference Type reference (TYPE) TY_T_MDGD_CP_INFO 20110411
2 Importing IT_ADDITIONAL_INFO Call by reference Type reference (TYPE) MDG_CP_T_ADD_INFO Change Pointer additional Info 20110408
3 Importing 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 Changing CT_CP_REP_STAT Call by reference Type reference (TYPE) TY_T_MDGD_CP_REP_STAT 20110408
2 Importing IT_BUS_SYSTEM Call by reference Type reference (TYPE) MDG_T_BUS_SYS_TECH Technical Information of a Business System 20110408
3 Importing 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 Changing CT_CP_TABFIELD Call by reference Type reference (TYPE) TY_T_MDGD_CP_TABFIELD 20110408
2 Importing IS_ALE_CHANGE_POINTER Call by reference Type reference (TYPE) BDCPV ALE Change Pointer header 20110411
3 Importing IT_CHANGE_DOCUMENTS Call by reference Type reference (TYPE) BDI_CDPOST ALE Change Pointer data 20110408
4 Importing IT_CHANGE_TABFIELD Call by reference Type reference (TYPE) MDG_CP_T_TABFIELDS Change pointer tabfields 20110408
5 Importing 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 Exporting ET_CHANGE_POINTER Call by reference Type reference (TYPE) MDG_CP_T_CP Change Pointer 20110404
2 Exporting ET_CHANGE_POINTER_ID Call by reference Type reference (TYPE) MDG_CP_T_CP_ID Change Pointer iD Table Type 20110404
3 Importing ITR_CP_STATUS Call by reference Type reference (TYPE) MDG_CP_T_SELOPT CP status for Business System 20110404
4 Importing ITR_CREATION_DATE Call by reference Type reference (TYPE) TY_T_UTC_CRETIME Range for creation date 20110404
5 Importing IV_BUSINESS_OBJECT Call by reference Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS Business Object Type 20110404
6 Importing IV_BUSINESS_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20110404
7 Importing IV_VALID_FROM Call by reference Type reference (TYPE) MDG_TIMESTAMP_UTC Valid from in timestamp UTC 20110404
8 Importing 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 Exporting ET_CHANGE_POINTER Call by reference Type reference (TYPE) MDG_CP_T_CP Change Pointer 20090817
2 Importing 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 Exporting ET_TABFIELDS Call by reference Type reference (TYPE) MDG_CP_T_TABFIELDS Change Pointer 20090909
2 Importing 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 Importing IT_CHANGEPOINTER_ID Call by reference Type reference (TYPE) MDG_CP_T_CP_ID Change Pointer ID Table Type 20110407
2 Importing IT_CHANGE_POINTER Call by reference Type reference (TYPE) MDG_CP_T_CP Change Pointer 20110407
3 Importing IV_BUSINESS_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Must be passed if only CP IDs are given 20110407
4 Importing IV_STATUS Call by reference Type reference (TYPE) MDG_CP_STATUS Change Pointer Status 20110407
# Exception Resumable Description Created on
1 CX_MDG_CHANGE_POINTER Change Pointer Exception 20110407
2 CX_MDG_CP_NO_BUS_SYSTEM No Business System for CP found 20110407
History
Last changed by/on SAP  20130531 
SAP Release Created in 702