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

Doubt in Select - options ?

Former Member
0 Likes
559

Hi Friends,

I have a doubt in select-options

I want to add some range of numbers say 1 - 100 ... so can i give that as a select - options ....

something like SELECT-OPTIONS : P_NOS LIKE I ?? or how should i do that...??

Expecting your answers!

Thanks in advance !

Cheers

R.Kripa.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
532

Hi kripa,

1. simple

2.

report abc.

DATA : M TYPE I.

<b>select-options : MYNUM FOR M DEFAULT 1 TO 100.</b>

regards,

amit m.

Hi Friends,

I have a doubt in select-options

I want to add some range of numbers say 1 - 100 ... so can i give that as a select - options ....

something like SELECT-OPTIONS : P_NOS LIKE I ?? or how should i do that...??

Expecting your answers!

Thanks in advance !

Cheers

R.Kripa.

4 REPLIES 4
Read only

Former Member
0 Likes
533

Hi kripa,

1. simple

2.

report abc.

DATA : M TYPE I.

<b>select-options : MYNUM FOR M DEFAULT 1 TO 100.</b>

regards,

amit m.

Read only

Former Member
0 Likes
532

Hello,

U can try like this.

Select-options: s_num for sy-tabix.

Reward points.

Regards,

Vasanth

Read only

Former Member
0 Likes
532

Hi,

You can do this...with Defaukt option even for select options also.

<b>v_i of type i.

select-options : num FOR v_i default 1 to 100.</b>

regards

vijay

Read only

Former Member
0 Likes
532

Hi Kripa,

REPORT Zxyx.

data: V TYPE I.

select-options : NUM FOR V default 1 to 100.

OR IF U DONT' NEED DEFAULT VALUES

data: V TYPE I.

select-options : S_NUM FOR V.

If this works out reward me points.

Regards,

Harini