REPORT ZDAV_PELICULAS000004. Data : begin of wa_aux, Pel_id like zpeliculas-pel_id, Peltxt like zpeliculas-peltxt, End of wa_aux.
Data tb_aux like standard table of wa_aux with header line. SELECT * into corresponding fields of table tb_aux FROM ZPELICULAS . Loop at tb_aux. WRITE:/ tb_aux-PEL_ID, tb_aux-PELTXT. Endloop.