Beispiel 1
DATA: gv_num TYPE i.
SELECT-OPTIONS: p_num FOR gv_num.
INITIALIZATION.
* Zahlenwerte 3 und 9
p_num[] = VALUE #( ( sign = 'I' option = 'EQ' low = 3 )
( sign = 'I' option = 'EQ' low = 9 ) ).
Beispiel 2
DATA: gv_matnr TYPE mara-matnr.
DATA: gv_werks TYPE mard-werks.
SELECT-OPTIONS: so_matnr FOR gv_matnr.
SELECT-OPTIONS: so_werks FOR gv_werks.
INITIALIZATION.
* MATNR von / bis
so_matnr[] = VALUE #( ( sign = 'I' option = 'BT' low = '000000001000000000' high = '000000002000000000' ) ).
* Werk 0001
so_werks[] = VALUE #( ( sign = 'I' option = 'EQ' low = '0001' ) ).
Beispiel 3
DATA: gv_werks TYPE mard-werks.
SELECT-OPTIONS: so_werks FOR gv_werks.
INITIALIZATION.
* Ausschluss Werk 0001
so_werks[] = VALUE #( ( sign = 'E' option = 'EQ' low = '0001' ) ).