Hola, Sikken
Espero que el siguiente ejemplo resuelva tu problema,
TABLES: mara, marc, mard.
TYPES: BEGIN OF t_mara,
matnr LIKE mara-matnr,
END OF t_mara.
DATA: it_mara TYPE STANDARD TABLE OF t_mara WITH HEADER LINE.
SELECT mara~matnr
INTO CORRESPONDING FIELDS OF TABLE it_mara
FROM mara INNER JOIN marc ON ( mara~matnr = marc~matnr )
INNER JOIN mard ON ( marc~matnr = mard~matnr AND marc~werks = mard~werks )
* where mard~lgort = ' Storage Location Here you can use where class
" and mara~matnr = ' Matnr
.
Por favor, responde si hay algún problema,
Saludos cordiales,
Faisal