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: 

Reg: select-option

Former Member
0 Kudos

Hi,

can anyone explain me the internal format of the select-option...

Thanks in advance..

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

internally select-options will create an internal table with the name of the select-options and fields are LOW,HIGH,OPTION,SIGN.

see this link for more help.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/content.htm

rgds,

bharat.

5 REPLIES 5

Former Member
0 Kudos

Just do F1 on SELECT-OPTIONS and you will get the detailed help.

Regards,

Atish

Former Member
0 Kudos

Hi,

internally select-options will create an internal table with the name of the select-options and fields are LOW,HIGH,OPTION,SIGN.

see this link for more help.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/content.htm

rgds,

bharat.

Former Member
0 Kudos

Select is used for entering the values as ranges on the selection screen.

ABAP maintains this select-option as a internal table which has the fields along with header line:

Sign

opion

low and high.

so u can assign the values of the fields in the initialization.

sign indicates- Excluding or including ('E' or 'I').

Option indicates: EQ NE LT GT GE LE

low - lower value

High - higher value

reward me if useful.

mohammed_moqeeth
Active Participant
0 Kudos

Hi Raj,

Select-options are just like internal tables. they are used to give user a multi selection option.

<b>Example:

tables: sflight.

select-options: carrid for sflight-CARRID.</b>

<b>select-option have.</b>

LOW : lower range limit

HIGH : high range limit

SIGN : operator used like =, <> , <= , >=.

OPTION : I = inclulde, E = exclude.

following are the addition for it.

SELECT-OPTIONS sel FOR f.

1. ... DEFAULT g

2. ... DEFAULT g ... OPTION xx ... SIGN s

3. ... DEFAULT g TO h

4. ... DEFAULT g TO h ... OPTION op ... SIGN s

5. ... MEMORY ID pid

6. ... MATCHCODE OBJECT mobj

7. MODIF ID key

8. ... NO-DISPLAY

9. ... LOWER CASE

10. ... OBLIGATORY

11. ... NO-EXTENSION

12. ... NO INTERVALS

13. ... NO DATABASE SELECTION

14. ... VALUE-REQUEST

15. ... VALUE-REQUEST FOR LOW/HIGH

16. ... HELP-REQUEST

17. ... HELP-REQUEST FOR LOW/HIGH

18. ... VISIBLE LENGTH vlen

<b>Reward points... if you feel helpful,

Cheers !

Moqeeth.</b>

Former Member
0 Kudos

Hi ,

select-options : matnr for mara-matnr .

this select-potions is act like internal table holds the contents like ,

-option,

-sing ,

-low,

-high .

we can fil internal table by values .