Code: Alles auswählen.
SELECT * INTO CORRESPONDING FIELDS OF TABLE ut_pa9002_2
FROM pa2001 AS a INNER JOIN pa9002 AS b
ON a~pernr = b~pernr
* eventuell weitere Verknüfpungen einfügen
WHERE a~subty = '601'
AND b~subty = '2'
AND a~begda LE uv_endda
AND b~begda LE uv_endda
AND a~endda GE uv_begda
AND b~endda GE uv_begda.