Code: Alles auswählen.
DATA: i TYPE i,
j TYPE i.
PARAMETERS x(20) DEFAULT 'aBc0974daZ903X' LOWER CASE.
i = STRLEN( x ).
DO i TIMES.
j = sy-index - 1.
IF x+j(1) < '0' OR x+j(1) > '9'.
x+j(1) = space.
ENDIF.
ENDDO.
CONDENSE x NO-GAPS.