REPORT Z05_006 .
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.
FORM DEMO USING P TYPE ANY TABLE.
READ TABLE P WITH TABLE KEY (KEY) = 'X' INTO WA.
write : / wa-col1.
ENDFORM.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
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 |
114 | REPORT z08_001 | sapjoy | 2007.06.15 | 2210 |
» | REPORT Z05_006 | sapjoy | 2007.06.12 | 2196 |
112 | Include Z_SHARED_AREA | sapjoy | 2007.05.28 | 2529 |