Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

"option" in select-options

Former Member
0 Kudos

what are the different <b>OPTION</b> used in select-options......plz can u give the full forms of those options......

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Option of type c and length 2. 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 special rules apply for entries on the selection screen.

Are u looking for screen options/Value options by any chance? Hope I got ur question right.

Rgds,

Naren

Message was edited by:

Somen

7 REPLIES 7

Former Member
0 Kudos

Option of type c and length 2. 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 special rules apply for entries on the selection screen.

Are u looking for screen options/Value options by any chance? Hope I got ur question right.

Rgds,

Naren

Message was edited by:

Somen

0 Kudos

thank u dude solved my prob...

Former Member
0 Kudos

I dont understand what exactly your request is for?

However if you want the different options u can use on selection scree,

Most commonly used - select-options,

parameters, check box, radio button.

Hope this is what u execpted.

Shreekant

former_member191977
Contributor
0 Kudos

in your SE38 Editor type select-options and place the cursor on it and hit F1. You will get the help on it and you can read everything about the select-options.

award points if it helps.

Former Member
0 Kudos

OPTION is used to mention any logical condition likeEQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP etc.

Regards

Ravi

0 Kudos

thank u dude u solved my prob

Former Member
0 Kudos

hi,

<b>select-options.</b> Unlike parameters that are declared as elementary variables in ABAP programs, selection criteria are based on special internal tables, called selection tables.

To define a selection criterion, you must declare a selection table in the declaration part using the SELECT-OPTIONS statement You use the statement SELECT-OPTIONS <seltab> for <f>.

<b>The row type of a selection table is a structure that consists of the following four components: SIGN, OPTION, LOW and HIGH.</b>

Each row of a selection table that contains values represents a sub-condition for the complete selection criterion.

Description of the individual components: SIGN ' The data type of SIGN is C with length 1. The contents of SIGN determine for each row whether the result of the row condition is to be included in or excluded from the resulting set of all rows.

<b>OPTION The data type of OPTION is C with length 2. OPTION contains the selection operator</b>.

<b> The following operators are available If HIGH is empty, you can use EQ, NE, GT, LE, LT,CP, and NP. These operators are the same as those that are used for logical expressions.</b>

<b>If HIGH is filled, you can use BT (BeTween) and NB (Not Between).</b>

LOW The data type of LOW is the same as the column type of the database table, to which the selection criterion is linked.

HIGH The data type of HIGH is the same as the column type of the database table, to which the selection criterion is linked. The contents of HIGH specify the upper limit for a range selection.

To assign default values to a selection criterion, you use the following syntax: SELECT-OPTIONS <seltab> FOR <f> DEFAULT <g> [TO <h>] ....

To allow the user to process only the first row of the selection table on the selection screen, you use the following syntax SELECT-OPTIONS <seltab> FOR <f> ..... NO-EXTENSION .....

To allow the user to process only single fields on the selection screen, you use the following syntax: SELECT-OPTIONS <seltab> FOR <f> ..... NO INTERVALS .....

SPA/GPA parameters as default values SELECT-OPTIONS <seltab> FOR <f> ... MEMORY ID <pid>..........

Upper and lower case for selection criteria: SELECT-OPTIONS <seltab> FOR <f> ... LOWER CASE ..............

To make the From field a required field on the selection screen, use: SELECT-OPTIONS <selcrit> FOR <f> ... OBLIGATORY ..............

To hide input fields on the selection screen, use: SELECT-OPTIONS <selcrit> FOR <f> ... NO DISPLAY ..............

To modify input fields on the selection screen, use: SELECT-OPTIONS <selcrit> FOR <f> ... MODIF ID

regards,

Ashokreddy.