Skip to Content
1
Former Member
Jul 23, 2007 at 01:10 PM

Ranges Table

57 Views

Hi,

Can i use range table in IF logical expression.

Example,

data: r_persk for p0001-persk.

intialization.

r_persk-sign = 'I'.

r_persk-option = 'EQ'.

r_persk-low = 'DU'.

APPEND r_persk.

r_persk-low = 'DS'.

APPEND r_persk.

r_persk-low = 'DT'.

APPEND r_persk.

Start-of-selection.

If p0001-persk in r_persk.

......

.......

.......

endif.

<b>Is the above logic is equal to the logic below</b>

If p0001-persk = 'DU' or p0001-persk = 'DS' or p0001-persk = 'DT'

.....

.....

.....

Endif.

I have checked but both are not giving same results, the first logic is not working.

Kindly help

Regards,

Kasi S