‎2007 May 08 10:41 AM
How I will gove select-option so it should show the intervals.
‎2007 May 08 10:43 AM
tables: vbak.
Select-options S_vbeln for vbak-vbeln. " with intervals
select-options s_vbeln for vbak-vbeln no-intervals. " no intervals
santhosh
‎2007 May 08 10:44 AM
select-option : s_matnr for mara-matnr.
thats it.
Regards
Prabhu
‎2007 May 08 11:29 AM
hai
for ex:
tables:mara
select-options: s_matnr for mara-matnr.
then u can get range for matnr value
if helpful regard some points.
with regards,
suresh babu
‎2007 May 08 10:45 AM
tables: mara.
select-options: s_matnr for mara-matnr.
thts all.It automatically gives the interval.
‎2007 May 08 10:45 AM
Hi,
create select optios like
select-options i_matnr for mara-matnr.
in the selection screen output u can see ->(arrow ) symbol.click on that.there u can see give the intervals.
rgds,
bharat.
‎2007 May 08 10:46 AM
Simply as you give give in your report programming with no additions that you can use in select options.
Regards,
Jayant
‎2007 May 08 10:46 AM
‎2007 May 08 10:46 AM
Hi
By default you will get intervals no there is no need to give any separate command.
Regards
Haritha.
‎2007 May 08 10:55 AM
Actually select option is used to select from 2 intervals ,by default it will appear with intervals ,suppose if u dont want to have intervals ,u can use the options 'no-interval'.
now i think u can understand ...
Regards,
lakshman.
‎2007 May 08 10:58 AM
Hi, Use
tables: mara.
select-options: s_matnr for mara-matnr.
Thanks
Sandeep
‎2007 May 08 11:02 AM
hi abhay,
if ur question is how to give select options.. then hope u got the ans by now.. if ur question is in how many different types we can give it..then..
1) select-options matnr for mara-matnr . is displays to enter a range of values..
2) select-options matnr for mara-matnr no intervals.. is doesn`t give intervals, u can enter only one value..
3) select-options matnr for mara-matnr no extension.. it will not show any extensions..
4) select-options matnr for mara-matnr obligatory.. mean it is compalsary.
regards,
‎2007 May 08 11:09 AM
hi friend,
data : v_matnr type mara-matnr.
select-options : s_matrn for v_matnr.
select-options this stat. itself gives ranges for selection criteria,
as we know that this stat. has internal table with four fields
1)sign 2)option 3)low 4)high
select-options : s_matnr for v_matnr no intervals no-extension.
no intervals looks like as parameters stat. as single input.
no-extension avoids the multiple selection.
regards,
poorna.
‎2007 May 08 11:23 AM
hi
good
use FOR statement while declaraing the select statement.
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/select_o.htm
thanks
mrutyun^
‎2007 May 08 11:40 AM
selection-screen : begin of block blk1 with frame title text-001.
select-options : s_matnr for mara-matnr.
selection-screen : end ofblock blk1.
if u want to declare range in the progarm itself.
declare ranges.
ranges : r_matnr for mara-matnr.
r_matnr-sign = 'I'.
r_matnr-options = 'BT'.
r_matnr-high = '0002345'.
r_matnr-low = '000123'.
append r_matnr.
reward with points if helpful.