Code: Alles auswählen.
SELECT matnr spars maktx
FROM tabelle1 AS p_bez
INTO CORRESPONDING FIELDS OF TABLE itab
WHERE EXISTS ( SELECT *
FROM tabelle2 AS z_bez
WHERE z_bez~matnr = p_bez~MATNR ).
Code: Alles auswählen.
SELECT matnr spars maktx
FROM tabelle1
INTO CORRESPONDING FIELDS OF TABLE itab
WHERE EXISTS ( SELECT *
FROM tabelle2
WHERE tabelle2~matnr = tabelle1~MATNR ).
Code: Alles auswählen.
select MATNR SPRAS MAKTX from tabelle1 AS p_bez
INTO CORRESPONDING FIELDS OF
table itab where EXISTS
( select MATNR [b]FORM[/b] tabelle2
as z_bez where MATNR = p_bez~MATNR ).