SAP ABAP Class CL_CNS_CHANGE_POINTER (Change Pointers)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS-CNS (Application Component) Change Pointer Service
     CNS (Package) Change Notification Service
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_CNS_CONCRET_CHANGE_POINTER Test Particular Change Pointer 20050131
2 Inheritance (c INHERITING FROM c_ref)  FSBP_CNS_CHANGE_POINTER FS-BP: Creation of Change Pointers 20080707
3 Inheritance (c INHERITING FROM c_ref)  XO_CNS_CHANGE_POINTER Obsolete 20070302
Properties
Class CL_CNS_CHANGE_POINTER  
Short Description Change Pointers    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNS   Change Notification Service 
Created 20040128   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)
2 IF_CNS_CON Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_CNS_CHANGE_POINTER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_CNS_TEST_HELPER 20080307 CNS Test Helper
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ADD_SEL Instance attribute Protected Type reference (TYPE) CNS_DTE_ADD_SEL Application-Specific Selection Field 20080229
2 APPL_ID Instance attribute Protected Type reference (TYPE) CNS_DTE_APPL_ID Application ID 20040128
3 CHGTYPE Instance attribute Protected Type reference (TYPE) CNS_DTE_CHGTYPE Change Category 20040128
4 CP_ID Instance attribute Protected Type reference (TYPE) CNS_DTE_CP_ID Change Pointer ID 20040128
5 CP_INFO Instance attribute Protected Type reference (TYPE) CNS_TAB_CP_INFO Change Pointer - Additional Information 20040128
6 CP_INFO_USER Instance attribute Private Type reference (TYPE) CNS_TAB_CP_INFO_USER Additional Information 20080505
7 CREATED_ON Instance attribute Protected Type reference (TYPE) CNS_DTE_TIMST_CREATED_ON Creation Time Stamp 20040209
8 EXPOBJKEY Instance attribute Protected Type reference (TYPE) CNS_DTE_EXPOBJKEY Export Object Key 20040202
9 EXPOBJTYPE Instance attribute Protected Type reference (TYPE) CNS_DTE_EXPOBJTYPE Category of Export Object 20040128
10 FLG_SUPPRESS_CONDENSE Static Attribute Private Attribute reference (LIKE) SY-TABIX 20100317
11 FLG_VALID_FROM_IS_SET Instance attribute Private Type reference (TYPE) XFELD Parameter i_valid_from of Method create( ) Entered 20080514
12 GROUP_ID Instance attribute Protected Type reference (TYPE) CNS_DTE_GROUP_ID Grouping ID 20040128
13 HAS_IMAGE Instance attribute Protected Type reference (TYPE) XFELD Checkbox 20040204
14 HAS_INFO Instance attribute Protected Type reference (TYPE) XFELD Checkbox 20040204
15 IS_CREATED Instance attribute Private Type reference (TYPE) XFELD 'Create' Method Can Only Be Called Once 20040809
16 PREVIOUS_CP Instance attribute Protected Object reference (TYPE REF TO) CL_CNS_CHANGE_POINTER Change Pointers 20040128
17 PROCESS_ID Instance attribute Protected Type reference (TYPE) CNS_DTE_PROCESS_ID Business Process ID 20080229
18 SOURCE Instance attribute Protected Type reference (TYPE) PROGNAME ABAP Program Name 20040202
19 S_CUSTOMIZING Static Attribute Private Object reference (TYPE REF TO) IF_CNS_CUSTOMIZING Interface for Reading CNS Customizing 20060329
20 S_PLUGIN Static Attribute Private Object reference (TYPE REF TO) IF_CNS_PLUGIN Unitest Plugin 20080304
21 S_TAB_CP Static Attribute Private Type reference (TYPE) T_TAB_CP Buffer for Change Pointer 20070608
22 TAB_INTERESTED_RECEIVERS Instance attribute Private Type reference (TYPE) CNS_TAB_CP_RECEIVER Table of Interested Recipients 20060123
23 TAB_RECV_STATUS Instance attribute Protected Type reference (TYPE) CNS_TAB_RECV_STATUS Table of Change Pointers - Flow Data 20040809
24 UPD_TASK Instance attribute Protected Type reference (TYPE) XFELD Boolean Variable (X=true, -=false, space=unknown) 20040128
25 USERID Instance attribute Protected Type reference (TYPE) SYUNAME ABAP System, User Logon Name 20040128
26 VALID_FROM Instance attribute Protected Type reference (TYPE) CNS_DTE_TIMST_VALID_FROM Valid-From Date 20040128
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20060329
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20040128
3 CREATE Instance method Public Method Create Change Pointer in Database 20040128
4 CREATE_IMAGE Instance method Protected Method Callback: Generate Image of Object Data 20040128
5 ENSURE_CP_SEQUENCE Instance method Private Method Ensure CP Sequence for Identical Object 20080229
6 GET_CP_DATA Instance method Public Method Read Basic Data of Change Pointer 20060123
7 GET_PREVIOUS_CP_TIMESTAMP Instance method Protected Method Read Last Change Pointer Generated from Database 20060307
8 GET_RECEIVERS Instance method Private Method Recipient determination 20080303
9 GET_RECV_STATUS Instance method Public Method Read Status of Various Recipients 20060123
10 GET_UPD_TASK Instance method Public Method Read Update Task Attribute 20040210
11 LOAD Instance method Public Method Load Class with Values from Database 20040203
12 SAVE2BUFFER Instance method Private Method 20080229
13 SAVE_IMAGE Instance method Protected Method Save Image of Change Pointer 20040213
14 SET_BASIC_SETTINGS Instance method Protected Method Callback: Set Basic Values (APPL_ID and EXPOBJTYPE) 20040204
15 SET_DATA Instance method Private Method Set Basic Data of Change Pointer 20040206
16 S_CALCULATE_HASH Static method Public Method 20081006
17 S_CLEAR_CPS_ON_ROLLBACK Static method Public Method Delete Buffered Change Pointers 20070703
18 S_FIND_PREVIOUS_CPS Static method Private Method Find Change Pointer Predecessor in DB (Mass Access) 20070627
19 S_GET_RECEIVERS Static method Private Method Determination of Recipients for Status Writing 20070608
20 S_SAVE Static method Private Method Save Change Pointer Data and Recipient Status 20070620
21 S_SAVE_CPS_ON_COMMIT Static method Public Method Save Buffered Change Pointers to DB, Registration of Commit 20070608
22 TRANSFORM_INFOS Static method Private Method Change Information from External Format to Internal Format 20080505
Events
Class CL_CNS_CHANGE_POINTER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_FO_RECV_ST Protected See coding 20120713 begin of s_fo_recv_st, created_on type cns_dte_timst_created_on, chgtype type cns_dte_chgtype, end of s_fo_recv_st
2 T_FO_RECV_ST Protected See coding 20120713 t_fo_recv_st type table of s_fo_recv_st
3 T_STR_CP Private See coding 20070608 BEGIN OF t_str_cp, cp_id TYPE cns_dte_cp_id, appl_id TYPE cns_dte_appl_id, expobjtype TYPE cns_dte_expobjtype, expobjkey TYPE cns_dte_expobjkey, created_on TYPE cns_dte_timst_created_on, valid_from TYPE cns_dte_timst_valid_from, userid TYPE syuname, chgtype TYPE cns_dte_chgtype, group_id TYPE cns_dte_group_id, tab_info TYPE cns_tab_cp_info_user, source TYPE progname, add_sel TYPE cns_dte_add_sel, process_id TYPE cns_dte_process_id, tab_recv_status TYPE cns_tab_recv_status, update_task TYPE cns_dte_updtask, keep_image TYPE cns_dte_keep_image, str_classname TYPE string, first_chgtype type cns_dte_chgtype, flg_valid_from_is_set type xfeld, end of t_str_cp
4 T_STR_PREVIOUS_SELECTION Private See coding 20070627 BEGIN OF t_str_previous_selection, appl_id TYPE cns_dte_appl_id, expobjtype TYPE cns_dte_expobjtype, expobjkey TYPE cns_dte_expobjkey, str_classname TYPE string, update_task TYPE cns_dte_updtask, END OF t_str_previous_selection
5 T_TAB_CP Private See coding 20070608 t_tab_cp type sorted table of t_str_cp with non-unique key appl_id expobjtype expobjkey
6 T_TAB_PREVIOUS_SELECTION Private See coding 20070627 t_tab_previous_selection TYPE STANDARD TABLE OF t_str_previous_selection WITH DEFAULT KEY
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_CNS_CHANGE_POINTER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CNS_CHANGE_POINTER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_UPD_TASK Call by reference Type reference (TYPE) CNS_DTE_UPDTASK 'X' boolsche Variable (X=true, -=false, space=unknown) 20040130

Method CONSTRUCTOR on class CL_CNS_CHANGE_POINTER has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CP_CREATED Call by reference Type reference (TYPE) ABAP_BOOL 20090206
2 Importing I_ADD_SEL Call by reference Type reference (TYPE) CNS_DTE_ADD_SEL Anwendungsspezifisches Selektionsfeld 20080213
3 Importing I_CHGTYPE Call by reference Type reference (TYPE) CNS_DTE_CHGTYPE Änderungstyp 20040128
4 Importing I_EXPOBJKEY Call by reference Type reference (TYPE) CNS_DTE_EXPOBJKEY Exportobjekt Schlüssel 20040128
5 Importing I_FLG_SUPPRESS_CONDENSE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100317
6 Importing I_GROUP_ID Call by reference Type reference (TYPE) CNS_DTE_GROUP_ID Gruppierungs ID 20040128
7 Importing I_PROCESS_ID Call by reference Type reference (TYPE) CNS_DTE_PROCESS_ID Geschäftsprozess ID 20080213
8 Importing I_SET_LOCK Call by reference Type reference (TYPE) CNS_DTE_SET_LOCK Feld zum Ankreuzen 20080523
9 Importing I_SOURCE Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20040128
10 Importing I_TAB_CP_INFO Call by reference Type reference (TYPE) CNS_TAB_CP_INFO_USER Änderungszeiger - Zusätzliche Informationen 20040128
11 Importing I_VALID_FROM Call by reference Type reference (TYPE) CNS_DTE_TIMST_VALID_FROM Gültig ab Datum 20040128
# Exception Resumable Description Created on
1 CX_CNS_CUST_ACTIVE_NOT_SET Es ist nicht erlaubt Änderungszeiger anzulegen. 20040315
2 CX_CNS_CUST_EXPOBJTYPE_ERROR Exportobjekttyp wurde nicht gefunden 20040227
3 CX_CNS_OVERWRITE_ERROR Fehler beim Überschreiben vom Änderungszeiger. 20050107

Method CREATE_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_IMAGE Value transfer Type reference (TYPE) CNS_DTE_IMAGE Objektdaten 20040130

Method CREATE_IMAGE on class CL_CNS_CHANGE_POINTER has no exception.

Method ENSURE_CP_SEQUENCE Signature

Method ENSURE_CP_SEQUENCE on class CL_CNS_CHANGE_POINTER has no parameter.
Method ENSURE_CP_SEQUENCE on class CL_CNS_CHANGE_POINTER has no exception.

Method GET_CP_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CNS_CP_INFO Call by reference Type reference (TYPE) CNS_TAB_CP_INFO Änderungszeiger - Zusätzliche Informationen 20060123
2 Exporting E_CNS_STR_CP Call by reference Type reference (TYPE) CNS_STR_CP Änderungszeiger 20060123

Method GET_CP_DATA on class CL_CNS_CHANGE_POINTER has no exception.

Method GET_PREVIOUS_CP_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_FO_RECV_ST Value transfer Type reference (TYPE) S_FO_RECV_ST Zeitstempel 20120713

Method GET_PREVIOUS_CP_TIMESTAMP on class CL_CNS_CHANGE_POINTER has no exception.

Method GET_RECEIVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TAB_RECV_STATUS Value transfer Type reference (TYPE) CNS_TAB_RECV_STATUS Tabelle von Änderungszeiger Bewegungsdaten 20080303

Method GET_RECEIVERS on class CL_CNS_CHANGE_POINTER has no exception.

Method GET_RECV_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TAB_RECV_STATUS Value transfer Type reference (TYPE) CNS_TAB_RECV_STATUS Tabelle von Änderungszeiger Bewegungsdaten 20060123

Method GET_RECV_STATUS on class CL_CNS_CHANGE_POINTER has no exception.

Method GET_UPD_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_UPD_TASK Value transfer Type reference (TYPE) CNS_DTE_UPDTASK Datenspeicherung in Update-Task 20040210

Method GET_UPD_TASK on class CL_CNS_CHANGE_POINTER has no exception.

Method LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CNS_CP_ID Call by reference Type reference (TYPE) CNS_DTE_CP_ID Änderungszeiger - Stammdaten 20040206
# Exception Resumable Description Created on
1 CX_CNS_CP_ID_NOT_FOUND Änderungszeiger -ID nicht gefunden. 20040227
2 CX_CNS_CUST_EXPOBJTYPE_ERROR Exportobjekttyp wurde nicht gefunden 20040810

Method SAVE2BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEEDS_IMAGE Call by reference Type reference (TYPE) CNS_DTE_KEEP_IMAGE Kennzeichen: Images Schreiben 20080229

Method SAVE2BUFFER on class CL_CNS_CHANGE_POINTER has no exception.

Method SAVE_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IMG Call by reference Type reference (TYPE) CNS_DTE_IMAGE Objektdaten 20040213

Method SAVE_IMAGE on class CL_CNS_CHANGE_POINTER has no exception.

Method SET_BASIC_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_APPL_ID Value transfer Type reference (TYPE) CNS_DTE_APPL_ID Applikations- ID 20040204
2 Exporting E_EXPOBJTYPE Value transfer Type reference (TYPE) CNS_DTE_EXPOBJTYPE Typ des Exportobjektes 20040204

Method SET_BASIC_SETTINGS on class CL_CNS_CHANGE_POINTER has no exception.

Method SET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CNS_STR_CP Call by reference Type reference (TYPE) CNS_STR_CP Änderungszeiger - Stammdaten 20040225
2 Importing I_CNS_TAB_CP_INFO Call by reference Type reference (TYPE) CNS_TAB_CP_INFO Änderungszeiger - Zusätzliche Informationen 20040225

Method SET_DATA on class CL_CNS_CHANGE_POINTER has no exception.

Method S_CALCULATE_HASH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPL_ID Call by reference Type reference (TYPE) CNS_DTE_APPL_ID Anwend-ID 20081006
2 Importing I_EXPOBJKEY Call by reference Type reference (TYPE) CNS_DTE_EXPOBJKEY Exportobjektschlüssel 20081006
3 Importing I_EXPOBJTYPE Call by reference Type reference (TYPE) CNS_DTE_EXPOBJTYPE Exportobjekttyp 20081006
4 Returning R_EXPOBJHASH Value transfer Type reference (TYPE) CNS_DTE_EXPOBJHASH Hashwert gebildet aus logischem Schlüssel von Exportobjekt 20081006

Method S_CALCULATE_HASH on class CL_CNS_CHANGE_POINTER has no exception.

Method S_CLEAR_CPS_ON_ROLLBACK Signature

Method S_CLEAR_CPS_ON_ROLLBACK on class CL_CNS_CHANGE_POINTER has no parameter.
Method S_CLEAR_CPS_ON_ROLLBACK on class CL_CNS_CHANGE_POINTER has no exception.

Method S_FIND_PREVIOUS_CPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TAB_CPS Call by reference Type reference (TYPE) T_TAB_CP Änderungszeiger - Stammdaten 20070627
2 Importing I_TAB_PREV_SEL Call by reference Type reference (TYPE) T_TAB_PREVIOUS_SELECTION 20070627

Method S_FIND_PREVIOUS_CPS on class CL_CNS_CHANGE_POINTER has no exception.

Method S_GET_RECEIVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPL_ID Call by reference Type reference (TYPE) CNS_DTE_APPL_ID Applikations- ID 20070608
2 Importing I_EXPOBJTYPE Call by reference Type reference (TYPE) CNS_DTE_EXPOBJTYPE Typ des Exportobjektes 20070608
3 Returning R_TAB_INTERESTED_RECEIVERS Value transfer Type reference (TYPE) CNS_TAB_CP_RECEIVER Tabelle von Empfänger 20070608

Method S_GET_RECEIVERS on class CL_CNS_CHANGE_POINTER has no exception.

Method S_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TAB_CP Call by reference Type reference (TYPE) CNS_TAB_CP Änderungszeiger Stammdaten 20070703
2 Importing I_TAB_CP_UPD_HAS_IMG Call by reference Type reference (TYPE) CNS_TAB_CP_HAS_IMG Typ zum Pflegeview für Image Flag 20070703
3 Importing I_TAB_INFO Call by reference Type reference (TYPE) CNS_TAB_CP_INFO Änderungszeiger - Zusätzliche Informationen 20070621
4 Importing I_TAB_RECV_STATUS Call by reference Type reference (TYPE) CNS_TAB_RECV_STATUS Tabelle von Änderungszeiger Bewegungsdaten 20070620
5 Importing I_UPDATE_TASK Call by reference Type reference (TYPE) CNS_DTE_UPDTASK Datenspeicherung in Update-Task 20070621

Method S_SAVE on class CL_CNS_CHANGE_POINTER has no exception.

Method S_SAVE_CPS_ON_COMMIT Signature

Method S_SAVE_CPS_ON_COMMIT on class CL_CNS_CHANGE_POINTER has no parameter.
Method S_SAVE_CPS_ON_COMMIT on class CL_CNS_CHANGE_POINTER has no exception.

Method TRANSFORM_INFOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CP_ID Call by reference Type reference (TYPE) CNS_DTE_CP_ID Änderungszeiger ID 20080505
2 Importing I_EXPOBJKEY Call by reference Type reference (TYPE) CNS_DTE_EXPOBJKEY Exportobjektschlüssel 20080505
3 Importing I_TAB_INFO_USER Call by reference Type reference (TYPE) CNS_TAB_CP_INFO_USER Zusätzliche Info 20080505
4 Returning R_TAB_INFO Value transfer Type reference (TYPE) CNS_TAB_CP_INFO Änderungszeiger - Zusätzliche Informationen 20080505

Method TRANSFORM_INFOS on class CL_CNS_CHANGE_POINTER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 30