Code: Alles auswählen.
select matnr
from mara
where like_regexpr( value = matnr, pcre = '^M.*17$' ) = '1'
Code: Alles auswählen.
SELECT fivor FROM fmci
WHERE like_regexpr( value = cast( fivor as SSTRING ) , pcre = '30|50' ) = 1
INTO @DATA(lv_fivor).
ENDSELECT.