REPORT Z07_026 .
data : begin of line,
col1 type i,
col2 type i,
end of line.
DATA itab LIKE TABLE OF line.
DO 3 TIMES.
line-col1 = sy-index.
line-col2 = sy-index ** 2.
APPEND line TO itab.
ENDDO.
line-col1 = '10'.
line-col2 = '20'.
MODIFY itab FROM line INDEX 1.
LOOP AT itab INTO line.
WRITE: / sy-tabix, line-col1, line-col2.
ENDLOOP.
data : begin of line,
col1 type i,
col2 type i,
end of line.
DATA itab LIKE TABLE OF line.
DO 3 TIMES.
line-col1 = sy-index.
line-col2 = sy-index ** 2.
APPEND line TO itab.
ENDDO.
line-col1 = '10'.
line-col2 = '20'.
MODIFY itab FROM line INDEX 1.
LOOP AT itab INTO line.
WRITE: / sy-tabix, line-col1, line-col2.
ENDLOOP.
댓글 3
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
650 | REPORT Z07_010. | sapjoy | 2006.12.07 | 2527 |
649 | REPORT Z07_011 [1] | sapjoy | 2006.12.07 | 2183 |
648 | REPORT Z07_012 | sapjoy | 2006.12.08 | 2326 |
647 | REPORT Z07_013 | sapjoy | 2006.12.08 | 2544 |
646 | REPORT Z07_014 | sapjoy | 2006.12.08 | 2098 |
645 | REPORT Z07_015 | sapjoy | 2006.12.08 | 2426 |
644 | REPORT Z07_017 | sapjoy | 2006.12.08 | 2609 |
643 | REPORT Z07_018 | sapjoy | 2006.12.08 | 2341 |
642 | REPORT Z07_019 | sapjoy | 2006.12.08 | 2284 |
641 | REPORT Z07_020 | sapjoy | 2006.12.08 | 2152 |
640 | REPORT Z07_021 [2] | sapjoy | 2006.12.08 | 2453 |
639 | REPORT Z07_024 | sapjoy | 2006.12.08 | 2472 |
638 | REPORT Z07_022 | sapjoy | 2006.12.08 | 2070 |
637 | REPORT Z07_023 | sapjoy | 2006.12.08 | 2255 |
» | REPORT Z07_026 [3] | sapjoy | 2006.12.08 | 2632 |
635 | REPORT Z07_027 [3] | sapjoy | 2006.12.08 | 2374 |
634 | REPORT Z07_030 [4] | sapjoy | 2006.12.08 | 2438 |
633 | REPORT Z07_031 [2] | sapjoy | 2006.12.08 | 2309 |
632 | REPORT Z07_033 | sapjoy | 2006.12.08 | 2317 |
631 | REPORT z09_002 | sapjoy | 2006.12.15 | 2602 |
data : begin of line,
col1 type i,
col2 type i,
end of line.
부분을 추가해야 될것 같네요.