Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- types : BEGIN OF it_type,
- name(10),
- love(10),
- END OF it_type.
- DATA it_head type it_type.
- DATA it_body type TABLE OF it_type.
- it_head-name = 'navapat'.
- it_head-love = 'cat'.
- APPEND it_head to it_body.
- it_head-name = 'parichut'.
- it_head-love = 'dog'.
- APPEND it_head to it_body.
- loop at it_body into it_head.
- write: / 'ROUND :', sy-tabix, 'NAME :', it_head-name,
- / 'ROUND :', sy-tabix, 'LOVE :', it_head-love.
- ENDLOOP.
Advertisement
Add Comment
Please, Sign In to add comment