Code: Alles auswählen.
SELECT *
FROM ( vbrp
INNER JOIN vbrk
ON vbrk~vbeln = vbrp~vbeln
INNER JOIN makt
ON makt~spras = sy-langu
AND makt~matnr = vbrp~matnr
INNER JOIN marc
ON marc~matnr = vbrp~matnr
AND marc~werks = vbrp~werks )
INTO CORRESPONDING FIELDS OF TABLE lt_data_tmp
WHERE vbrk~vkorg IN so_vkorg
AND vbrk~bukrs IN so_bukrs
AND vbrp~vbeln IN so_belnr
AND vbrp~werks IN so_werks.