2007 Nov 04 7:56 AM
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
2007 Nov 04 8:51 AM
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
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
2007 Nov 04 8:17 AM
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
2007 Nov 04 8:51 AM
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
2007 Nov 04 9:03 AM
Select option variables can be used as internal table.
Loop at number.
write: number-low.
endloop.
Regards,
Amit
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |