REPORT Z07_007 .
TYPES: BEGIN OF line,
col1 TYPE i,
col2 TYPE i,
END OF line.
DATA itab TYPE SORTED TABLE OF line WITH UNIQUE KEY col1
WITH HEADER LINE initial size 3.
DO 4 TIMES.
itab-col1 = sy-index.
itab-col2 = sy-index ** 2.
INSERT TABLE itab.
ENDDO.
itab-col1 = 2.
READ TABLE itab FROM itab.
itab-col2 = 100.
MODIFY TABLE itab.
itab-col1 = 4.
DELETE TABLE itab.
LOOP AT itab.
WRITE: / itab-col1, itab-col2.
ENDLOOP.
TYPES: BEGIN OF line,
col1 TYPE i,
col2 TYPE i,
END OF line.
DATA itab TYPE SORTED TABLE OF line WITH UNIQUE KEY col1
WITH HEADER LINE initial size 3.
DO 4 TIMES.
itab-col1 = sy-index.
itab-col2 = sy-index ** 2.
INSERT TABLE itab.
ENDDO.
itab-col1 = 2.
READ TABLE itab FROM itab.
itab-col2 = 100.
MODIFY TABLE itab.
itab-col1 = 4.
DELETE TABLE itab.
LOOP AT itab.
WRITE: / itab-col1, itab-col2.
ENDLOOP.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
10 | REPORT Z02_005 . | sapjoy | 2006.12.02 | 2375 |
9 | Z02_003 [2] | sapjoy | 2006.12.02 | 3042 |
8 | REPORT Z03_018 [3] | sapjoy | 2006.12.02 | 2605 |
7 | Z01_021 [1] | sapjoy | 2006.12.02 | 2771 |
6 | Z01_020 [2] | sapjoy | 2006.12.02 | 3008 |
5 | Z01_019 [2] | sapjoy | 2006.12.02 | 2688 |
4 | Z01_018 [2] | sapjoy | 2006.12.02 | 3042 |
3 | REPORT Z03_006 [5] | sapjoy | 2006.12.02 | 2812 |
2 | REPORT Z03_005 [1] | sapjoy | 2006.12.02 | 2735 |
1 | Z01_012 [9] | sapjoy | 2006.12.02 | 4546 |