REPORT zsm_data.
TYPES: BEGIN OF str,
id type int4,
name TYPE char10,
age TYPE int4,
adress TYPE char10,
END OF str.
DATA: it TYPE TABLE OF str,
wa TYPE str.
PARAMETERS: p_id TYPE int4,
p_name TYPE char10,
p_age TYPE int4,
p_adress TYPE char10.
START-OF-SELECTION.
wa-id = p_id.
wa-name = p_name.
wa-age = p_age.
wa-adress = p_adress.
APPEND wa TO it.
LOOP AT it INTO wa.
WRITE: / wa-id, wa-name, wa-age, wa-adress.
ENDLOOP.
0 Comments