SAP ABAP Class CL_CNV_20200_SPEC_PRIO_API (Provides Methods to save and maintain special Prioritys)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-GTF-BS (Application Component) Business Application Support
     CNV_20200 (Package) Company code merge and rename
Properties
Class CL_CNV_20200_SPEC_PRIO_API  
Short Description Provides Methods to save and maintain special Prioritys    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNV_20200   Company code merge and rename 
Created 20101123   SAP 
Last change 20141030    
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 CNV Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CNV_20200_SPEC_PRIO_API has no interface implemented.
Friends
Class CL_CNV_20200_SPEC_PRIO_API has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_BUFFER Instance attribute Private See coding Buffer for the priority values 20101203
2 GT_EMPTY_TABLES Instance attribute Private Type reference (TYPE) YT_TABLE Empty tables for later determ. of added Tables 20101208
3 GT_INI_LOG Instance attribute Private Type reference (TYPE) CNV_MBT_T_BAL_S_MSG List of BAL_S_MSG messages 20110706
4 GT_LOG Instance attribute Private Type reference (TYPE) CNV_MBT_T_BAL_S_MSG List of BAL_S_MSG messages 20101216
5 GT_MAPPING Instance attribute Private Type reference (TYPE) CNV_MBT_ME_T_SIMPLE_MAPPING Simple mapping table 20110630
6 GT_MERGE_BLOCKS Instance attribute Private Type reference (TYPE) YT_MERGE_BLOCK Buffer for data of relevant mapping 20101123
7 GT_SP_PRIO_TAB_ORIG Instance attribute Private See coding Definition of tables for the Special Priority Handling 20101216
8 GT_SP_PRIO_VAL_ORIG Instance attribute Private See coding Controll Table for the Special Priority Handling 20101216
9 GT_TABLES Instance attribute Private Type reference (TYPE) YT_TABLE Buffer for data of relevant tables 20101123
10 GT_TABLE_LIST Instance attribute Private Type reference (TYPE) CNV_20200_SP_T_LEADING_TABLE Leading Table with description 20110630
11 GV_EDIT_MODE Instance attribute Private Type reference (TYPE) ABAP_BOOL Determines if table is in edit mode 20101206
12 GV_IDENTIFIER Instance attribute Private Type reference (TYPE) CNV_20200_SP_VAL-IDENTIFIER determines the use case of the control data 20101123
13 GV_INITIALIZED Instance attribute Private Type reference (TYPE) ABAP_BOOL 20110705
14 GV_PACKID Instance attribute Private Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20101123
Methods
# Method Level Visibility Method type Description Created on
1 ADD_TABLE Instance method Public Method Adds a customer Table to the allowed Priority Tables 20101202
2 BUILD_TABLE_LIST Instance method Private Method fills the table list 20110630
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20101123
4 DATA_CHANGED Instance method Public Method Returns 'X' if changes where made. Otherwise SPACE 20101203
5 DISCARD_CHANGES Instance method Public Method Discards all changes 20101208
6 FREE_TABLE_LOCK Instance method Private Method Set's the Lock object for the table and enables saving 20101216
7 GET_LEADING_TABLES Instance method Private Method Returns all Leading Tables 20101129
8 GET_PRIORITY_VALUE Instance method Public Method Returns the source values of an target value 20101214
9 GET_PRIO_MATRIX Instance method Public Method Returns all lines of the matrix for the given value 20101216
10 GET_PRIO_SUMMARY Static method Public Method Returns Tables stored in the Special Prio Handling per pack 20110920
11 GET_SOURCE_VALUES Instance method Public Method Returns the source values of an target value 20101214
12 GET_TABLE_BLOCK Instance method Public Method returns a table block 20110701
13 GET_TABLE_LIST Instance method Public Method returns the list of tables 20110701
14 GET_TABLE_VALUES Instance method Public Method returns all values stored in a table 20110706
15 GET_TARGET_VALUES Instance method Public Method Returns all target values of this mapping 20101129
16 INITIALIZE Instance method Public Method initializes the object 20110705
17 IS_EDIT_MODE Instance method Public Method if the instance is in edit mode 20110630
18 IS_INITIALIZED Instance method Public Method if the instance is initialized 20110705
19 LOAD_MERGE_BLOCKS Instance method Private Method Returns all merge blocks of this spec. priority 20101123
20 LOAD_OLD_MAPPING Instance method Private Method Loads existing mapping on DB into buffer 20101206
21 LOAD_TABLES Instance method Private Method Fills all tables relevant for this spec. priority acc. to DB 20101123
22 READ_PRIO_HANDLING Static method Public Method Returns all Prioritys for a given Table (for cnv-routine) 20101217
23 REMOVE_TABLE Instance method Public Method Removes a Customer Table from the allowed Priority Tables 20101216
24 RESET_PRIO_HANDLING Static method Public Method Deletes a single Special Priority Mapping Completely 20101203
25 SAVE Instance method Public Method writes all changes to database 20101202
26 SET_EDIT_MODE Instance method Public Method Set's / Remove the Lock object and enables Saveing 20110630
27 SET_PRIORITY Instance method Public Method Changes special priority values but does not write to db 20101203
28 SET_TABLE_LOCK Instance method Private Method Set's the Lock object for the table and enables saving 20101206
29 TABLE_REMOVEABLE Instance method Public Method Checks if a table is removeable 20101216
Events
Class CL_CNV_20200_SPEC_PRIO_API has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_MAPPING_VALUES Protected See coding YS_MAPPING_VALUES 20101123
2 YS_MERGE_BLOCK Protected See coding YS_MERGE_BLOCK 20101123
3 YS_TABLE Protected See coding YS_TABLE 20101123
4 YT_MAPPING_VALUES Protected See coding YT_MAPPING_VALUES 20101123
5 YT_MERGE_BLOCK Protected See coding YT_MERGE_BLOCK 20101123
6 YT_TABLE Protected See coding YT_TABLE 20101123
Method Signatures

Method ADD_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELD Call by reference Type reference (TYPE) DFIES-LFIELDNAME Name of the Field which is considered by conversion routine 20101202
2 Importing IV_LEADING_TABLE Call by reference Type reference (TYPE) TABNAME Leading Table from which the special prioritys shall be take 20101202
3 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table name of table to be added 20101202
# Exception Resumable Description Created on
1 FIELD_INTRANSPARENT field_intransparent 20110718
2 FIELD_NOT_EXISTING_KEY The Specified Field is not a Key field of the Table 20101203
3 FIELD_NOT_RELEVANT The Field is excluded from conversion 20101203
4 LEADING_TABLE_NOT_FOUND Leading Table was not found in the Special Priority Handling 20101203
5 NO_AUTHORIZATION no authorization 20131001
6 NO_EDIT_MODE Database Locked 20101206
7 NO_INIT Object not initialized 20110705
8 PRIO_ROUTINE_NOT_ENABLED The Priority Routine does not Support Special Prior Handling 20101203
9 TABLE_ALREADY_IN_SPH Table is already in the Special Priority Handling 20101203
10 TABLE_NOT_ACTIV_CUSTOMER Table is not an active customer Table 20101203
11 TABLE_NOT_IN_WORKLIST Table not in Worklist of the Package 20101203
12 TABLE_NO_CONFLICTS Table has no Priority Handling 20101203

Method BUILD_TABLE_LIST Signature

Method BUILD_TABLE_LIST on class CL_CNV_20200_SPEC_PRIO_API has no parameter.
Method BUILD_TABLE_LIST on class CL_CNV_20200_SPEC_PRIO_API has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MAPPING Call by reference Type reference (TYPE) CNV_MBT_ME_T_SIMPLE_MAPPING Simple mapping table 20110630
2 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CNV_20200_SP_VAL-IDENTIFIER Separates different prio in on package 20101123
3 Importing IV_PACKID Call by reference Type reference (TYPE) CNV_PACK Package Identifier 20101123
# Exception Resumable Description Created on
1 NO_DATA No relevant data was found 20101209

Method DATA_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL Return value 20101203
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method DISCARD_CHANGES Signature

Method DISCARD_CHANGES on class CL_CNV_20200_SPEC_PRIO_API has no parameter.
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705
2 PRIO_VALUE_NOT_IN_TABLE Priority Value does not exist in Table 20101208
3 TABLE_NOT_FOUND Table Specified in former Handling not found 20101208

Method FREE_TABLE_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOG_OBJECT Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER CWB ULV logger implementation 20101216
# Exception Resumable Description Created on
1 MERGE_BLOCK_NOT_FOUND Merge Block from formet Handling not found 20101216
2 PRIO_VALUE_NOT_IN_TABLE Priority Value does not exist in Table 20101216
3 PRIO_VAL_NOT_IN_BLOCK Merge Block does not contain choosen Priority Value 20101216
4 TABLE_NOT_FOUND Table Specified in former Handling not found 20101216

Method GET_LEADING_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TABLES Call by reference Type reference (TYPE) CNVMBT_TABNAME_T List of table names 20101129
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method GET_PRIORITY_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PRIORITY Call by reference Type reference (TYPE) CHAR50 Reference Value 20101214
2 Importing IV_TARGET_VALUE Call by reference Type reference (TYPE) CHAR50 Target Value 20101214
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method GET_PRIO_MATRIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PRIORITY_MATRIX Call by reference Type reference (TYPE) CNV_20200_T_PRIORITY_MATRIX Represents the specialpriority mapping of a certain scenario 20101216
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table name 20101216
3 Importing IV_TARGET_VALUE Call by reference Type reference (TYPE) CHAR50 Comment 20101216
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method GET_PRIO_SUMMARY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) CNV_20200_SP_T_OVERVIEW Special Priority Handling Overview 20110920
2 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CNV_20200_SP_VAL-IDENTIFIER Separates different controll data depending on use case 20110920
3 Importing IV_MAPPING_HANDLE Call by reference Type reference (TYPE) CNV_MBT_ME_TABLE_HANDLE Identifier of a Table in a Hierarchical Mapping 20110920
4 Importing IV_MAPPING_NAMESPACE Call by reference Type reference (TYPE) CNV_MBT_COT_NAMESPACE 'SAP' SLO COT Namespace 20110920
5 Importing IV_MAPPING_STRUCTURE Call by reference Type reference (TYPE) TABNAME Structure name 20110920
6 Importing IV_MAPPING_TEMPLATE Call by reference Type reference (TYPE) CNV_MBT_ME_TEMPLATE_NAME Mapping Template Name 20110920
7 Importing IV_PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20110920

Method GET_PRIO_SUMMARY on class CL_CNV_20200_SPEC_PRIO_API has no exception.

Method GET_SOURCE_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SOURCE_VALUES Call by reference Type reference (TYPE) CNV_20200_T_VALUES List of source values 20101214
2 Importing IV_TARGET_VALUE Call by reference Type reference (TYPE) CHAR50 Target Value 20101214
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method GET_TABLE_BLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TABLE_BLOCK Call by reference Type reference (TYPE) CNV_20200_SP_S_LEADING_TABLE Leading Table with description 20110701
2 Importing IV_LEADING_TABLE Call by reference Type reference (TYPE) TABNAME Table Name 20110701
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method GET_TABLE_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TABLE_LIST Call by reference Type reference (TYPE) CNV_20200_SP_T_LEADING_TABLE Leading Table with description 20110701
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method GET_TABLE_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VALUES Call by reference Type reference (TYPE) CNV_20200_T_VALUES Table of mapping values 20110706
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20110706

Method GET_TABLE_VALUES on class CL_CNV_20200_SPEC_PRIO_API has no exception.

Method GET_TARGET_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VALUES Call by reference Type reference (TYPE) CNV_20200_T_VALUES Target values 20101129
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COULD_NOT_INIT Call by reference Type reference (TYPE) ABAP_BOOL 20110705
2 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20110705
# Exception Resumable Description Created on
1 INITIALIZED 20110705
2 NO_DATA 20110720

Method IS_EDIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_EDIT Value transfer Type reference (TYPE) ABAP_BOOL 20110630

Method IS_EDIT_MODE on class CL_CNV_20200_SPEC_PRIO_API has no exception.

Method IS_INITIALIZED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_INITIALIZED Value transfer Type reference (TYPE) ABAP_BOOL 20110705

Method IS_INITIALIZED on class CL_CNV_20200_SPEC_PRIO_API has no exception.

Method LOAD_MERGE_BLOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MAPPING Call by reference Type reference (TYPE) CNV_MBT_ME_T_SIMPLE_MAPPING Simple mapping table 20110630

Method LOAD_MERGE_BLOCKS on class CL_CNV_20200_SPEC_PRIO_API has no exception.

Method LOAD_OLD_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COULD_NOT_INIT Call by reference Type reference (TYPE) ABAP_BOOL 20110705
2 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20110705
3 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CNV_20200_SP_VAL-IDENTIFIER Separates different controll data depending on use case 20110630
4 Importing IV_PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20110630

Method LOAD_OLD_MAPPING on class CL_CNV_20200_SPEC_PRIO_API has no exception.

Method LOAD_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CNV_20200_SP_VAL-IDENTIFIER Separates different controll data depending on use case 20110630
2 Importing IV_PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20110630
# Exception Resumable Description Created on
1 NO_AUTHORIZATION no authorization 20131001

Method READ_PRIO_HANDLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PRIORITIES Call by reference Type reference (TYPE) CNV_20200_T_VALUES Table of mapping values 20101217
2 Exporting EV_SPECIAL_PRIO_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL Active = true, Inactive = false 20101217
3 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CNV_20200_SP_VAL-IDENTIFIER Separates different controll data depending on use case 20110704
4 Importing IV_MAPPING_HANDLE Call by reference Type reference (TYPE) CNV_MBT_ME_TABLE_HANDLE Identifier of a Table in a Hierarchical Mapping 20110704
5 Importing IV_MAPPING_NAMESPACE Call by reference Type reference (TYPE) CNV_MBT_COT_NAMESPACE 'SAP' SLO COT Namespace 20110704
6 Importing IV_MAPPING_STRUCTURE Call by reference Type reference (TYPE) TABNAME Structure name 20110704
7 Importing IV_MAPPING_TEMPLATE Call by reference Type reference (TYPE) CNV_MBT_ME_TEMPLATE_NAME Mapping Template Name 20110704
8 Importing IV_PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20101217
9 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20101217
# Exception Resumable Description Created on
1 NO_MAPPING No Mapping was found 20101217

Method REMOVE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table name 20101216
# Exception Resumable Description Created on
1 NO_EDIT_MODE Database Locked 20101216
2 NO_INIT Object not initialized 20110705
3 TABLE_IS_LEADING Table has at least one depending table 20101216
4 TABLE_IS_PREDELIVERED Table is an SAP Table. No Maintenance allowed 20101216
5 TABLE_NOT_IN_SPH Table was not found in Table List 20101216

Method RESET_PRIO_HANDLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CNV_20200_SP_VAL-IDENTIFIER The corresponding identifier 20101203
2 Importing IV_PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20101203
# Exception Resumable Description Created on
1 DB_LOCKED Database Locked 20101206
2 PACKAGE_NOT_FOUND The specified Package was not found 20101203

Method SAVE Signature

Method SAVE on class CL_CNV_20200_SPEC_PRIO_API has no parameter.
# Exception Resumable Description Created on
1 NO_EDIT_MODE Instance is not in edit mode. Call set_table_lock to toggle 20101206
2 NO_INIT Object not initialized 20110705

Method SET_EDIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20110630
2 Importing IV_EDIT Call by reference Type reference (TYPE) ABAP_BOOL 20110630
# Exception Resumable Description Created on
1 DB_LOCKED 20110630

Method SET_PRIORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRIORITY Call by reference Type reference (TYPE) CHAR50 The Fieldvalue whichj entry shall win 20101203
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table name 20101203
3 Importing IV_TARGET_VALUE Call by reference Type reference (TYPE) CHAR50 Target Value of Merge Block 20101203
# Exception Resumable Description Created on
1 NO_EDIT_MODE Database Locked 20101206
2 NO_INIT Object not initialized 20110705
3 PRIO_VALUE_NOT_IN_TAB The Priority Value is not in the specified Table 20101203
4 TABLE_NOT_FOUND The specified Table was not found 20101203
5 TARGET_VALUE_NOT_EXIST The Target Value was not found (Merg block not found) 20101203

Method SET_TABLE_LOCK Signature

Method SET_TABLE_LOCK on class CL_CNV_20200_SPEC_PRIO_API has no parameter.
# Exception Resumable Description Created on
1 DB_LOCKED Table lock already set from different consumer 20101206

Method TABLE_REMOVEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REMOVEABLE Call by reference Type reference (TYPE) ABAP_BOOL 20101216
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20101216
# Exception Resumable Description Created on
1 NO_INIT Object not initialized 20110705
2 TABLE_IS_LEADING Table is a leading table 20101216
3 TABLE_IS_PREDELIVERED Table is Predelivered 20101216
4 TABLE_NOT_IN_SPH Table is not in Special Priority Handling 20101216
History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_46C