Doubt on SELECT-OPTION... Urgent Please..............

Question: Hi Abapers,

I want to give two default values to select-option one is VI and other is RE.
It’s not the rage. Only two default values.
Please tell me how to do this?
Thanks.

Answer:
If select-option is named "SO", then:

SO-SIGN = 'I'.
SO-OPTION = 'EQ'.
SO-LOW = 'VI'.
APPEND SO.
SO-SIGN = 'I'.
SO-OPTION = 'EQ'.
SO-LOW = 'RE'.
APPEND SO.

Good luck,
Smurf

Answer:
Hi

The above code works good

but it should be write under 'INITIALIZATION' event...

ThanX
Gopal

Answer:
It's working as I require.

If select-option is named "SO", then:

SO-SIGN = 'I'.
SO-OPTION = 'EQ'.
SO-LOW = 'VI'.
APPEND SO.
SO-SIGN = 'I'.
SO-OPTION = 'EQ'.
SO-LOW = 'RE'.
APPEND SO.

Good luck,
Smurf

Answer:
Here is the code......
which i think you want...

Here is the code......
which i think you want...


SELECT-OPTIONS SO FOR WA_SPFLI-CARRID
               DEFAULT 'VI'
                    TO 'RE'
                OPTION  EQ
                  SIGN  I.



Sri

Answer:
I think only BETWEEN and NOTBETWEEN is valid options for above code.
EQ won't take in slect-options.
Copyright ?2007 - 2008 www.jt77.com