Skip to Content
author's profile photo Former Member
Former Member

"option" in select-options

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 04:20 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 04:22 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 04:21 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 04:22 PM

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

    Regards

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 04:26 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.