SAP ABAP Class CL_KCONS (Consent Data: Class for buffer)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-BP-CM (Application Component) Customer Master
     ERP_CUSTOMER_DP_CONSENT (Package) Customer master data Privacy Consent
Properties
Class CL_KCONS  
Short Description Consent Data: Class for buffer    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ERP_CUSTOMER_DP_CONSENT   Customer master data Privacy Consent 
Created 20120926   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SZADR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 T Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_KCONS has no interface implemented.
Friends
Class CL_KCONS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTIVE_ENTITY Instance attribute Public Type reference (TYPE) CHAR6 Active entity in the display 20120927
2 ANS Instance attribute Public Type reference (TYPE) C Popup screen answer 20121204
3 C_AUTH_CR Constant Private Type reference (TYPE) NUM2 '01' 20120926
4 C_AUTH_UPD_DEL Constant Private Type reference (TYPE) NUM2 '02' 20120926
5 C_BUFFER Static Attribute Protected Type reference (TYPE) STRING 'T_KCONS_BUFFER_' 20120926
6 C_CHANGE Static Attribute Private Type reference (TYPE) SY-UCOMM 'EDIT' 20120926
7 C_COMPANYCODE Static Attribute Private Type reference (TYPE) SY-UCOMM 'CC' 20120926
8 C_CREATE Static Attribute Private Type reference (TYPE) SY-UCOMM 'CREATE' 20120926
9 C_CUSTOM_ID Static Attribute Private Type reference (TYPE) SY-UCOMM 'CUSTOM' 20120926
10 C_DELETE Static Attribute Private Type reference (TYPE) SY-UCOMM 'DELETE' 20120926
11 C_DELETE_BUFFER Static Attribute Private Type reference (TYPE) CHAR1 'D' 20120926
12 C_DISPLAY Static Attribute Private Type reference (TYPE) SY-UCOMM 'DISPLAY' 20120926
13 C_FALSE Static Attribute Private Type reference (TYPE) C '' 20120926
14 C_GET_BUFFER Static Attribute Private Type reference (TYPE) CHAR3 'GET' 20120926
15 C_INIT_BUFFER Static Attribute Private Type reference (TYPE) CHAR4 'INIT' 20120926
16 C_INSERT_BUFFER Static Attribute Private Type reference (TYPE) CHAR1 'I' 20120926
17 C_MAX_COMMINDEX Static Attribute Private Type reference (TYPE) P '10' 20120926
18 C_MSGID Constant Private Type reference (TYPE) SYMSGID 'KCONS' Message Class 20120927
19 C_SALOFF Static Attribute Private Type reference (TYPE) SY-UCOMM 'SALOFF' 20120926
20 C_SAVE Static Attribute Private Type reference (TYPE) SY-UCOMM 'SAVE' 20120926
21 C_SET_BUFFER Static Attribute Private Type reference (TYPE) CHAR3 'SET' 20120926
22 C_SORG_DC Static Attribute Private Type reference (TYPE) SY-UCOMM 'SODC' 20120926
23 C_TRUE Static Attribute Private Type reference (TYPE) C 'X' 20120926
24 C_UPDATE_BUFFER Static Attribute Private Type reference (TYPE) CHAR1 'U' 20120926
25 DISP_CHANGE Instance attribute Public Type reference (TYPE) CHAR10 Character Field Length = 10 20121116
26 KUNNR Instance attribute Public Type reference (TYPE) KUNNR Customer Number 20120926
27 S_KCONS_DISPLAY Instance attribute Public Type reference (TYPE) KCONS_SELECT KCONS: Display structure for KCONS 20120926
28 S_LOCK Static Attribute Protected Type reference (TYPE) XFELD Checkbox 20121116
29 T_KCONS_BUFFER_CC Instance attribute Private Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Buffer table for kcons CC 20120926
30 T_KCONS_BUFFER_CUSTOM Instance attribute Private Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Buffer table for kcons CUSTOM 20120926
31 T_KCONS_BUFFER_GEN Instance attribute Private Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Buffer table for kcons GEN 20121018
32 T_KCONS_BUFFER_SALOFF Instance attribute Private Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Buffer table for kcons SALOFF 20120926
33 T_KCONS_BUFFER_SODC Instance attribute Private Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Buffer table for kcons SODC 20120926
34 T_KCONS_DETAILS Instance attribute Public Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926
35 T_MESSAGES Instance attribute Public Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20120927
36 UPDATE_SCR Instance attribute Public Type reference (TYPE) C Updates screen global table 20121008
37 UPD_TYPE Instance attribute Public Type reference (TYPE) KCONS_UPDFLG Kcons: Update flag for Kcons 20120926
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_MESSAGES Instance method Public Method logging of messages 20120927
2 CHECK_AUTHORITY Instance method Public Method Authority check 20120926
3 CHECK_CUSTOMER Instance method Public Method Check customer master 20120926
4 CONSTRUCTOR Instance method Public Constructor Constructor 20120926
5 GET_ALL_BUFFER_ENTITY Instance method Private Method Get all buffered entries 20120926
6 GET_BUFFER_ENTITY Instance method Private Method Get buffered entity 20120926
7 GET_KCONS_ENTRIES Instance method Public Method Get Kcons entries based on kunnr 20120926
8 GET_SET_KCONS_BUFFER Instance method Public Method Get and Set all buffers 20120926
9 KCONS_DEQUEUE Instance method Private Method Dequeue of Kcons table 20121116
10 KCONS_DEQUEUE_ENQUEUE Instance method Public Method Wrapper method for locking 20121116
11 KCONS_ENQUEUE Instance method Private Method Enqueue of Kcons table 20121116
12 REFRESH_KCONS_BUFFER Instance method Private Method Initialize kcons buffer 20120926
13 SAVE_KCONS_ENTRIES Instance method Public Method Save buferred entries 20120926
14 SET_ALL_BUFFERS Instance method Private Method Set all buffers 20120926
15 SET_BUFFER_ENTITY Instance method Private Method Set buffered entity 20120926
Events
Class CL_KCONS has no event.
Types
Class CL_KCONS has no local type.
Method Signatures

Method APPEND_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSG Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20120927
2 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Message Number 20120927
3 Importing IV_MSGTYP Call by reference Type reference (TYPE) SYMSGTY Message Type 20120927
4 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120927
5 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120927
6 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120927
7 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120927

Method APPEND_MESSAGES on class CL_KCONS has no exception.

Method CHECK_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CV_NO_AUTHORITY Value transfer Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20120926
2 Importing IV_ACTVT Value transfer Type reference (TYPE) NUM2 01-insert,02-change,03-display 20120926
# Exception Resumable Description Created on
1 NO_AUTHORITY No Authorization 20120926

Method CHECK_CUSTOMER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KUNNR Value transfer Type reference (TYPE) KUNNR Customer Number 20120926
# Exception Resumable Description Created on
1 CUSTOMER_NOT_FOUND Customer not found 20120926

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KUNNR Value transfer Type reference (TYPE) KUNNR Customer Number 20120926

Method CONSTRUCTOR on class CL_KCONS has no exception.

Method GET_ALL_BUFFER_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CT_KCONS_DISPLAY Value transfer Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926
2 Changing CV_REC_UPD Call by reference Type reference (TYPE) XFELD If there are records to update 20121009
# Exception Resumable Description Created on
1 ERROR Error 20120927

Method GET_BUFFER_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KCONS_DISPLAY Call by reference Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926
2 Importing IT_KCONS_BUFFER Call by reference Type reference (TYPE) ANY 20120926

Method GET_BUFFER_ENTITY on class CL_KCONS has no exception.

Method GET_KCONS_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KCONS_DISPLAY Call by reference Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926
2 Importing IV_KUNNR Value transfer Type reference (TYPE) KUNNR Customer Number 20120926

Method GET_KCONS_ENTRIES on class CL_KCONS has no exception.

Method GET_SET_KCONS_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KCONS_DISPLAY Call by reference Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926
2 Importing IS_KCONS_DISPLAY Value transfer Type reference (TYPE) KCONS_SELECT KCONS: Display structure for KCONS 20120926
3 Importing IV_ACTIVE_ENTITY Value transfer Type reference (TYPE) CHAR6 active tab: CC,SODC,SALOFF or CUSTOM 20120926
4 Importing IV_MODE Value transfer Type reference (TYPE) C 'SET' or 'GET' or INITIALIZE 20120926
5 Importing IV_UPD_TYPE Value transfer Type reference (TYPE) C Insert, Update or delete will set updflg in the buffer 20120926
# Exception Resumable Description Created on
1 ERROR error 20120927

Method KCONS_DEQUEUE Signature

Method KCONS_DEQUEUE on class CL_KCONS has no parameter.
Method KCONS_DEQUEUE on class CL_KCONS has no exception.

Method KCONS_DEQUEUE_ENQUEUE Signature

Method KCONS_DEQUEUE_ENQUEUE on class CL_KCONS has no parameter.
Method KCONS_DEQUEUE_ENQUEUE on class CL_KCONS has no exception.

Method KCONS_ENQUEUE Signature

Method KCONS_ENQUEUE on class CL_KCONS has no parameter.
Method KCONS_ENQUEUE on class CL_KCONS has no exception.

Method REFRESH_KCONS_BUFFER Signature

Method REFRESH_KCONS_BUFFER on class CL_KCONS has no parameter.
Method REFRESH_KCONS_BUFFER on class CL_KCONS has no exception.

Method SAVE_KCONS_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KCONS_DISPLAY Call by reference Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926

Method SAVE_KCONS_ENTRIES on class CL_KCONS has no exception.

Method SET_ALL_BUFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KCONS_DISPLAY Call by reference Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926
2 Importing IS_KCONS_DISPLAY Value transfer Type reference (TYPE) KCONS_SELECT kcons: table type for table kcons 20120926

Method SET_ALL_BUFFERS on class CL_KCONS has no exception.

Method SET_BUFFER_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KCONS_BUFFER Call by reference Type reference (TYPE) TT_KCONS_DISPLAY KCONS: Display table for kcons 20120926
2 Importing IV_UPD_TYPE Value transfer Type reference (TYPE) C 20120926
# Exception Resumable Description Created on
1 ERROR Error 20120927
History
Last changed by/on SAP  20130531 
SAP Release Created in 617