메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT Z07_007

sapjoy 2006.12.07 19:05 조회 수 : 2701

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.
번호 제목 글쓴이 날짜 조회 수
11 REPORT Z07_013 sapjoy 2006.12.08 2546
10 REPORT Z07_011 [1] sapjoy 2006.12.07 2185
9 REPORT Z07_010. sapjoy 2006.12.07 2529
» REPORT Z07_007 sapjoy 2006.12.07 2701
7 Dynamic Table Maintenance [1] sapjoy 2006.12.05 4105
6 Z02_003 [2] sapjoy 2006.12.03 3048
5 Z01_021 [1] sapjoy 2006.12.03 2773
4 Z01_020 [2] sapjoy 2006.12.03 3013
3 Z01_019 [2] sapjoy 2006.12.03 2694
2 Z01_018 [2] sapjoy 2006.12.03 3050
1 Z01_012 [9] sapjoy 2006.12.03 4585