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
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 5 | 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 | Constant | Public | See coding | 20091107 | |||||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'V01' | 20091102 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'V10' | 20091102 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'V20' | 20091102 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'V21' | 20091122 | |||
| 6 | Constant | Public | See coding | 20110325 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | 20091031 | ||
| 2 | Static method | Private | Method | 20100303 | ||
| 3 | Static method | Public | Method | 20051108 | ||
| 4 | Static method | Private | Method | 20091107 | ||
| 5 | Static method | Private | Method | 20091107 | ||
| 6 | Static method | Private | Method | 20100303 | ||
| 7 | Static method | Private | Method | 20091030 | ||
| 8 | Static method | Private | Method | 20091030 | ||
| 9 | Static method | Private | Method | 20091030 | ||
| 10 | Static method | Private | Method | 20091106 | ||
| 11 | Static method | Public | Method | Get Filter Version | 20091122 | |
| 12 | Static method | Protected | Method | 20120808 | ||
| 13 | Static method | Public | Method | Checks Numerically for Transferred Type | 20100211 | |
| 14 | 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 | IGNORING_CASE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091031 | ||||
| 2 | PREFERRED_STRATEGY | Call by reference | Type reference (TYPE) | Y_STRATEGY | 20100312 | ||||
| 3 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | ||||
| 4 | T_FILTER | Call by reference | Type reference (TYPE) | YT_FILTER | 20091031 | ||||
| 5 | 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 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20100303 | ||||
| 2 | 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 | 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 | PREFERRED_STRATEGY | Call by reference | Type reference (TYPE) | Y_STRATEGY | C_FILTER_STRATEGY-DYNAMIC_WHERE | boolsche Variable (X=true, space=false) | 20091107 | ||
| 3 | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | ||||
| 4 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | ||||
| 5 | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_FILTER=>YT_FILTER | 20051108 | ||||
| 6 | T_INPUT | Call by reference | Type reference (TYPE) | TABLE | 20051108 | ||||
| 7 | T_ROW | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20051108 | |||
| 8 | T_ROW_OUTSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20060720 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20051108 |
Method APPLY_V10 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IGNORING_CASE | Call by reference | Type reference (TYPE) | SAP_BOOL | Charakterfeld der Länge 1 | 20091107 | |||
| 2 | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | ||||
| 3 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091107 | ||||
| 4 | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_FILTER=>YT_FILTER | 20091107 | ||||
| 5 | T_INPUT | Call by reference | Type reference (TYPE) | TABLE | 20091107 | ||||
| 6 | T_ROW | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 | |||
| 7 | T_ROW_OUTSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091107 |
Method APPLY_V20 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IGNORING_CASE | Call by reference | Type reference (TYPE) | SAP_BOOL | Charakterfeld der Länge 1 | 20091107 | |||
| 2 | PREFERRED_STRATEGY | Call by reference | Type reference (TYPE) | Y_STRATEGY | boolsche Variable (X=true, space=false) | 20091107 | |||
| 3 | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | ||||
| 4 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091107 | ||||
| 5 | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_FILTER=>YT_FILTER | 20091107 | ||||
| 6 | T_INPUT | Call by reference | Type reference (TYPE) | TABLE | 20091107 | ||||
| 7 | T_ROW | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 | |||
| 8 | T_ROW_OUTSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20091107 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091107 |
Method CONVERT_SELOPT_TO_DYN_WHERE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CASE_SENSITIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100303 | ||||
| 2 | FILTER_STRING | Value transfer | Type reference (TYPE) | STRING | 20100303 | ||||
| 3 | ONLY_ONE_CRITERIA | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100329 | ||||
| 4 | S_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>S_TYPE_FIELD | 20100303 | ||||
| 5 | S_FILTER_RULE | Call by reference | Type reference (TYPE) | YS_FILTER | 20100303 | ||||
| 6 | 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 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | ||||
| 2 | T_FILTER_RULE | Call by reference | Type reference (TYPE) | YT_FILTER | 20091030 | ||||
| 3 | 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 | IGNORING_CASE | Call by reference | Type reference (TYPE) | CHAR01 | Charakterfeld der Länge 1 | 20091030 | |||
| 2 | RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091030 | ||||
| 3 | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | ||||
| 4 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | ||||
| 5 | T_FILTER_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | ALV-Control: Filter Index | 20091030 | |||
| 6 | T_FILTER_INDEX_INSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | ALV-Control: Filter Index | 20091030 | |||
| 7 | 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 | IGNORING_CASE | Call by reference | Type reference (TYPE) | CHAR01 | 20091030 | ||||
| 2 | RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091030 | ||||
| 3 | R_LOG | Call by reference | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | 20100226 | ||||
| 4 | T_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_FIELD | 20091101 | ||||
| 5 | T_FILTER_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | contract: always sorted by ROW_INDEX | 20091030 | |||
| 6 | T_FILTER_INDEX_INSIDE | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | contract: always sorted by ROW_INDEX | 20091030 | |||
| 7 | 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 | CASE_SENSITIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091106 | ||||
| 2 | FILTER_STRING | Call by reference | Type reference (TYPE) | STRING | 20091106 | ||||
| 3 | S_FIELD | Call by reference | Type reference (TYPE) | IF_SALV_BS=>S_TYPE_FIELD | 20091106 | ||||
| 4 | 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 | 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 | CONV_EXIT_NAME | Call by reference | Type reference (TYPE) | CONVEXIT | Konvertierungsroutine | 20120808 | |||
| 2 | HIGH_REQUIRED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120808 | |||
| 3 | IS_APPLICABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120808 | ||||
| 4 | S_SELOPT | Call by reference | Type reference (TYPE) | S_TYPE_FILTER_SELOPT | ALV-Control: Filterstruktur | 20120808 | |||
| 5 | V2INPUT | Call by reference | Type reference (TYPE) | LVC_VALUE | ALV-Control: Zelleninhalt | 20120808 | |||
| 6 | 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 | FIELD | Value transfer | Type reference (TYPE) | STRING | 20100211 | ||||
| 2 | INTTYPE | Call by reference | Type reference (TYPE) | INTTYPE | ABAP-Datentyp (C,D,N,...) | 20100211 | |||
| 3 | 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 | 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 |