Code: Alles auswählen.
SELECT a~wekgr a~bbtyp a~matnr
c~werks c~dispo c~mmsta
INTO TABLE itab_material
FROM maw1 AS a
JOIN marc AS c
ON a~matnr = c~matnr
WHERE c~werks IN s_vz AND
c~dispo IN s_dispo AND
a~wekgr IN s_wekgr AND
a~matnr IN s_matnr AND
a~bbtyp IN r_bbtyp .