07-03-2007 4:56 AM
Hi,
can anyone explain me the internal format of the select-option...
Thanks in advance..
07-03-2007 4:58 AM
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.
07-03-2007 4:58 AM
Just do F1 on SELECT-OPTIONS and you will get the detailed help.
Regards,
Atish
07-03-2007 4:58 AM
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.
07-03-2007 5:00 AM
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.
07-03-2007 5:00 AM
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>
07-03-2007 7:21 AM
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 .