‎2007 Jul 27 12:15 PM
‎2007 Jul 27 12:17 PM
Hi
When you declare a select-options field by default it creates a selection tablwe (like internal table) with the 4 fields SIGN,OPTION,HIGH and LOW
so its memory is say roughly around 8 KB
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 27 12:20 PM
The statement SELECT-OPTIONS has the following effect:
The statement declares a selection table in the program with the name selcrit. A selection table is an internal standard table with header line and standard key. In selection tables, you can save multiple logical conditions . The content of selection screens can be analyzed in a logical expression and in the expression of a WHERE-condition in Open SQL. Selection tables have the following four columns:
<b>sign of type c and length 1</b>. The content of sign determines for every row whether the result of the condition formulated in the column is included or excluded in the entire resulting set for all rows. Evaluable values are "I" for include and "E" for exclude.
<b>option of type c and length 2</b>. option contains the selection option for the condition of the row in form of logical operators. Analyzable operators are "EQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP" if column high is initial, and "BT", "NB" if column high is not initial. With the options "CP" and "NP", the data type of the columns low and high must be of the data type c, and low must contain at least one wildcard character "" or "*", in which "" masks a single character and "*" a user-defined, even empty, character chain.
<b>low of the data type defined after FOR.</b> This column is designated for the comparison value or the lower interval limitation.
<b>high of the data type defined after FOR</b>. This column is designated for the upper interval limitation.
<b>In addition, select-option is an internal table, so this select-option occupies the amount of size an Internal table occupies.It's around 8KB.</b>
Hope this helps you....
Regards,
Pavan