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
637

In the select option I will give the range 1000 to 2000, I donu2019t want to print 500 to 600 how we will handle?

6 REPLIES 6
Read only

Former Member
0 Likes
619

Hi,

pass the parameters to

SIGN, OPTION, LOW, HIGH....in the INITIALIZATION.....it may help u out.

Reward if helpful.

Thanks.

Read only

former_member226999
Contributor
0 Likes
619

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

Read only

Former Member
0 Likes
619

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 ...

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
619

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.

Read only

Former Member
0 Likes
619

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

Read only

Former Member
0 Likes
619

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