SAP ABAP Class CL_SALV_ITAB_EDITOR_KEY_MODE (Editor for unique key mode (variant 1))
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-ATS (Application Component) ABAP Table/Tree Services
     SALV_ST_PUB (Package) ALV Services for Tables: Public API
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SALV_ITAB_CHANGE_LOG Change log for internal tables 20101110
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SALV_SERVICE_TYPES Common types for ALV Service Tools 20101110
Properties
Class CL_SALV_ITAB_EDITOR_KEY_MODE  
Short Description Editor for unique key mode (variant 1)    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SALV_ST_PUB   ALV Services for Tables: Public API 
Created 20101104   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_SALV_SERVICE_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_SALV_ITAB_CHANGE_LOG Change log for internal tables 20101110
2 IF_SALV_SERVICE_TYPES Common types for ALV Service Tools 20101110
Friends
Class CL_SALV_ITAB_EDITOR_KEY_MODE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CS_FILTER_OPTION Instance attribute Private Attribute reference (LIKE) 20101104
2 CS_FUNCTION_CODE Instance attribute Private Attribute reference (LIKE) 20101104
3 CS_MODIFICATION_TYPE Instance attribute Private Attribute reference (LIKE) 20101122
4 CS_RECORDING Constant Private See coding 20101104
5 CS_ROW_INDEX Instance attribute Private Attribute reference (LIKE) 20101104
6 MO_TYPE_DATA_TABLE Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20101104
7 MO_TYPE_KEY Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20101104
8 MO_TYPE_KEY_ADMIN Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20101104
9 MO_TYPE_KEY_ADMIN_TAB Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20101104
10 MTR_DATA Instance attribute Private Object reference (TYPE REF TO) DATA 20101104
11 MTR_KEY_ADMIN Instance attribute Private Object reference (TYPE REF TO) DATA 20101104
12 MT_DELETED_LINE Instance attribute Private Type reference (TYPE) YT_RANGE 20101104
13 MT_INSERTED_LINE Instance attribute Private Type reference (TYPE) YT_RANGE 20101104
14 MT_KEY_NAME Instance attribute Private Type reference (TYPE) YT_FIELD_PATH 20101104
15 MT_MOVED_KEY_ID Instance attribute Private Type reference (TYPE) YT_KEY_ID 20110225
16 MT_MOVED_LINE Instance attribute Private Type reference (TYPE) YT_RANGE_MAP 20101104
17 MT_MOVE_TO_INSERT_POSITION Instance attribute Private Type reference (TYPE) YT_ROW_INDEX 20110225
18 MT_SOURCE_INDEX Instance attribute Private Type reference (TYPE) YT_SOURCE_INDEX 20101104
19 M_MAX_KEY_ID Instance attribute Private Type reference (TYPE) Y_KEY_ID 20101104
20 M_RECORDING_STATE Instance attribute Private Type reference (TYPE) Y_RECORDING_STATE 20101104
21 M_TABLE_SIZE_LAST_STOP Instance attribute Private Type reference (TYPE) I 20101108
22 M_UI_CAN_CHANGE_KEY_FIELDS Instance attribute Private Type reference (TYPE) ABAP_BOOL 20101104
Methods
# Method Level Visibility Method type Description Created on
1 ADAPT_INDEXES_FOR_CHANGED_KEYS Instance method Private Method 20101104
2 ADAPT_INDEXES_FOR_STABLE_KEYS Instance method Private Method 20101104
3 ADAPT_SOURCE_INDEX_TABLE Instance method Private Method 20101104
4 COMPUTE_AFTER_INDEXES Instance method Private Method 20101104
5 COMPUTE_CHANGE_LOG Instance method Private Method 20101104
6 COMPUTE_RANGE Instance method Private Method 20101104
7 COMPUTE_RANGE_MAP Instance method Private Method 20101104
8 CONSTRUCTOR Instance method Public Constructor 20101104
9 CREATE_KEY_ADMIN_OBJECTS Instance method Private Method 20101104
10 CREATE_TYPE_FOR_KEY Instance method Private Method 20101104
11 CREATE_TYPE_FOR_KEY_ADMIN Instance method Private Method 20101104
12 DATA_IS_NEW Instance method Private Method 20101104
13 FILL_SOURCE_INDEX_TABLE Instance method Private Method 20101104
14 GET_COLUMNS_MODIFIED Instance method Private Method 20101104
15 GET_INDEX_MAP Instance method Private Method 20101104
16 GET_INSERT_POSITION Instance method Private Method 20101104
17 GET_KEY_ID Instance method Private Method 20101104
18 GET_LINES_MODIFIED Instance method Private Method 20101104
19 GET_LINE_POSITION Instance method Private Method 20101104
20 KEY_CHANGED Instance method Public Method log the modification of key of a line 20101104
21 LOG_NEW_DATA Instance method Public Method reset and stop recording 20101124
22 MOVE_TO_INSERT_POSITION Instance method Public Method record moving line to insert position 20110224
23 START_RECORDING Instance method Public Method start recording of changes 20101104
24 STOP_RECORDING Instance method Public Method stop recording of changes 20101104
Events
Class CL_SALV_ITAB_EDITOR_KEY_MODE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_AGGREGATION_RULE Private Attribute reference (LIKE) 20101104
2 YS_CODELIST Private Attribute reference (LIKE) 20101104
3 YS_FILTER_RULE Private Attribute reference (LIKE) 20101104
4 YS_GROUPING_RULE Private Attribute reference (LIKE) 20101104
5 YS_GROUP_KEY Private Attribute reference (LIKE) 20101104
6 YS_RANGE Private Attribute reference (LIKE) 20101104
7 YS_RANGE_MAP Private Attribute reference (LIKE) 20101104
8 YS_SORT_RULE Private Attribute reference (LIKE) 20101104
9 YS_SOURCE_INDEX Private See coding 20101104 begin of ys_source_index, key_id type y_key_id, old type sytabix, new type sytabix, end of ys_source_index
10 YT_AGGREGATION_RULE Private Attribute reference (LIKE) 20101104
11 YT_CODELIST Private Attribute reference (LIKE) 20101104
12 YT_COLUMN_NAME Private Attribute reference (LIKE) 20101104
13 YT_EXTERNAL_VALUE Private Attribute reference (LIKE) 20101104
14 YT_FIELD_PATH Private Attribute reference (LIKE) 20101104
15 YT_FILTER_RULE Private Attribute reference (LIKE) 20101104
16 YT_FUNCTION_CODE Private Attribute reference (LIKE) 20101104
17 YT_GROUPING_RULE Private Attribute reference (LIKE) 20101104
18 YT_GROUP_KEY Private Attribute reference (LIKE) 20101104
19 YT_KEY_ID Private See coding 20110225 YT_KEY_ID type standard table of y_key_id with default key
20 YT_RANGE Private Attribute reference (LIKE) 20101104
21 YT_RANGE_MAP Private Attribute reference (LIKE) 20101104
22 YT_ROW_INDEX Private Attribute reference (LIKE) 20101104
23 YT_SORT_RULE Private Attribute reference (LIKE) 20101104
24 YT_SOURCE_INDEX Private See coding 20101104 yt_source_index type standard table of ys_source_index with key key_id
25 Y_COLUMN_NAME Private Attribute reference (LIKE) 20101104
26 Y_FIELD_PATH Private Attribute reference (LIKE) 20101104
27 Y_FORMATTING_OPTION_VALUE Private Attribute reference (LIKE) 20101104
28 Y_FUNCTION_CODE Private Attribute reference (LIKE) 20101104
29 Y_KEY_ID Private Type reference (TYPE) I 20101104
30 Y_MODIFICATION_TYPE Private Attribute reference (LIKE) 20101104
31 Y_OPTION Private Attribute reference (LIKE) 20101104
32 Y_RECORDING_STATE Private See coding 20101104 y_recording_state type c length 1
33 Y_ROW_INDEX Private Attribute reference (LIKE) 20101104
34 Y_SIGN Private Attribute reference (LIKE) 20101104
Method Signatures

Method ADAPT_INDEXES_FOR_CHANGED_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101104

Method ADAPT_INDEXES_FOR_CHANGED_KEYS on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method ADAPT_INDEXES_FOR_STABLE_KEYS Signature

Method ADAPT_INDEXES_FOR_STABLE_KEYS on class CL_SALV_ITAB_EDITOR_KEY_MODE has no parameter.
Method ADAPT_INDEXES_FOR_STABLE_KEYS on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method ADAPT_SOURCE_INDEX_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101104
# Exception Resumable Description Created on
1 CX_SALV_TABLE_CONTENT_CHANGED the table content has changed. 20101108

Method COMPUTE_AFTER_INDEXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101108

Method COMPUTE_AFTER_INDEXES on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method COMPUTE_CHANGE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101108

Method COMPUTE_CHANGE_LOG on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method COMPUTE_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RANGE Call by reference Type reference (TYPE) YT_RANGE 20101104
2 Importing IT_INDEX Call by reference Type reference (TYPE) YT_ROW_INDEX 20101104

Method COMPUTE_RANGE on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method COMPUTE_RANGE_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RANGE_MAP Call by reference Type reference (TYPE) YT_RANGE_MAP 20101104
2 Importing IT_INDEX_MAP Call by reference Type reference (TYPE) YT_RANGE 20101104

Method COMPUTE_RANGE_MAP on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KEY_NAME Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>YT_FIELD_PATH 20101104
2 Importing I_UI_CAN_CHANGE_KEY_FIELDS Call by reference Type reference (TYPE) ABAP_BOOL 20101104
# Exception Resumable Description Created on
1 CX_SALV_ILLEGAL_KEY_FIELDS illegal definition of key fields 20101104

Method CREATE_KEY_ADMIN_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101104
# Exception Resumable Description Created on
1 CX_SALV_ILLEGAL_KEY_FIELDS illegal definition of key fields 20101104

Method CREATE_TYPE_FOR_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101104
2 Returning RO_TYPE Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20101104
# Exception Resumable Description Created on
1 CX_SALV_ILLEGAL_KEY_FIELDS illegal definition of key fields 20101104

Method CREATE_TYPE_FOR_KEY_ADMIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MO_TYPE_KEY Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20101104
2 Returning RO_TYPE Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20101104
# Exception Resumable Description Created on
1 CX_SALV_ILLEGAL_KEY_FIELDS illegal definition of key fields 20101104

Method DATA_IS_NEW Signature

Method DATA_IS_NEW on class CL_SALV_ITAB_EDITOR_KEY_MODE has no parameter.
Method DATA_IS_NEW on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method FILL_SOURCE_INDEX_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101104

Method FILL_SOURCE_INDEX_TABLE on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method GET_COLUMNS_MODIFIED Signature

Method GET_COLUMNS_MODIFIED on class CL_SALV_ITAB_EDITOR_KEY_MODE has no parameter.
Method GET_COLUMNS_MODIFIED on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method GET_INDEX_MAP Signature

Method GET_INDEX_MAP on class CL_SALV_ITAB_EDITOR_KEY_MODE has no parameter.
Method GET_INDEX_MAP on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method GET_INSERT_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY_ID Call by reference Type reference (TYPE) Y_KEY_ID 20101104
2 Returning R_INSERT_POSITION Value transfer Type reference (TYPE) SYTABIX 20101104

Method GET_INSERT_POSITION on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method GET_KEY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) DATA 20101104
2 Returning R_KEY_ID Value transfer Type reference (TYPE) Y_KEY_ID 20101104

Method GET_KEY_ID on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method GET_LINES_MODIFIED Signature

Method GET_LINES_MODIFIED on class CL_SALV_ITAB_EDITOR_KEY_MODE has no parameter.
Method GET_LINES_MODIFIED on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method GET_LINE_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY_ID Call by reference Type reference (TYPE) Y_KEY_ID 20101104
2 Returning R_LINE_POSITION Value transfer Type reference (TYPE) SYTABIX 20101104

Method GET_LINE_POSITION on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method KEY_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE_AFTER Call by reference Type reference (TYPE) DATA 20101104
2 Importing LINE_BEFORE Call by reference Type reference (TYPE) DATA 20101104
# Exception Resumable Description Created on
1 CX_SALV_ILLEGAL_KEY illegal definition of key fields 20101104

Method LOG_NEW_DATA Signature

Method LOG_NEW_DATA on class CL_SALV_ITAB_EDITOR_KEY_MODE has no parameter.
Method LOG_NEW_DATA on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method MOVE_TO_INSERT_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE Call by reference Type reference (TYPE) DATA 20110224

Method MOVE_TO_INSERT_POSITION on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.

Method START_RECORDING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101104
# Exception Resumable Description Created on
1 CX_SALV_ILLEGAL_KEY_FIELDS illegal definition of key fields 20101104
2 CX_SALV_TABLE_CONTENT_CHANGED the table content has changed. 20101108
3 CX_SALV_TABLE_TYPE_CHANGED the table type has changed. 20101104

Method STOP_RECORDING Signature

Method STOP_RECORDING on class CL_SALV_ITAB_EDITOR_KEY_MODE has no parameter.
Method STOP_RECORDING on class CL_SALV_ITAB_EDITOR_KEY_MODE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 703