REPORT zsm_internal3.
TYPES: BEGIN OF str,
id TYPE string,
name TYPE string,
address TYPE string,
END OF str.
DATA: it TYPE STANDARD TABLE OF str,
wa TYPE str.
wa-id = '1'.
wa-name = 'AAA'.
wa-address = 'Panchpota'.
APPEND wa TO it.
wa-id = '2'.
wa-name = 'BBB'.
wa-address = 'Balia'.
APPEND wa TO it.
wa-id = '3'.
wa-name = 'CCC'.
wa-address = 'Shitolamandir'.
APPEND wa TO it.
wa-id = '4'.
wa-name = 'DDD'.
wa-address = 'Garia Bazar'.
APPEND wa TO it.
wa-id = '5'.
wa-name = 'EEE'.
wa-address = 'Nabagram'.
APPEND wa TO it.
wa-id = '6'.
wa-name = 'FFF'.
wa-address = 'Narendrapur'.
APPEND wa TO it.
wa-id = '7'.
wa-name = 'GGG'.
wa-address = 'Pratapgarh'.
APPEND wa TO it.
wa-id = '8'.
wa-name = 'HHH'.
wa-address = 'Mahamayatala'.
APPEND wa TO it.
wa-id = '9'.
wa-name = 'III'.
wa-address = 'Garia Metro'.
APPEND wa TO it.
wa-id = '10'.
wa-name = 'JJJ'.
wa-address = 'Mouchak'.
APPEND wa TO it.
LOOP AT it INTO wa.
AT FIRST.
WRITE:/ wa-id, wa-name, wa-address.
ENDAT.
ENDLOOP.
0 Comments