SAP ABAP Class CL_DRF_FILTER_CRITERIA (Read Filter Criteria)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-MDG-DRF (Application Component) Data Replication Framework
     DRF_FILTER_OBJECTS (Package) Data Replication Frame: Filter Objects for Outbound Services
Properties
Class CL_DRF_FILTER_CRITERIA  
Short Description Read Filter Criteria    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package DRF_FILTER_OBJECTS   Data Replication Frame: Filter Objects for Outbound Services 
Created 20091103   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 RSDS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DRF_FILTER_CRITERIA has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 TH_DRF_FILTER_CRITERIA 20120613 Helper Test Class for filter criteria
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_HEADER_TABNAME Constant Public Type reference (TYPE) TABNAME 'DRFD_APPL_FILT_H' Table Name 20091103
2 GC_ITEM_TABNAME Constant Public Type reference (TYPE) TABNAME 'DRFD_APPL_FILT_C' Table Name 20091103
3 GC_OBJECT Constant Public Type reference (TYPE) TROBJTYPE 'TABU' Object Type 20091104
4 GC_OBJFUNC Constant Public Type reference (TYPE) OBJFUNC 'K' Object function 20091104
5 GC_PGMID Constant Public Type reference (TYPE) PGMID 'R3TR' Program ID in Requests and Tasks 20091104
6 GC_TRFUNCTION Constant Public Type reference (TYPE) TRFUNCTION 'W' Type of request/task 20091104
7 GC_TROBJTYPE Constant Public Type reference (TYPE) TROBJTYPE 'TDAT' Object Type 20091104
8 GC_TROBJ_NAME Constant Public Type reference (TYPE) TROBJ_NAME 'DRF_FILTER_CRITERIA' Object Name in Object List 20091104
9 GC_WILDCARD Constant Public Type reference (TYPE) STRING '*' 20091104
10 MC_ALV_FIELD_DEF_LEV_TXT_NAME Constant Private Type reference (TYPE) LVC_CIFNM 'DEFINITION_TYPE_TEXT' ALV control: Field name with simple row color coding 20100113
11 MC_ALV_FIELD_FILTER_CAT_NAME Constant Private Type reference (TYPE) LVC_CIFNM 'FILTER_CATEGORY_TEXT' 20100113
12 MC_ALV_FIELD_FOBJ_TYPE_NAME Constant Private Type reference (TYPE) LVC_CIFNM 'FOBJ_TYPE' ALV control: Field name with simple row color coding 20100113
13 MC_ALV_FIELD_OPTION_NAME Constant Private Type reference (TYPE) LVC_CIFNM 'OPTION' ALV control: Field name with simple row color coding 20100113
14 MC_ALV_FIELD_SELOPT_NAME Constant Private Type reference (TYPE) LVC_CIFNM 'SELOPT_TYPE' ALV control: Field name with simple row color coding 20100113
15 MC_ALV_FIELD_STATUS_NAME Constant Private Type reference (TYPE) LVC_CIFNM 'STATUS' ALV control: Field name with simple row color coding 20100113
16 MC_ALV_FUNC_TREE_CHANGE_VIEW Constant Private Type reference (TYPE) UI_FUNC 'TCHGV' Function code 20100113
17 MO_ALV_TOOLBAR_FILT_CONF Static Attribute Private Object reference (TYPE REF TO) CL_GUI_TOOLBAR 20100113
18 MO_ALV_TREE_FILT_CONF Static Attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_TREE 20100113
19 MO_ALV_TREE_FILT_CRIT Static Attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_TREE ALV Tree object for filter criteria 20100113
20 MT_ALV_FILT_CONF Static Attribute Private Type reference (TYPE) T_ALV_FILT_CONF 20100113
21 MT_ALV_FILT_CRIT Static Attribute Private Type reference (TYPE) T_ALV_FILT_CRIT 20100113
22 MT_FIELDCAT_FILT_CONF Static Attribute Private Type reference (TYPE) LVC_T_FCAT 20100113
23 MT_FIELDCAT_FILT_CRIT Static Attribute Private Type reference (TYPE) LVC_T_FCAT 20100113
24 MT_FILTER_CONFIG Static Attribute Private See coding 20100113
25 MV_ICON_ALL_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
26 MV_ICON_EQUAL_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
27 MV_ICON_EQUAL_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
28 MV_ICON_FILTER Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
29 MV_ICON_FREE_SELECTION Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
30 MV_ICON_GREATER_EQUAL_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
31 MV_ICON_GREATER_EQUAL_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
32 MV_ICON_GREATER_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
33 MV_ICON_GREATER_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
34 MV_ICON_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
35 MV_ICON_GREEN_EXP_FILT Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
36 MV_ICON_GREEN_EXT_SEL Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
37 MV_ICON_GREY_NO_FILT Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
38 MV_ICON_INTERVAL_EXCLUDE_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
39 MV_ICON_INTERVAL_EXCLUDE_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
40 MV_ICON_INTERVAL_INCLUDE_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
41 MV_ICON_INTERVAL_INCLUDE_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
42 MV_ICON_LESS_EQUAL_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
43 MV_ICON_LESS_EQUAL_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
44 MV_ICON_LESS_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
45 MV_ICON_LESS_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
46 MV_ICON_NOT_EQUAL_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
47 MV_ICON_NOT_EQUAL_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
48 MV_ICON_OBJECT Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
49 MV_ICON_OUTB_IMPL Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
50 MV_ICON_PATTERN_EXCLUDE_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
51 MV_ICON_PATTERN_EXCLUDE_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
52 MV_ICON_PATTERN_INCLUDE_GREEN Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
53 MV_ICON_PATTERN_INCLUDE_RED Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
54 MV_ICON_RED_EXP_FILT Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
55 MV_ICON_RED_INACTIVE Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
56 MV_ICON_RED_NO_FILTER Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
57 MV_ICON_ROOT_FILTER_OBJECT Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
58 MV_ICON_SEGMENT_FILTER_OBJECT Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
59 MV_ICON_VIEW_SWITCH Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
60 MV_ICON_YELLOW_EXT_SEL Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
61 MV_ICON_YELLOW_NO_VALUE Static Attribute Private Type reference (TYPE) ICON_TEXT 20100113
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NODE2ALV_TREE Static method Private Method Add a node to ALV tree 20100113
2 BUILD_ALV_FIELDCAT_FILT_CONF Static method Private Method Build ALV fieldcatalog for filter criteria display 20100113
3 BUILD_ALV_FIELDCAT_FILT_CRIT Static method Private Method Build ALV fieldcatalog for filter criteria display 20100113
4 CREATE_ICONS Static method Private Method Create icons used in ALV tree 20100113
5 DB_READ Static method Private Method Read from Database 20091103
6 DELETE_FILTER_CRITERIA Static method Private Method Delete Header data of Filtercriteria 20091111
7 DISPLAY_FILTER_CONFIG Static method Public Method Displays Filter Criteria in a GUI container 20100113
8 DISPLAY_FILTER_CRITERIA Static method Public Method Displays Filter Criteria in a GUI container 20100113
9 FILTER_CRITERIA_SINGLE_READ Static method Public Method Read Filter Criteria Single 20091103
10 FILTER_CRITERIA_TABLE_KEYS_GET Static method Public Method Get Technical Keys for Transport of table entries 20091103
11 GET_BY_ID Static method Private Method Get Filtercriteria by IDs 20091105
12 HANDLE_ALV_TOOLBAR_FILT_CONF Static method Private Event handling method Handle toolbar events of ALV tree for filter configuration 20100113
13 LOAD_ALV_FILT_CONF_TABLE Static method Private Method Load table of filter criteria to be displayed in ALV Tree 20100113
14 LOAD_ALV_FILT_CRIT_TABLE Static method Private Method Load table of filter criteria to be displayed in ALV Tree 20100113
15 TRANSPORT_FILTER_CRITERIA Static method Public Method Write Transport request for Filter Criteria 20091103
16 UPDATE_FILTER_CRITERIA Static method Public Method Update Filter Criteria 20091105
Events
Class CL_DRF_FILTER_CRITERIA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_ALV_FILT_CONF Private See coding 20100113 BEGIN OF s_alv_filt_conf. TYPES status TYPE icon_text. TYPES fobj_type TYPE icon_text. TYPES filter_category_text TYPE ddtext. TYPES definition_type_text TYPE ddtext. INCLUDE TYPE drf_s_filter_definition. TYPES END OF s_alv_filt_conf
2 S_ALV_FILT_CRIT Private See coding 20100113 BEGIN OF s_alv_filt_crit. TYPES status TYPE icon_text. TYPES selopt_type TYPE icon_text. TYPES option TYPE icon_text. TYPES definition_type_text TYPE ddtext. INCLUDE TYPE drf_s_filter_value. TYPES END OF s_alv_filt_crit
3 T_ALV_FILT_CONF Private See coding 20100113 t_alv_filt_conf TYPE STANDARD TABLE OF s_alv_filt_conf
4 T_ALV_FILT_CRIT Private See coding 20100113 t_alv_filt_crit TYPE STANDARD TABLE OF s_alv_filt_crit
Method Signatures

Method ADD_NODE2ALV_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHILD_NODE Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20100113
2 Importing IO_ALV_TREE Call by reference Object reference (TYPE REF TO) CL_GUI_ALV_TREE ALV Tree Control 20100113
3 Importing IV_IMAGE Call by reference Type reference (TYPE) ICON_TEXT Carrier field for icons 20100113
4 Importing IV_ISFOLDER Call by reference Type reference (TYPE) ABAP_BOOL 20100113
5 Importing IV_NODE_TEXT Call by reference Type reference (TYPE) LVC_VALUE ALV Control: Cell Content 20100113
6 Importing IV_PARENT_NODE Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20100113

Method ADD_NODE2ALV_TREE on class CL_DRF_FILTER_CRITERIA has no exception.

Method BUILD_ALV_FIELDCAT_FILT_CONF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALV_FIELDCAT_FILT_CONF Call by reference Type reference (TYPE) LVC_T_FCAT Field catalog 20100113

Method BUILD_ALV_FIELDCAT_FILT_CONF on class CL_DRF_FILTER_CRITERIA has no exception.

Method BUILD_ALV_FIELDCAT_FILT_CRIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALV_FIELDCAT_FILT_CRIT Call by reference Type reference (TYPE) LVC_T_FCAT Field catalog 20100113

Method BUILD_ALV_FIELDCAT_FILT_CRIT on class CL_DRF_FILTER_CRITERIA has no exception.

Method CREATE_ICONS Signature

Method CREATE_ICONS on class CL_DRF_FILTER_CRITERIA has no parameter.
Method CREATE_ICONS on class CL_DRF_FILTER_CRITERIA has no exception.

Method DB_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HEADER Call by reference Type reference (TYPE) DRF_T_APPL_FILT_H_LONG Data Replication Filter Root Node 20091103
2 Exporting ET_ITEM Call by reference Type reference (TYPE) DRF_T_APPL_FILT_CRIT_LONG FilterCriteria 20091103
3 Importing IV_APPL Call by reference Type reference (TYPE) DRF_APPL Replication Model 20091103
4 Importing IV_FOBJ Call by reference Type reference (TYPE) DRF_FILTER_OBJECT Filter Object 20091103
5 Importing IV_OUTB_IMPL Call by reference Type reference (TYPE) DRF_OUTB_IMPL Outbound Implementation 20091103
6 Importing IV_TARCLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20091203

Method DB_READ on class CL_DRF_FILTER_CRITERIA has no exception.

Method DELETE_FILTER_CRITERIA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) SPROT_U_TAB Table Type for SPROT_U (Log Interface) 20091203
2 Importing IT_KEYS Call by reference Type reference (TYPE) DRF_T_TRANSPORT_KEYS Character field, length 32 20091203
3 Importing IV_TARCLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20091111

Method DELETE_FILTER_CRITERIA on class CL_DRF_FILTER_CRITERIA has no exception.

Method DISPLAY_FILTER_CONFIG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_GUI_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Parent Container to display ALV Tree in 20100113
2 Importing ITR_OUTB_IMPL Call by reference Type reference (TYPE) DRF_TR_SERV_IMPL Range for Outbound Implementation 20100113
3 Importing IV_ADHOC Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Adhoc Modus 20100113
4 Importing IV_APPL Call by reference Type reference (TYPE) DRF_APPL Application 20100113
5 Importing IV_REPID Call by reference Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20100113

Method DISPLAY_FILTER_CONFIG on class CL_DRF_FILTER_CRITERIA has no exception.

Method DISPLAY_FILTER_CRITERIA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_GUI_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Parent Container to display ALV Tree in 20100113
2 Importing ITR_FOBJ Call by reference Type reference (TYPE) DRF_TR_FOBJ Range for Filter Object 20100113
3 Importing ITR_OUTB_IMPL Call by reference Type reference (TYPE) DRF_TR_SERV_IMPL Range for Outbound Implementation 20100113
4 Importing IT_EXT_CRIT Call by reference Type reference (TYPE) RSDS_TRANGE External Filter Criteria 20100113
5 Importing IT_FOBJ_CRIT Call by reference Type reference (TYPE) RSDS_TRANGE Filter critera on level Filter object 20100113
6 Importing IT_SERV_FOBJ_CRIT Call by reference Type reference (TYPE) RSDS_TRANGE Filter criteria on level Outbound Impementation 20100113
7 Importing IV_APPL Call by reference Type reference (TYPE) DRF_APPL Application 20100113
8 Importing IV_DLMOD Call by reference Type reference (TYPE) DRF_DLMOD Replication Mode 20100113
9 Importing IV_IGNORE_FILTER Call by reference Type reference (TYPE) ABAP_BOOL Ignore Configured Filter Criteria 20100113
10 Importing IV_REPID Call by reference Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20100113

Method DISPLAY_FILTER_CRITERIA on class CL_DRF_FILTER_CRITERIA has no exception.

Method FILTER_CRITERIA_SINGLE_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FILTER_CRITERIA Call by reference Type reference (TYPE) DRF_TO_FILTER BOPF Filter Criteria 20091103
2 Importing IV_APPL Call by reference Type reference (TYPE) DRF_APPL Application 20091103
3 Importing IV_FOBJ Call by reference Type reference (TYPE) DRF_FILTER_OBJECT Filter Object 20091103
4 Importing IV_OUTB_IMPL Call by reference Type reference (TYPE) DRF_OUTB_IMPL Outbound Implementation 20091103

Method FILTER_CRITERIA_SINGLE_READ on class CL_DRF_FILTER_CRITERIA has no exception.

Method FILTER_CRITERIA_TABLE_KEYS_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEYS Call by reference Type reference (TYPE) DRF_T_TRANSPORT_KEYS Keys for Transport request 20091103
2 Importing IT_APPL_FOBJ Call by reference Type reference (TYPE) DRF_T_APPL_FOBJ_INT Table type for transport of filter criteria 20091103
3 Importing IV_TARCLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20091203

Method FILTER_CRITERIA_TABLE_KEYS_GET on class CL_DRF_FILTER_CRITERIA has no exception.

Method GET_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FILTER_CRITERIA Call by reference Type reference (TYPE) DRF_S_APPL_FILT_H_LONG Table type for transport of filter criteria 20091105
2 Importing IV_DB_NAME_LONG_H Call by reference Type reference (TYPE) DRF_S_APPL_FILT_H_LONG-DB_NAME_LONG Table type for transport of filter criteria 20091109
3 Importing IV_TARCLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20091203

Method GET_BY_ID on class CL_DRF_FILTER_CRITERIA has no exception.

Method HANDLE_ALV_TOOLBAR_FILT_CONF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Value transfer Attribute reference (LIKE) 20100113

Method HANDLE_ALV_TOOLBAR_FILT_CONF on class CL_DRF_FILTER_CRITERIA has no exception.

Method LOAD_ALV_FILT_CONF_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALV_FILT_CONF Call by reference Type reference (TYPE) T_ALV_FILT_CONF Filter configuration to display 20100113

Method LOAD_ALV_FILT_CONF_TABLE on class CL_DRF_FILTER_CRITERIA has no exception.

Method LOAD_ALV_FILT_CRIT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FILTER_VALUE Call by reference Type reference (TYPE) DRF_T_FILTER_VALUE Filter Criteria for Explicit Filters 20100113
2 Exporting ET_ALV_FILT_CRIT Call by reference Type reference (TYPE) T_ALV_FILT_CRIT Filter criteria to display 20100113
3 Importing IV_IGNORE_FILTER Call by reference Type reference (TYPE) ABAP_BOOL External filter criteria to be ignored 20100113

Method LOAD_ALV_FILT_CRIT_TABLE on class CL_DRF_FILTER_CRITERIA has no exception.

Method TRANSPORT_FILTER_CRITERIA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_APPL_FOBJ Call by reference Type reference (TYPE) DRF_T_APPL_FOBJ_INT Table type for transport of filter criteria 20091103
2 Importing IV_REQUEST Call by reference Type reference (TYPE) TRKORR Request/Task 20091103

Method TRANSPORT_FILTER_CRITERIA on class CL_DRF_FILTER_CRITERIA has no exception.

Method UPDATE_FILTER_CRITERIA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) SPROT_U_TAB Table Type for SPROT_U (Log Interface) 20091203
2 Importing IT_E071 Call by reference Type reference (TYPE) TR_OBJECTS Change & Transport System: Object Entries of Requests/Tasks 20091105
3 Importing IT_E071K Call by reference Type reference (TYPE) TR_KEYS Change & Transport System: Key Entries of Requests/Tasks 20091105
4 Importing IV_TARCLIENT Call by reference Type reference (TYPE) SY-MANDT Client ID of Current User 20091105

Method UPDATE_FILTER_CRITERIA on class CL_DRF_FILTER_CRITERIA has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 702