SAP ABAP Data Element RALDB_OPTI_F4 (OPTION Field in Structure of SELECT-OPTIONS Tables)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-TO (Application Component) Logical DB, Selection Screens, Selection Variants
     SLDBV (Package) Selection Screens, Variants, Logical Databases
Basic Data
Data Element RALDB_OPTI_F4
Short Description OPTION Field in Structure of SELECT-OPTIONS Tables  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type RALDB_OPTI_F4    
Data Type CHAR   Character String 
Length 2    
Decimal Places 0    
Output Length 2    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Option 
Medium 15 Option 
Long 20 Option 
Heading 55 Option 
Documentation

Definition

With the operators in this field, you specify whether the entered values are to be used as a single value, range, or search string for limiting data selection. The operators work together with the fields Lower Limit (From) and Upper Limit (To) as well as the inclusion/exclusion criteria (I/E).

The following operators are available:

EQ    Equal
BT    BeTween
LE    Less than or Equal
GE    Greater than or Equal
CP    Contains Pattern

EQ

Selection of a single value. The value selected is the one you entered.

Example:

MEIER    __    EQ    _
Returns the value MEIER.
(Underscores symbolize empty input fields.)

BT

The values specified as the upper and lower limits are interpreted as the range.

Example:

1000    2000    BT    _
Returns all values between 1000 and 2000.

LE

The value specified as the lower limit is interpreted as the upper limit of an open-ended, lower value range. The limit itself is also included.

Example:

1000    _    LE    _
Returns all values smaller than or equal to 1000.

GE

The value specified as the lower limit is interpreted as the lower limit of an open-ended, higher value range. The limit itself is also included.

Example:

1000    _    _GE    _
Returns all values greater than or equal to 1000.

CP

The value entered in the Lower Limit field is hidden. Here:
"+"    represents a single character
"*"    represents any number of characters, even none

Example:

M++ER*    _    CP    _
Returns all values that start with "M", contain the letters "ER" after two other characters, and end with any character string.

If you use the characters "*" and "+" together with another operator, they are not interpreted as placeholders, but actually represent themselves.

Example:

a*c    _    EQ    I
Returns a*c.

Note

When you first make an entry in the fields "Lower Limit" and "Upper Limit", the system sets the relevant operator automatically if none is entered.

Example:

1000    _    _    _

3000    5000    _    _

MEI*    _    _    _

5000    _    GE    _

After choosing ENTER, this becomes:

1000    _    EQ    _

3000    5000    BT    _
MEI*    _    CP    _
5000    _    GE    _
If you change the lower limit, upper limit, or operator values after choosing ENTER, you must specify the relevant operator yourself. The same applies if you enter default values for these fields via the program.

History
Last changed by/on SAP  20050115 
SAP Release Created in 700