REPORT Z07_012 .
* OLD METHOD 1
DATA: BEGIN OF tab_ekpo OCCURS 0, "itab WITH HEADER LINE
ebeln Type ekpo-ebeln,
ebelp Type ekpo-ebelp,
END OF tab_ekpo.
* OLD MEHOTD 2
* 이미 존재하는 internal Table을 통해 동일한 타입으로 itab 생성
DATA: it_Datatab LIKE tab_ekpo OCCURS 0, "old method
wa_Datatab LIKE LINE OF tab_ekpo.
* Build internal Table and Work Area from existing internal Table,
* adding additional fields
*NEW METHOD 1 이 방법을 사용하라!!!
TYPES: BEGIN OF t_ekpo,
ebeln Type ekpo-ebeln,
ebelp Type ekpo-ebelp,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0, "itab
wa_ekpo Type t_ekpo. "Work Area (Header Line)
*NEW METHOD 2 이 방법을 사용하라!!!
* Include 구문을 이용한 Nested Structure 타입 선언
TYPES: BEGIN OF t_repdata.
INCLUDE STRUCTURE tab_ekpo.
TYPES: bukrs Type ekpo-werks,
bstyp Type ekpo-bukrs.
TYPES: END OF t_repdata.
DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,
wa_repdata Type t_repdata.
* OLD METHOD 1
DATA: BEGIN OF tab_ekpo OCCURS 0, "itab WITH HEADER LINE
ebeln Type ekpo-ebeln,
ebelp Type ekpo-ebelp,
END OF tab_ekpo.
* OLD MEHOTD 2
* 이미 존재하는 internal Table을 통해 동일한 타입으로 itab 생성
DATA: it_Datatab LIKE tab_ekpo OCCURS 0, "old method
wa_Datatab LIKE LINE OF tab_ekpo.
* Build internal Table and Work Area from existing internal Table,
* adding additional fields
*NEW METHOD 1 이 방법을 사용하라!!!
TYPES: BEGIN OF t_ekpo,
ebeln Type ekpo-ebeln,
ebelp Type ekpo-ebelp,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0, "itab
wa_ekpo Type t_ekpo. "Work Area (Header Line)
*NEW METHOD 2 이 방법을 사용하라!!!
* Include 구문을 이용한 Nested Structure 타입 선언
TYPES: BEGIN OF t_repdata.
INCLUDE STRUCTURE tab_ekpo.
TYPES: bukrs Type ekpo-werks,
bstyp Type ekpo-bukrs.
TYPES: END OF t_repdata.
DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,
wa_repdata Type t_repdata.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
191 | REPORT Z10_001 | sapjoy | 2008.04.15 | 2342 |
190 | REPORT Z07_033 | sapjoy | 2006.12.09 | 2317 |
189 | REPORT Z07_032 | sapjoy | 2007.09.13 | 2195 |
188 | REPORT Z07_030 [4] | sapjoy | 2006.12.09 | 2441 |
187 | REPORT Z07_028 [2] | sapjoy | 2008.04.15 | 2139 |
186 | REPORT Z07_027 [3] | sapjoy | 2006.12.09 | 2376 |
185 | Report Z07_025 | sapjoy | 2007.09.13 | 2176 |
184 | REPORT Z07_023 | sapjoy | 2006.12.09 | 2255 |
183 | REPORT Z07_022 | sapjoy | 2006.12.09 | 2070 |
182 | REPORT Z07_021 [2] | sapjoy | 2006.12.09 | 2455 |
181 | REPORT Z07_020 | sapjoy | 2006.12.09 | 2157 |
180 | REPORT Z07_019 | sapjoy | 2006.12.08 | 2284 |
179 | REPORT Z07_018 | sapjoy | 2006.12.08 | 2341 |
178 | REPORT Z07_015 | sapjoy | 2006.12.08 | 2428 |
177 | REPORT Z07_014 | sapjoy | 2006.12.08 | 2098 |
176 | REPORT Z07_009 | sapjoy | 2006.12.07 | 2258 |
175 | REPORT Z07_003 | sapjoy | 2008.04.15 | 2151 |
174 | Z07_005 | sapjoy | 2006.12.07 | 2353 |
173 | Z07_001 | sapjoy | 2006.12.07 | 2397 |
» | REPORT Z07_012 | sapjoy | 2006.12.08 | 2328 |