es sind mehrere Fehler:anki_86 hat geschrieben:......Code: Alles auswählen.
TYPES: BEGIN OF ls_mat, locid TYPE /tab1/locid, matid TYPE /tab1/matid, matnr TYPE /tab1/matnr, locnr TYPE /tab1/locnr, END OF ls_mat. SELECT locid matid matnr locno INTO (ls_mat-locid, ls_matt-matid, ls_mat-matnr, ls_mat-locno) FROM /tab1/v_mat WHERE locnr LIKE s_locnr.
Code: Alles auswählen.
TYPES:
BEGIN OF ts_mat,
locid TYPE /tab1/locid,
matid TYPE /tab1/matid,
matnr TYPE /tab1/matnr,
locnr TYPE /tab1/locnr,
END OF ts_mat.
DATA:
ls_mat TYPE ts_mat.
SELECT SINGLE locid matid matnr locno
INTO (ls_mat-locid, ls_mat-matid, ls_mat-matnr, ls_mat-locnr)
FROM /tab1/v_mat
WHERE locnr LIKE s_locnr.