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 Z11_03. | sapjoy | 2012.07.30 | 795 |
9 | REPORT Z11_04 . | sapjoy | 2012.07.30 | 786 |
8 | REPORT Z11_09. | sapjoy | 2012.07.30 | 780 |
7 | REPORT z10_02. | sapjoy | 2012.07.30 | 779 |
6 | API | sapjoy | 2022.11.02 | 325 |
5 | Z18_06_DRAGCLASS | sapjoy | 2022.02.22 | 302 |
4 | z15_21_drag | sapjoy | 2022.02.24 | 276 |
3 | REPORT z05_36 | sapjoy | 2023.02.07 | 249 |
2 | REPORT Z06_01. | sapjoy | 2024.04.20 | 33 |
1 | REPORT Z99_24. | sapjoy | 2024.05.21 | 23 |