REPORT Z07_016.
DATA: BEGIN OF line,
land(5) TYPE c,
name(10) TYPE c,
age TYPE i,
weight TYPE p DECIMALS 2,
END OF line.
DATA itab LIKE STANDARD TABLE OF line WITH NON-UNIQUE KEY land.
line-land = 'SEOUL'. line-name = 'CHO'.
line-age = 20. line-weight = '80.00'.
APPEND line TO itab.
line-land = 'DAEGU'. line-name = 'KIM'.
line-age = 35. line-weight = '45.00'.
APPEND line TO itab.
line-land = 'BUSAN'. line-name = 'LEE'.
line-age = 40. line-weight = '95.00'.
APPEND line TO itab.
line-land = 'SUWON'. line-name = 'HAN'.
line-age = 18. line-weight = '50.00'.
APPEND line TO itab.
PERFORM loop_at_itab.
SORT itab.
PERFORM loop_at_itab.
SORT itab STABLE.
PERFORM loop_at_itab.
SORT itab DESCENDING BY land weight ASCENDING.
PERFORM loop_at_itab.
FORM loop_at_itab.
LOOP AT itab INTO line.
WRITE: / line-land, line-name, line-age,
line-weight.
ENDLOOP.
SKIP.
ENDFORM.
댓글 0
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| » | REPORT Z07_016 | sapjoy | 2008.04.15 | 2832 |
| 250 | REPORT Z15_007 | eabap | 2007.01.24 | 2707 |
| 249 | REPORT Z05_025 | sapjoy | 2007.05.28 | 2591 |
| 248 | REPORT Z05_013 [3] | sapjoy | 2008.04.15 | 2693 |
| 247 | REPORT Z02_005 . | sapjoy | 2006.12.03 | 2405 |
| 246 | REPORT Z04_005 . | sapjoy | 2006.12.03 | 2616 |
| 245 | REPORT Z06_001 MESSAGE-ID ZTEST . [1] | sapjoy | 2006.12.05 | 3254 |
| 244 | REPORT Z07_002 . | sapjoy | 2006.12.07 | 2797 |
| 243 | REPORT Z07_008 | sapjoy | 2006.12.07 | 2496 |
| 242 | INCLUDE Z16_001O01 [1] | sapjoy | 2007.04.27 | 2641 |
| 241 | REPORT z18_017 | sapjoy | 2007.03.12 | 2699 |
| 240 | REPORT z18_036 | sapjoy | 2007.03.14 | 2654 |
| 239 | REPORT z18_032 | sapjoy | 2008.04.22 | 2740 |
| 238 | REPORT z18_031 | sapjoy | 2008.04.22 | 2553 |
| 237 | REPORT z18_025 | sapjoy | 2007.03.17 | 2616 |
| 236 | REPORT z18_024 | sapjoy | 2008.04.22 | 2331 |
| 235 | REPORT z18_023 | sapjoy | 2008.04.22 | 2279 |
| 234 | REPORT z18_022 | sapjoy | 2008.04.22 | 2290 |
| 233 | REPORT z18_021 | sapjoy | 2008.04.22 | 2275 |
| 232 | REPORT z18_020 | sapjoy | 2008.04.22 | 1870 |