SAP ABAP Class IF_FDT_DECISION_TABLE (FDT: Decision Table)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface composition (i COMPRISING i_ref)  IF_FDT_EXPRESSION FDT: Expression 20051024
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_FDT_DECISION_TABLE FDT: Decision Table 20051020
Properties
Class IF_FDT_DECISION_TABLE  
Short Description FDT: Decision Table    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package      
Created 20051014   SAP 
Last change 20110908   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_FDT_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FDT_DECISION_TABLE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_FDT_ELEMENT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_FDT_RANGE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class IF_FDT_DECISION_TABLE has no interface implemented.
Friends
Class IF_FDT_DECISION_TABLE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_EXTY_DECISION_TABLE Constant Public Type reference (TYPE) IF_FDT_TYPES=>ID IF_FDT_CONSTANTS=>GC_EXTY_DECISION_TABLE Expression Type "Decision Table" 20080416
2 GC_OPTION_BETWEEN Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_BETWEEN Between ... and ... 20081230
3 GC_OPTION_CONTAINS_ANY Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_ANY Contains any 20081230
4 GC_OPTION_CONTAINS_NOT_ANY Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NOT_ANY Contains not any 20081230
5 GC_OPTION_CONTAINS_NOT_ONLY Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NOT_ONLY Contains not only 20081230
6 GC_OPTION_CONTAINS_NO_STRING Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NO_STRING Contains no string 20081230
7 GC_OPTION_CONTAINS_ONLY Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_ONLY Contains only 20081230
8 GC_OPTION_CONTAINS_PATTERN Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_PATTERN Matches pattern 20081230
9 GC_OPTION_CONTAINS_STRING Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_STRING Contains string 20081230
10 GC_OPTION_EQUAL Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_EQUAL Equal to 20081230
11 GC_OPTION_GREATER Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_GREATER Greater than 20081230
12 GC_OPTION_GREATER_EQUAL Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_GREATER_EQUAL Greater than or equal to 20081230
13 GC_OPTION_INITIAL Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_INITIAL Is initial 20081230
14 GC_OPTION_LESS Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_LESS Less than 20081230
15 GC_OPTION_LESS_EQUAL Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_LESS_EQUAL Less than or equal to 20081230
16 GC_OPTION_NOT_BETWEEN Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_NOT_BETWEEN Not between ... and ... 20081230
17 GC_OPTION_NOT_CONTAINS_PATTERN Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_NOT_CONTAINS_PATTERN Does not match pattern 20081230
18 GC_OPTION_NOT_EQUAL Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_NOT_EQUAL Not equal to 20081230
19 GC_OPTION_NOT_INITIAL Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_NOT_INITIAL Is not initial 20081230
20 GC_OPTION_NOT_SUPPLIED Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_NOT_SUPPLIED Is not supplied 20081230
21 GC_OPTION_SUPPLIED Constant Public Type reference (TYPE) IF_FDT_RANGE=>OPTION IF_FDT_ELEMENT=>GC_OPTION_SUPPLIED Is supplied 20081230
22 GC_SIGN_EXCLUDE Constant Public Type reference (TYPE) IF_FDT_RANGE=>SIGN IF_FDT_ELEMENT=>GC_SIGN_EXCLUDE Range limit excluded 20081230
23 GC_SIGN_INCLUDE Constant Public Type reference (TYPE) IF_FDT_RANGE=>SIGN IF_FDT_ELEMENT=>GC_SIGN_INCLUDE Range limit included 20081230
24 MV_ACTION Instance attribute Public Attribute reference (LIKE) 20071228
25 MV_CUSTOMIZING_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
26 MV_EXPRESSION_TYPE_ID Instance attribute Public Attribute reference (LIKE) 20071228
27 MV_ID Instance attribute Public Attribute reference (LIKE) 20051103
28 MV_LOCAL_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
29 MV_MASTERDATA_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
30 MV_OBJECT_TYPE Instance attribute Public Attribute reference (LIKE) 20071228
31 MV_RULE Instance attribute Public Attribute reference (LIKE) 20071228
32 MV_SYSTEM_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_ROWS Instance method Public Method Delete one or many rows 20100930
2 GET_COLUMNS Instance method Public Method Get the columns of the decision table 20060324
3 GET_MSG_SEVERITY Instance method Public Method Get the message severity of some checks 20080129
4 GET_ROWS Instance method Public Method Get one or many rows 20100930
5 GET_TABLE_DATA Instance method Public Method Get all data content of the decision table 20051020
6 GET_TABLE_PROPERTY Instance method Public Method Get general properties of the decision table 20051103
7 INSERT_ROWS Instance method Public Method Insert a single row (does not overwrite other rows) 20101005
8 MOVE_ROWS Instance method Public Method Move row 20101005
9 SET_COLUMNS Instance method Public Method Set the columns of the decision table and their order 20060324
10 SET_MSG_SEVERITY Instance method Public Method Set the message severity of some checks 20080129
11 SET_ROWS Instance method Public Method Set one or many rows 20100930
12 SET_TABLE_DATA Instance method Public Method Set data content of the decision table, all data at once 20051020
13 SET_TABLE_PROPERTY Instance method Public Method Set general properties of the decision table 20051103
14 SWAP_ROWS Instance method Public Method Swap two rows 20100930
Events
Class IF_FDT_DECISION_TABLE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 IS_OPTIONAL Public Type reference (TYPE) FDT_OPTIONAL Column is optional at runtime, needn't be in the context 20060914
2 IS_REQUIRED Public Type reference (TYPE) FDT_REQUIRED Value required (either via UI, predef., callback,...) 20060914
3 IS_RESULT Public Type reference (TYPE) FDT_IS_RESULT Column represents a result column 20060914
4 S_CELL_DATA Public See coding Data of a cell (one column) 20100930 BEGIN OF s_cell_data, col_no TYPE int4, expression_id TYPE if_fdt_types=>id, r_value TYPE REF TO data, ts_range TYPE ts_range, END OF s_cell_data
5 S_COLUMN Public See coding Column of the decision table 20060324 BEGIN OF s_column, col_no TYPE int4, object_id TYPE if_fdt_types=>id, is_result TYPE is_result, is_optional TYPE is_optional, input_required TYPE is_required, ui_mode TYPE if_fdt_types=>ui_mode, is_action TYPE abap_bool, END OF s_column
6 S_RANGE Public Type reference (TYPE) IF_FDT_RANGE=>S_RANGE Struture for the range values 20081230
7 S_ROW_DATA Public See coding Data of a row (all columns) 20100930 BEGIN OF s_row_data, row_no TYPE int4, ts_cell_data TYPE SORTED TABLE OF s_cell_data WITH UNIQUE KEY col_no, END OF s_row_data
8 S_ROW_NO_MAPPING Public See coding Row # mapping 20101005 BEGIN OF s_row_no_mapping, old_row_no TYPE int4, new_row_no TYPE int4, END OF s_row_no_mapping
9 S_TABLE_DATA Public See coding Data of a decision table cell 20051020 BEGIN OF s_table_data, col_no TYPE int4, row_no TYPE int4, expression_id TYPE if_fdt_types=>id, r_value TYPE REF TO data, ts_range TYPE ts_range, END OF s_table_data
10 TS_COLUMN Public See coding Columns of the decision table 20060324 ts_column TYPE SORTED TABLE OF s_column WITH UNIQUE KEY col_no
11 TS_RANGE Public Type reference (TYPE) IF_FDT_RANGE=>TS_RANGE Table structure for the range values 20081230
12 TS_ROW_DATA Public See coding Data of rows (all columns) 20100930 ts_row_data TYPE SORTED TABLE OF s_row_data WITH UNIQUE KEY row_no
13 TS_ROW_NO Public See coding List with row # 20101005 ts_row_no TYPE SORTED TABLE OF s_table_data-row_no WITH UNIQUE DEFAULT KEY
14 TS_ROW_NO_MAPPING Public See coding List of row # mappings 20101005 ts_row_no_mapping TYPE SORTED TABLE OF s_row_no_mapping WITH UNIQUE KEY old_row_no new_row_no
15 TS_TABLE_DATA Public See coding Data of the decision table 20051101 ts_table_data TYPE SORTED TABLE OF s_table_data WITH UNIQUE KEY col_no row_no
Method Signatures

Method DELETE_ROWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_ROW_NO Call by reference Type reference (TYPE) TS_ROW_NO List with row # 20101005
2 Importing IV_FROM_ROW_NO Call by reference Type reference (TYPE) I From Row # 20100930
3 Importing IV_TO_ROW_NO Call by reference Type reference (TYPE) I To Row # 20100930
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20100930

Method GET_COLUMNS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_COLUMN Call by reference Type reference (TYPE) TS_COLUMN columns of the table 20060324
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20060324
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20080220

Method GET_MSG_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GAP_CHECK_SEVERITY Call by reference Type reference (TYPE) IF_FDT_TYPES=>MSG_SEVERITY Message Severity for overlap checks 20080129
2 Exporting EV_OVERLAP_CHECK_SEVERITY Call by reference Type reference (TYPE) IF_FDT_TYPES=>MSG_SEVERITY Message Severity for gap checks 20080129
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20080129
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090409

Method GET_ROWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_DATA Call by reference Type reference (TYPE) IF_FDT_DECISION_TABLE=>TS_TABLE_DATA Table data for the requested rows 20100930
2 Exporting ETS_ROW_DATA Call by reference Type reference (TYPE) IF_FDT_DECISION_TABLE=>TS_ROW_DATA Data of rows (all columns) 20100930
3 Exporting EV_ROW_COUNT Call by reference Type reference (TYPE) I Row Count (number of rows available) 20100930
4 Importing ITS_ROW_NO Call by reference Type reference (TYPE) TS_ROW_NO List with row # 20101005
5 Importing IV_FROM_ROW_NO Call by reference Type reference (TYPE) I From Row # 20100930
6 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20100930
7 Importing IV_TO_ROW_NO Call by reference Type reference (TYPE) I To Row # 20100930
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20100930

Method GET_TABLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_DATA Call by reference Type reference (TYPE) TS_TABLE_DATA 20051205
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20051101
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20080219

Method GET_TABLE_PROPERTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ALLOW_NO_MATCH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE: Returns an exception when no match was found 20090506
2 Exporting EV_MULTIPLE_MATCH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE: Return only first found; ABAP_TRUE: All matches 20051103
3 Exporting EV_PARTIAL_MATCH_EXCEPTION Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE: Partial Match Exception may be returned (slow!) 20100831
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20051103
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20080220

Method INSERT_ROWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_ROW_DATA Call by reference Type reference (TYPE) IF_FDT_DECISION_TABLE=>TS_ROW_DATA Data of rows (all columns) 20101005
2 Importing IV_ROW_NO Call by reference Type reference (TYPE) I Row No. for insert 20101008
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20101005

Method MOVE_ROWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_ROW_NO Call by reference Type reference (TYPE) IF_FDT_DECISION_TABLE=>TS_ROW_NO List of row # to be moved 20101006
2 Importing IV_NEW_ROW_NO Call by reference Type reference (TYPE) I New row # 20101005
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20101005

Method SET_COLUMNS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_COLUMN Call by reference Type reference (TYPE) TS_COLUMN Columns of the decision table and their correct order 20060324
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20060324

Method SET_MSG_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GAP_CHECK_SEVERITY Call by reference Type reference (TYPE) IF_FDT_TYPES=>MSG_SEVERITY Message Severity for gap checks 20080129
2 Importing IV_OVERLAP_CHECK_SEVERITY Call by reference Type reference (TYPE) IF_FDT_TYPES=>MSG_SEVERITY Message Severity for overlap checks 20080129
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20080129

Method SET_ROWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_ROW_DATA Call by reference Type reference (TYPE) IF_FDT_DECISION_TABLE=>TS_ROW_DATA Data of rows (all columns) 20100930
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20100930

Method SET_TABLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITS_DATA Call by reference Type reference (TYPE) TS_TABLE_DATA 20051205
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20051020

Method SET_TABLE_PROPERTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALLOW_NO_MATCH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_FALSE: Returns an exception when no match was found 20090506
2 Importing IV_MULTIPLE_MATCH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_FALSE: Return only first found; ABAP_TRUE: All matches 20051103
3 Importing IV_PARTIAL_MATCH_EXCEPTION Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: Partial Match Exception may be returned (slow!) 20100831
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20051103

Method SWAP_ROWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIRST_ROW_NO Call by reference Type reference (TYPE) I First row # 20100930
2 Importing IV_SECOND_ROW_NO Call by reference Type reference (TYPE) I Second row # 20100930
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20100930
History
Last changed by/on SAP  20110908 
SAP Release Created in