Application Development and Automation 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: 
Read only

select-options

Former Member
0 Likes
1,216

How I will gove select-option so it should show the intervals.

14 REPLIES 14
Read only

Former Member
0 Likes
1,195

tables: vbak.

Select-options S_vbeln for vbak-vbeln. " with intervals

select-options s_vbeln for vbak-vbeln no-intervals. " no intervals

santhosh

Read only

Former Member
0 Likes
1,195

select-option : s_matnr for mara-matnr.

thats it.

Regards

Prabhu

Read only

0 Likes
1,195

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

Read only

Former Member
0 Likes
1,195

tables: mara.

select-options: s_matnr for mara-matnr.

thts all.It automatically gives the interval.

Read only

Former Member
0 Likes
1,195

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.

Read only

Former Member
0 Likes
1,195

Simply as you give give in your report programming with no additions that you can use in select options.

Regards,

Jayant

Read only

former_member404244
Active Contributor
0 Likes
1,195

Hi,

select-options : s_ebeln for ekko-ebeln.

Regards,

nagaraj

Read only

Former Member
0 Likes
1,195

Hi

By default you will get intervals no there is no need to give any separate command.

Regards

Haritha.

Read only

Former Member
0 Likes
1,195

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.

Read only

Former Member
0 Likes
1,195

Hi, Use

tables: mara.

select-options: s_matnr for mara-matnr.

Thanks

Sandeep

Read only

Former Member
0 Likes
1,195

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,

Read only

Former Member
0 Likes
1,195

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.

Read only

Former Member
0 Likes
1,195

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^

Read only

Former Member
0 Likes
1,195

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.