메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT z08_001

sapjoy 2007.06.15 09:13 조회 수 : 2210

REPORT  z08_001                                                     .
TYPES: BEGIN OF line,
        col1,
        col2,
      END OF line.


DATA: wa TYPE line,
      itab TYPE HASHED TABLE OF line WITH UNIQUE KEY col1,
      key(4) VALUE 'COL1'.


wa-col1 = 'X'. INSERT wa INTO TABLE itab.
wa-col1 = 'Y'. INSERT wa INTO TABLE itab.


PERFORM demo USING itab.


wa-col1 = 'Z'. INSERT wa INTO TABLE itab.



FORM demo USING p TYPE ANY TABLE.
  READ TABLE p WITH TABLE KEY (key) = 'X' INTO wa.
  IF sy-subrc EQ 0.
    WRITE : / wa-col1.
  ENDIF.
ENDFORM.                    "DEMO

번호 제목 글쓴이 날짜 조회 수
131 REPORT Z03_012 [6] sapjoy 2007.05.14 2452
130 REPORT Z03_011 sapjoy 2007.05.14 2152
129 REPORT Z03_009 [1] sapjoy 2008.04.15 2418
128 REPORT Z03_007 [6] sapjoy 2007.05.14 2426
127 REPORT Z03_006 [5] sapjoy 2006.12.03 2812
126 REPORT Z03_005 [1] sapjoy 2006.12.03 2740
125 REPORT Z03_001 sapjoy 2007.05.11 2308
124 MODULE creat_listbox [4] sapjoy 2007.12.12 2411
123 MODULE create_dropdown_box sapjoy 2007.12.12 2397
122 REPORT Z10_004 [1] sapjoy 2007.11.21 2251
121 REPORT Z09_12 [1] sapjoy 2007.11.14 2263
120 method DISPLAY_LIST . [2] sapjoy 2007.10.29 2341
119 method GETSFLIGHT [2] sapjoy 2007.10.23 2224
118 REPORT Z15_041 sapjoy 2007.08.01 2454
117 REPORT Z14_005 sapjoy 2007.01.22 2269
116 REPORT Z14_002 sapjoy 2007.07.30 2185
115 module f4_CARRID input sapjoy 2007.07.22 2370
» REPORT z08_001 sapjoy 2007.06.15 2210
113 REPORT Z05_006 sapjoy 2007.06.12 2196
112 Include Z_SHARED_AREA sapjoy 2007.05.28 2529