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
418

Hi all

I have a select-options like this

Select-options: number for num.

Where Num is type i.

I will give the range 1 to 10.

My requirement is output should be display Like this 1 2 3 4 5 6 7 8 9 10 .

How to do this.

Regards

prajwal.k

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
395

Hi friend,

try the following simple code,

Report ZSUJOY.

data : temp type num.

select-options : number for num.

temp = number-low.

do number-high times.

if temp LE number-high.

write : temp .

temp = temp + 1.

endif.

enddo.

I think it will definitely solve your problem.

Regards,

Sujoy

3 REPLIES 3
Read only

Former Member
0 Likes
395

HI Prajwal,

Just refer to any table field which is of type I.

Have you written some code? If there is any error will correct it.

Regards,

Atish

Read only

Former Member
0 Likes
396

Hi friend,

try the following simple code,

Report ZSUJOY.

data : temp type num.

select-options : number for num.

temp = number-low.

do number-high times.

if temp LE number-high.

write : temp .

temp = temp + 1.

endif.

enddo.

I think it will definitely solve your problem.

Regards,

Sujoy

Read only

Former Member
0 Likes
395

Select option variables can be used as internal table.

Loop at number.

write: number-low.

endloop.

Regards,

Amit