Skip to Content
0
Former Member
Mar 28, 2006 at 01:33 AM

case with a select-options

355 Views

hi,

How do I use the CASE statement when the variable is a range (so_mes).

so_mes is defined like a select-options.

i have the next code.

case so_mes-low.

when '01'.

move dobli-wtp01 to oejer.

when '02'.

move dobli-wtp02 to oejer.

when '03'.

move dobli-wtp03 to oejer.

when '04'.

move dobli-wtp04 to oejer.

when '05'.

move dobli-wtp05 to oejer.

when '06'.

move dobli-wtp06 to oejer.

when '07'.

move dobli-wtp07 to oejer.

when '08'.

move dobli-wtp08 to oejer.

when '09'.

move dobli-wtp09 to oejer.

when '10'.

move dobli-wtp10 to oejer.

when '11'.

move dobli-wtp11 to oejer.

when '12'.

move dobli-wtp12 to oejer.

in this case only take the low value. How can I asigned the the high value in the statement CASE?.