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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
570 | REPORT Z03_010 [2] | sapjoy | 2007.05.14 | 2655 |
569 | REPORT Z05_013 [3] | sapjoy | 2008.04.14 | 2653 |
568 | REPORT ZRTTS_01 . | sapjoy | 2009.12.24 | 2652 |
567 | REPORT z16_002 | sapjoy | 2008.08.07 | 2649 |
566 | REPORT Z15_001 [2] | sapjoy | 2008.04.15 | 2647 |
565 | REPORT ZDYNAMIC_ITAB_12. | sapjoy | 2009.02.16 | 2643 |
564 | REPORT z18_038 [2] | sapjoy | 2008.04.21 | 2635 |
563 | report zunicode_032. | sapjoy | 2008.11.21 | 2634 |
562 | REPORT Z13_013 | sapjoy | 2007.01.08 | 2634 |
» | REPORT Z07_026 [3] | sapjoy | 2006.12.08 | 2632 |
560 | REPORT z18_036 | sapjoy | 2007.03.13 | 2631 |
559 | REPORT z12_002 | sapjoy | 2006.12.28 | 2629 |
558 | FIELD_EXIT_GSBER_I | sapjoy | 2008.12.16 | 2625 |
557 | REPORT z15_014 | sapjoy | 2007.01.26 | 2625 |
556 | PUT_SPFLI PUT_SFLIGHT PUT_SBOOK | sapjoy | 2006.12.19 | 2614 |
555 | report zunicode_022. | sapjoy | 2008.11.21 | 2611 |
554 | REPORT Z05_008 [2] | sapjoy | 2007.05.27 | 2611 |
553 | REPORT Z07_017 | sapjoy | 2006.12.08 | 2609 |
552 | report zsalv_040 . | sapjoy | 2010.08.20 | 2608 |
551 | REPORT Z03_018 [3] | sapjoy | 2006.12.02 | 2605 |
data : begin of line,
col1 type i,
col2 type i,
end of line.
부분을 추가해야 될것 같네요.