PLease check select-options-vs-ranges
some times during codeing u might get a req where u need to select some set, in such cases u can just build a range there and say XXX in Range R1.
RANGES have to be declared when you want to put IF condition against a group of records.
suppose you wanna say IF a = 3 or a = 5 or a = 7 or a =11
you can do
ranges xxx for XXX
xxx-sign = 'I'
xxx-option = 'EQ'
xxx-low = 3
append xxx
xxx-sign = 'I'
xxx-option = 'EQ'
xxx-low = 5
append xxx
xxx-sign = 'I'
xxx-option = 'EQ'
xxx-low = 7
append xxx
xxx-sign = 'I'
xxx-option = 'EQ'
xxx-low = 11
append xxx
IF a IN xxx.
logic
ENDIF.
Add a comment