SAP ABAP Class CL_SADL_CONDITION_GENERATOR (Generates SADL conditions from range table)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ESI-ESF-BSA (Application Component) Business Service Adaptation
     SADL_QUERY_ENGINE_COMMON (Package) Common objects of SADL Query Engine
Properties
Class CL_SADL_CONDITION_GENERATOR  
Short Description Generates SADL conditions from range table    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SADL_QUERY_ENGINE_COMMON   Common objects of SADL Query Engine 
Created 20120712   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SADL_CONDITION_GENERATOR has no forward declaration.
Interfaces
Class CL_SADL_CONDITION_GENERATOR has no interface implemented.
Friends
Class CL_SADL_CONDITION_GENERATOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CS_FILTER_SIGN Constant Private See coding 20130212
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NULL_HANDLING Static method Private Method 20130212
2 APPEND_AND Static method Private Method 20130212
3 APPEND_NOT Static method Private Method 20130212
4 APPEND_OR Static method Private Method 20130212
5 APPEND_SADL_CONDITION Static method Public Method 20120712
6 CONVERT_RANGES_TO_CONDITIONS Static method Public Method 20120712
7 GET_FIELD_DESCR Static method Public Method 20130429
8 INSERT_ATOMS_INTO_TREE Static method Private Method 20130212
9 RANGES_TO_TREE Static method Private Method 20130212
10 SELECTIONS_MATCH_INITIAL_VALUE Static method Private Method 20130212
11 WRITE_ATOM Static method Private Method 20130212
12 WRITE_ATOMS Static method Private Method 20130212
13 WRITE_COLUMN Static method Private Method 20130212
14 WRITE_GROUPS Static method Private Method 20130212
15 WRITE_GRP_RULES Static method Private Method 20130212
16 WRITE_TREE Static method Private Method 20130212
Events
Class CL_SADL_CONDITION_GENERATOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_ATOM Private See coding 20130212 tt_atom TYPE STANDARD TABLE OF ty_atom WITH DEFAULT KEY
2 TT_COLUMN Private See coding 20130212 tt_column TYPE SORTED TABLE OF ty_column WITH UNIQUE KEY name
3 TT_FIELD_DESCRIPTORS Public See coding 20130212 tt_field_descriptors TYPE SORTED TABLE OF ty_field_descriptor WITH UNIQUE KEY field
4 TT_GROUPED_RANGE Public See coding 20121029 tt_grouped_range TYPE STANDARD TABLE OF ty_grouped_range WITH KEY field_path
5 TT_RULE Private See coding 20130212 tt_rule TYPE STANDARD TABLE OF ty_rule WITH DEFAULT KEY
6 TT_RULE_GROUP Private See coding 20130212 tt_rule_group TYPE SORTED TABLE OF ty_rule_group WITH NON-UNIQUE KEY id
7 TT_STREAM Private Type reference (TYPE) IF_SADL_QUERY_ENGINE_TYPES=>TT_COMPLEX_CONDITION 20130212
8 TY_ATOM Private See coding 20130212 BEGIN OF ty_atom, option TYPE sabp_s_range_option-option, low TYPE sabp_s_range_option-low, high TYPE sabp_s_range_option-high, END OF ty_atom
9 TY_COLUMN Private See coding 20130212 BEGIN OF ty_column, name TYPE string, ts_including TYPE tt_rule_group, ts_excluding TYPE tt_rule_group, END OF ty_column
10 TY_FIELD_DESCRIPTOR Public See coding 20130212 BEGIN OF ty_field_descriptor, field TYPE string, descr TYPE REF TO cl_abap_elemdescr, END OF ty_field_descriptor
11 TY_GROUPED_RANGE Public See coding 20121029 BEGIN OF ty_grouped_range, column_name TYPE string, rule_group TYPE i, field_path TYPE string, t_selopt TYPE sabp_t_range_options, END OF ty_grouped_range
12 TY_RULE Private See coding 20130212 BEGIN OF ty_rule, field_path TYPE string, t_atom TYPE tt_atom, END OF ty_rule
13 TY_RULE_GROUP Private See coding 20130212 BEGIN OF ty_rule_group, id TYPE i, t_rule TYPE tt_rule, END OF ty_rule_group
Method Signatures

Method ADD_NULL_HANDLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STREAM Call by reference Type reference (TYPE) TT_STREAM 20130212
2 Importing IO_ELEM_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR 20130212
3 Importing IT_SELECTION_PARAMETERS Call by reference Type reference (TYPE) SABP_T_RANGE_OPTIONS 20130212
4 Importing IV_ELEMENT Call by reference Type reference (TYPE) STRING 20130212
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213

Method APPEND_AND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SADL_CONDITIONS Call by reference Type reference (TYPE) IF_SADL_QUERY_ENGINE_TYPES=>TT_COMPLEX_CONDITION 20130212

Method APPEND_AND on class CL_SADL_CONDITION_GENERATOR has no exception.

Method APPEND_NOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SADL_CONDITIONS Call by reference Type reference (TYPE) IF_SADL_QUERY_ENGINE_TYPES=>TT_COMPLEX_CONDITION 20130212

Method APPEND_NOT on class CL_SADL_CONDITION_GENERATOR has no exception.

Method APPEND_OR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SADL_CONDITIONS Call by reference Type reference (TYPE) IF_SADL_QUERY_ENGINE_TYPES=>TT_COMPLEX_CONDITION 20130212

Method APPEND_OR on class CL_SADL_CONDITION_GENERATOR has no exception.

Method APPEND_SADL_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SADL_CONDITIONS Call by reference Type reference (TYPE) IF_SADL_QUERY_ENGINE_TYPES=>TT_COMPLEX_CONDITION 20120712
2 Importing IV_ATTRIBUTE Call by reference Type reference (TYPE) STRING 20120712
3 Importing IV_HIGH Call by reference Type reference (TYPE) SABP_S_RANGE_OPTION-HIGH 20120712
4 Importing IV_LOW Call by reference Type reference (TYPE) SABP_S_RANGE_OPTION-LOW 20120712
5 Importing IV_OPTION Call by reference Type reference (TYPE) SABP_S_RANGE_OPTION-OPTION 20120712
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130308

Method CONVERT_RANGES_TO_CONDITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONDITIONS Call by reference Type reference (TYPE) IF_SADL_QUERY_ENGINE_TYPES=>TT_COMPLEX_CONDITION 20120712
2 Importing IT_FIELD_DESCRIPTORS Call by reference Type reference (TYPE) TT_FIELD_DESCRIPTORS 20130429
3 Importing IT_RANGES Call by reference Type reference (TYPE) TT_GROUPED_RANGE 20120712
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213

Method GET_FIELD_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELD_DESCRIPTORS Call by reference Type reference (TYPE) TT_FIELD_DESCRIPTORS 20130429
2 Importing IT_ELEMENTS Call by reference Type reference (TYPE) IF_SADL_QUERY_ENGINE_TYPES=>TT_ELEMENT_INFO 20130429
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130429

Method INSERT_ATOMS_INTO_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_TREE Call by reference Type reference (TYPE) TT_COLUMN 20130212
2 Importing IT_ATOM Call by reference Type reference (TYPE) TT_ATOM 20130212
3 Importing I_COLUMN Call by reference Type reference (TYPE) STRING 20130212
4 Importing I_FIELD_PATH Call by reference Type reference (TYPE) STRING 20130213
5 Importing I_GROUP Call by reference Type reference (TYPE) I 20130212
6 Importing I_SIGN Call by reference Type reference (TYPE) SABP_S_RANGE_OPTION-SIGN 20130212

Method INSERT_ATOMS_INTO_TREE on class CL_SADL_CONDITION_GENERATOR has no exception.

Method RANGES_TO_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_TREE Call by reference Type reference (TYPE) TT_COLUMN 20130212
2 Importing IT_RULES Call by reference Type reference (TYPE) TT_GROUPED_RANGE 20130212

Method RANGES_TO_TREE on class CL_SADL_CONDITION_GENERATOR has no exception.

Method SELECTIONS_MATCH_INITIAL_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ELEM_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_ELEMDESCR 20130212
2 Importing IT_SELECTION_PARAMETERS Call by reference Type reference (TYPE) SABP_T_RANGE_OPTIONS 20130212
3 Importing IV_ELEMENT Call by reference Type reference (TYPE) STRING 20130213
4 Returning RV_MATCH Value transfer Type reference (TYPE) ABAP_BOOL 20130212
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213

Method WRITE_ATOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STREAM Call by reference Type reference (TYPE) TT_STREAM 20130212
2 Importing IS_ATOM Call by reference Type reference (TYPE) TY_ATOM 20130212
3 Importing IV_FIELD_PATH Call by reference Type reference (TYPE) STRING 20130213
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130308

Method WRITE_ATOMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STREAM Call by reference Type reference (TYPE) TT_STREAM 20130212
2 Importing IT_ATOM Call by reference Type reference (TYPE) TT_ATOM 20130212
3 Importing IT_FIELD_DESCRIPTORS Call by reference Type reference (TYPE) TT_FIELD_DESCRIPTORS 20130429
4 Importing IV_FIELD_PATH Call by reference Type reference (TYPE) STRING 20130213
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213

Method WRITE_COLUMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STREAM Call by reference Type reference (TYPE) TT_STREAM 20130212
2 Importing IS_COLUMN Call by reference Type reference (TYPE) TY_COLUMN 20130212
3 Importing IT_FIELD_DESCRIPTORS Call by reference Type reference (TYPE) TT_FIELD_DESCRIPTORS 20130429
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213

Method WRITE_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STREAM Call by reference Type reference (TYPE) TT_STREAM 20130212
2 Importing ITS_GROUP Call by reference Type reference (TYPE) TT_RULE_GROUP 20130212
3 Importing IT_FIELD_DESCRIPTORS Call by reference Type reference (TYPE) TT_FIELD_DESCRIPTORS 20130429
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213

Method WRITE_GRP_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STREAM Call by reference Type reference (TYPE) TT_STREAM 20130212
2 Importing IT_FIELD_DESCRIPTORS Call by reference Type reference (TYPE) TT_FIELD_DESCRIPTORS 20130429
3 Importing IT_RULE Call by reference Type reference (TYPE) TT_RULE 20130212
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213

Method WRITE_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STREAM Call by reference Type reference (TYPE) TT_STREAM 20130212
2 Importing ITS_COLUMN Call by reference Type reference (TYPE) TT_COLUMN 20130212
3 Importing IT_FIELD_DESCRIPTORS Call by reference Type reference (TYPE) TT_FIELD_DESCRIPTORS 20130429
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130213
History
Last changed by/on SAP  20131127 
SAP Release Created in 740