Code: Alles auswählen.
REPORT z_aaglsap01_training01.
TABLES: makt.
DATA: ltt_makt TYPE TABLE OF makt.
SELECT-OPTIONS: s_matnr FOR makt-matnr,
s_spras FOR makt-spras.
SELECT * FROM makt INTO TABLE ltt_makt
WHERE matnr IN s_matnr
AND spras IN s_spras.
WRITE: 'Materialnummer:',50 line_space, 'Sprache:',100 line_space, 'Materialbeschreibung:', /.
LOOP AT ltt_makt ASSIGNING FIELD-SYMBOL(<smakt>).
WRITE: <smakt>-matnr, 50 line_space, <smakt>-spras, 100 line_space, <smakt>-maktx,/ .
ENDLOOP.