SAP ABAP Class CL_SALV_BS_FILTER (Filters)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷ BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
⤷ SALV_BS_SERVICE (Package) Service
⤷ BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
⤷ SALV_BS_SERVICE (Package) Service
Properties
Class | CL_SALV_BS_FILTER | |
Short Description | Filters | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SALV_BS_SERVICE | Service |
Created | 20051108 | 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 | CL_ALV_Z_PARAMS | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | CL_SALV_BS_FILTER | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
4 | CL_SALV_BS_SORT | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
5 | IF_SALV_BS | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SALV_BS_FILTER has no interface implemented.
Friends
Class CL_SALV_BS_FILTER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | C_FILTER_STRATEGY | Constant | Public | See coding | 20091107 | ||||
2 | C_FILTER_VERSION_01 | Constant | Public | Type reference (TYPE) | STRING | 'V01' | 20091102 | ||
3 | C_FILTER_VERSION_10 | Constant | Public | Type reference (TYPE) | STRING | 'V10' | 20091102 | ||
4 | C_FILTER_VERSION_20 | Constant | Public | Type reference (TYPE) | STRING | 'V20' | 20091102 | ||
5 | C_FILTER_VERSION_21 | Constant | Public | Type reference (TYPE) | STRING | 'V21' | 20091122 | ||
6 | C_IGNORING_CASE | Constant | Public | See coding | 20110325 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADAPT_FILTER_RULE | Static method | Private | Method | 20091031 | |
2 | ADAPT_SELOPT | Static method | Private | Method | 20100303 | |
3 | APPLY | Static method | Public | Method | 20051108 | |
4 | APPLY_V10 | Static method | Private | Method | 20091107 | |
5 | APPLY_V20 | Static method | Private | Method | 20091107 | |
6 | CONVERT_SELOPT_TO_DYN_WHERE | Static method | Private | Method | 20100303 | |
7 | DETERMINE_FILTER_STRATEGY | Static method | Private | Method | 20091030 | |
8 | DO_STRATEGY_CLASSIC | Static method | Private | Method | 20091030 | |
9 | DO_STRATEGY_DYNAMIC_WHERE | Static method | Private | Method | 20091030 | |
10 | GET_SINGLE_FILTER_STRING | Static method | Private | Method | 20091106 | |
11 | GET_VERSION | Static method | Public | Method | Get Filter Version | 20091122 |
12 | IS_CONV_EXIT_APPLICABLE | Static method | Protected | Method | 20120808 | |
13 | IS_NUMERIC | Static method | Public | Method | Checks Numerically for Transferred Type | 20100211 |
14 | SET_VERSION | Static method | Private | Method | Set Filter Version | 20091123 |
Events
Class CL_SALV_BS_FILTER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_TYPE_FILTER | Public | See coding | 20051108 | begin of s_type_filter,
fieldname type y_fieldname,
c7tnr_fieldname type i,
t_selopt type t_type_filter_selopt,
end of s_type_filter
|
||
2 | S_TYPE_FILTER_SELOPT | Public | See coding | 20071120 | begin of s_type_filter_selopt,
sign type y_sign,
option type y_option,
low type y_value,
high type y_value,
end of s_type_filter_selopt
|
||
3 | T_TYPE_FILTER | Public | See coding | 20051108 | t_type_filter type sorted table of s_type_filter with unique key fieldname
|
||
4 | T_TYPE_FILTER_SELOPT | Public | See coding | 20071120 | t_type_filter_selopt type standard table of s_type_filter_selopt with non-unique key table_line
|
||
5 | YS_FILTER | Public | See coding | 20091030 | begin of ys_filter,
fieldname type y_fieldname,
contains_cp_or_np type abap_bool,
force_classic_strategy type abap_bool,
is_conv_exit_applicable type abap_bool, "Y3YK053576 U1YK002486
* sign_excluding type abap_bool,
has_a_selopt_external_format type abap_bool,
t_selopt type t_type_filter_selopt,
end of ys_filter
|
||
6 | YT_FILTER | Public | See coding | 20091030 | yt_filter type sorted table of ys_filter with unique key fieldname
|
||
7 | Y_EDITMASK | Public | See coding | 20100303 | y_editmask(60) type c
|
||
8 | Y_FIELDNAME | Public | Type reference (TYPE) | STRING | 20091105 |
|
|
9 | Y_IGNORING_CASE | Public | Type reference (TYPE) | CHAR1 | 20110325 |
|
|
10 | Y_OPTION | Public | Type reference (TYPE) | CHAR2 | 20091105 |
|
|
11 | Y_SIGN | Public | Type reference (TYPE) | CHAR1 | 20091105 |
|
|
12 | Y_STRATEGY | Public | Type reference (TYPE) | STRING | 20091107 |
|
|
13 | Y_VALUE | Public | Type reference (TYPE) | STRING | 20091031 |
|
|
14 | Y_VERSION | Public | Type reference (TYPE) | STRING | 20091123 |
|
Method Signatures
Method ADAPT_FILTER_RULE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IGNORING_CASE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091031 | |||
2 | Importing | PREFERRED_STRATEGY | Call by reference | Type reference (TYPE) | Y_STRATEGY | 20100312 | |||
3 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | |||
4 | Changing | T_FILTER | Call by reference | Type reference (TYPE) | YT_FILTER | 20091031 | |||
5 | Importing | T_INPUT | Call by reference | Type reference (TYPE) | TABLE | 20091125 |
Method ADAPT_FILTER_RULE on class CL_SALV_BS_FILTER has no exception.
Method ADAPT_SELOPT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20100303 | |||
2 | Changing | T_FILTER | Call by reference | Type reference (TYPE) | YT_FILTER | 20100303 |
Method ADAPT_SELOPT on class CL_SALV_BS_FILTER has no exception.
Method APPLY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IGNORING_CASE | Call by reference | Type reference (TYPE) | CL_SALV_BS_FILTER=>Y_IGNORING_CASE | C_IGNORING_CASE-ALWAYS | Charakterfeld der Länge 1 | 20070513 | |
2 | Importing | PREFERRED_STRATEGY | Call by reference | Type reference (TYPE) | Y_STRATEGY | C_FILTER_STRATEGY-DYNAMIC_WHERE | boolsche Variable (X=true, space=false) | 20091107 | |
3 | Changing | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | |||
4 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | |||
5 | Changing | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_FILTER=>YT_FILTER | 20051108 | |||
6 | Importing | T_INPUT | Call by reference | Type reference (TYPE) | TABLE | 20051108 | |||
7 | Exporting | T_ROW | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20051108 | ||
8 | Exporting | T_ROW_OUTSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20060720 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_FILTER_RULES | 20051108 |
Method APPLY_V10 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IGNORING_CASE | Call by reference | Type reference (TYPE) | SAP_BOOL | Charakterfeld der Länge 1 | 20091107 | ||
2 | Changing | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | |||
3 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091107 | |||
4 | Changing | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_FILTER=>YT_FILTER | 20091107 | |||
5 | Importing | T_INPUT | Call by reference | Type reference (TYPE) | TABLE | 20091107 | |||
6 | Exporting | T_ROW | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 | ||
7 | Exporting | T_ROW_OUTSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_FILTER_RULES | 20091107 |
Method APPLY_V20 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IGNORING_CASE | Call by reference | Type reference (TYPE) | SAP_BOOL | Charakterfeld der Länge 1 | 20091107 | ||
2 | Importing | PREFERRED_STRATEGY | Call by reference | Type reference (TYPE) | Y_STRATEGY | boolsche Variable (X=true, space=false) | 20091107 | ||
3 | Changing | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | |||
4 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091107 | |||
5 | Changing | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_FILTER=>YT_FILTER | 20091107 | |||
6 | Importing | T_INPUT | Call by reference | Type reference (TYPE) | TABLE | 20091107 | |||
7 | Exporting | T_ROW | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 | ||
8 | Exporting | T_ROW_OUTSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_FILTER_RULES | 20091107 |
Method CONVERT_SELOPT_TO_DYN_WHERE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CASE_SENSITIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100303 | |||
2 | Returning | FILTER_STRING | Value transfer | Type reference (TYPE) | STRING | 20100303 | |||
3 | Importing | ONLY_ONE_CRITERIA | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100329 | |||
4 | Importing | S_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>S_TYPE_FIELD | 20100303 | |||
5 | Importing | S_FILTER_RULE | Call by reference | Type reference (TYPE) | YS_FILTER | 20100303 | |||
6 | Importing | T_SELOPT | Call by reference | Type reference (TYPE) | T_TYPE_FILTER_SELOPT | 20100303 |
Method CONVERT_SELOPT_TO_DYN_WHERE on class CL_SALV_BS_FILTER has no exception.
Method DETERMINE_FILTER_STRATEGY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | |||
2 | Importing | T_FILTER_RULE | Call by reference | Type reference (TYPE) | YT_FILTER | 20091030 | |||
3 | Returning | VALUE | Value transfer | Type reference (TYPE) | STRING | 20091030 |
Method DETERMINE_FILTER_STRATEGY on class CL_SALV_BS_FILTER has no exception.
Method DO_STRATEGY_CLASSIC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IGNORING_CASE | Call by reference | Type reference (TYPE) | CHAR01 | Charakterfeld der Länge 1 | 20091030 | ||
2 | Importing | RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091030 | |||
3 | Changing | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | |||
4 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | |||
5 | Exporting | T_FILTER_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | ALV-Control: Filter Index | 20091030 | ||
6 | Exporting | T_FILTER_INDEX_INSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | ALV-Control: Filter Index | 20091030 | ||
7 | Importing | T_FILTER_RULE | Call by reference | Type reference (TYPE) | YT_FILTER | ALV-Control: Tabelle der Filterbedingungen | 20091030 |
Method DO_STRATEGY_CLASSIC on class CL_SALV_BS_FILTER has no exception.
Method DO_STRATEGY_DYNAMIC_WHERE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IGNORING_CASE | Call by reference | Type reference (TYPE) | CHAR01 | 20091030 | |||
2 | Importing | RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091030 | |||
3 | Changing | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | |||
4 | Importing | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | |||
5 | Exporting | T_FILTER_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | contract: always sorted by ROW_INDEX | 20091030 | ||
6 | Exporting | T_FILTER_INDEX_INSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | contract: always sorted by ROW_INDEX | 20091030 | ||
7 | Importing | T_FILTER_RULE | Call by reference | Type reference (TYPE) | YT_FILTER | 20091030 |
Method DO_STRATEGY_DYNAMIC_WHERE on class CL_SALV_BS_FILTER has no exception.
Method GET_SINGLE_FILTER_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CASE_SENSITIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091106 | |||
2 | Exporting | FILTER_STRING | Call by reference | Type reference (TYPE) | STRING | 20091106 | |||
3 | Importing | S_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>S_TYPE_FIELD | 20091106 | |||
4 | Changing | S_SELOPT | Call by reference | Type reference (TYPE) | S_TYPE_FILTER_SELOPT | 20091106 |
Method GET_SINGLE_FILTER_STRING on class CL_SALV_BS_FILTER has no exception.
Method GET_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | VALUE | Value transfer | Type reference (TYPE) | Y_VERSION | 20091122 |
Method GET_VERSION on class CL_SALV_BS_FILTER has no exception.
Method IS_CONV_EXIT_APPLICABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CONV_EXIT_NAME | Call by reference | Type reference (TYPE) | CONVEXIT | Konvertierungsroutine | 20120808 | ||
2 | Importing | HIGH_REQUIRED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120808 | ||
3 | Exporting | IS_APPLICABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120808 | |||
4 | Importing | S_SELOPT | Call by reference | Type reference (TYPE) | S_TYPE_FILTER_SELOPT | ALV-Control: Filterstruktur | 20120808 | ||
5 | Exporting | V2INPUT | Call by reference | Type reference (TYPE) | LVC_VALUE | ALV-Control: Zelleninhalt | 20120808 | ||
6 | Exporting | V2OUTPUT | Call by reference | Type reference (TYPE) | LVC_VALUE | ALV-Control: Zelleninhalt | 20120808 |
Method IS_CONV_EXIT_APPLICABLE on class CL_SALV_BS_FILTER has no exception.
Method IS_NUMERIC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | FIELD | Value transfer | Type reference (TYPE) | STRING | 20100211 | |||
2 | Importing | INTTYPE | Call by reference | Type reference (TYPE) | INTTYPE | ABAP-Datentyp (C,D,N,...) | 20100211 | ||
3 | Returning | VALUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100211 |
Method IS_NUMERIC on class CL_SALV_BS_FILTER has no exception.
Method SET_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | VALUE | Value transfer | Type reference (TYPE) | Y_VERSION | 20091123 |
Method SET_VERSION on class CL_SALV_BS_FILTER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 710 |