‎2008 May 22 9:17 AM
In the select option I will give the range 1000 to 2000, I donu2019t want to print 500 to 600 how we will handle?
‎2008 May 22 9:20 AM
Hi,
pass the parameters to
SIGN, OPTION, LOW, HIGH....in the INITIALIZATION.....it may help u out.
Reward if helpful.
Thanks.
‎2008 May 22 9:21 AM
In the select-option screen (when you hit F4), you have exclude values tab with the RED round icons. Fill in your exclude values here and then execute the program.
The select statement will automatically handle the values in select-options. (use select f1 f2 f3...from table into table itab1 where fld1 IN s_selection.)
hope this helps
FY
‎2008 May 22 9:24 AM
If UR passing values to select option then ..
SO_sign = "E'
SO_option = 'BT'.
SO_low = 500
SO_high = 600.
Use this in select statement ...
‎2008 May 22 9:25 AM
while so-low < = so_high.
if not so-low >=500 and so-low <=600.
write so-low.
skip 1.
endif.
add 1 to so-low.
endwhile.
‎2008 May 22 9:26 AM
Hi,
SO_sign = 'I'
SO_option = 'BT'.
SO_low = 1000
SO_high = 2000.
append so_high
500 & 600 are excluded
clear so_high.
SO_sign = 'E'
SO_option = 'EQ'.
SO_low = 500
append so_high
SO_sign = 'E'
SO_option = 'EQ'.
SO_low = 600
append so_high
‎2008 May 22 9:33 AM
Hi ,
Hope this will help you.
Once excute your program, In selection screen you can find Extention tab. in there select interval tab and give the ranges( what you want retrieve and print records) and again select the Exclude interval tab and give the ranges ( what dont want retrieve and print records).
Regards,
Vishvesh