‎2007 Jul 06 7:01 AM
Hi Gurus,
How to disable the 2nd field of the select-options. Actually What i mean is every select-options two input fields such low and high. I want to disable the high field only... How to do this....?
Thanks in Adv,
Reg,
<b>Suresh. V</b>
‎2007 Jul 06 7:05 AM
Hi
select-options: s_kunnr for kna1-kunnr no-extension no intervals
NO INTERVALS will not display the HIGH field
or use the
LOOP AT screen.
if screen-name1 = 'S_KUNNR-HIGH'.
screen-input = 0.
endif.
modify screen.
endloop.
<b>
Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 06 7:03 AM
SELECT-OPTIONS <NAME> FOR <WORKAREA> NO-INTERVALS.
Use the addition NO-INTERVALS.
Regards,
Pavan P.
‎2007 Jul 06 7:07 AM
Hi Pavan...
Thanks for your instant response..... if i want to disable dynamically means wat to do....
i rewarded you for very helpful answer....
Reg,
<b>Suresh.V</b>
‎2007 Jul 06 7:05 AM
Hi
select-options: s_kunnr for kna1-kunnr no-extension no intervals
NO INTERVALS will not display the HIGH field
or use the
LOOP AT screen.
if screen-name1 = 'S_KUNNR-HIGH'.
screen-input = 0.
endif.
modify screen.
endloop.
<b>
Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 06 7:05 AM
Hi Suresh
You have to give screen-active = 0 check this sample code
PARAMETERS: ONE RADIOBUTTON GROUP R1 default 'X'
user-command rusr,
ALL RADIOBUTTON GROUP R1,
USER LIKE USR02-BNAME DEFAULT SY-UNAME
modif id Z1.
at selection-screen output.
if ALL = 'X'.
loop at screen.
if screen-group1 = 'Z1'.
screen-active = 0.
modify screen.
endif.
endloop.
else.
loop at screen.
if screen-group1 = 'Z1'.
screen-active = 1.
modify screen.
endif.
endloop.
endif.
Reward all helpfull answers
REgards
Pavan
‎2007 Jul 06 7:06 AM
Hi,
Use No Extension with select options
Regards
Nandha
Reward if it helps
‎2007 Jul 06 7:07 AM
Example
DATA spfli_wa TYPE spfli.
SELECT-OPTIONS s_carrid FOR spfli_wa-carrid NO-EXTENSION
NO INTERVALS.reward points if it is usefull..
Girish
‎2007 Jul 06 7:09 AM
The statement <b>SELECT-OPTIONS</b> has the following effect:
The statement declares a selection table in the program with the name selcrit. A selection table is an internal standard table with header line and standard key. In selection tables, you can save multiple logical conditions. The content of selection screens can be analyzed in a logical expression and in the expression of a WHERE-condition in Open SQL. Selection tables have the following four columns:
sign of type c and length 1. The content of sign determines for every row whether the result of the condition formulated in the column is included or excluded in the entire resulting set for all rows. Evaluable values are "I" for include and "E" for exclude.
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.
low of the data type defined after FOR. This column is designated for the comparison value or the lower interval limitation.
high of the data type defined after FOR. This column is designated for the upper interval limitation.
<b>... NO-EXTENSION</b>
<b>Effect</b>
If you specify this addition, the pushbutton for multiple selection is not created on the selection screen.
<b>... NO INTERVALS</b>
<b>Effect</b>
If you specify this addition, the second input screen is not created on the selection screen.
reward points if it is usefull ..
Girish
‎2007 Jul 06 7:10 AM
Hi to All,
Really amazing.... how many responses within a minute.... Really thanks to all.....
My question is answered by Anji Reddy....
I rewarded points to all of you....
Reg,
<b>Suresh. V</b>
‎2007 Jul 06 7:13 AM
Hi Suresh,
Use this statement inorder to disable high value........
SELECT-OPTIONS : p_date for sy-datum NO INTERVALS.
Regards
Suganya.D
Message was edited by:
Suganya D
‎2007 Jul 06 7:30 AM
you have two option for that.
1.
select-options: matnr for itab-matnr.
at selection-screen output.
loop at screen.
if screen-name = 'fMATNR-HIGH' .
screen-active = 0.
modify screen.
endif.
endloop
2.
select-options: matnr for itab-matnr no- extension.
‎2007 Dec 06 12:25 PM
Guyz,
Can any one of you pls let me know how to disable ranges option in mulitple selection button of a select-option.
I mean I need mulitple selection button, but I want to enter only single values. Dont want to enter ranges.
Regards,
Rajesh