REPORT Z03_017.
* MOVE 구문
DATA : t(10),
number TYPE p DECIMALS 1,
count TYPE p DECIMALS 1.
t = 1111.
MOVE ' 5.3 ' TO number.
count = number.
WRITE count.
* MOVE –CORRESPONDING 구문
DATA : BEGIN OF ADDRESS,
FIRSTNAME(20) VALUE 'Hong',
SURNAME(20) VALUE 'gildong',
INITIALS(4) VALUE 'HG',
STREET(20) VALUE 'JONGRO',
NUMBER TYPE I VALUE '11',
POSTCODE TYPE N VALUE '98765',
CITY(20) VALUE '
END OF ADDRESS.
DATA : BEGIN OF NAME,
FIRSTNAME(20),
SURNAME(20),
INITIALS(4),
city(10),
END OF NAME.
MOVE-CORRESPONDING ADDRESS TO NAME.
WRITE : / name-firstname, name-initials, name-city.
댓글 5
-
너구리
2008.04.23 03:08
postcode(10) TYPE n VALUE '98765', -
아빠감자
2008.10.07 00:10
감사합니다^^ 잘보겠습니다. -
하르메스-솔로몬
2008.12.03 19:38
잘 사용합니다.
-
redj
2011.02.23 08:30
감사합니다~! -
히힛
2011.08.05 08:47
이거 이대로 갖다 쓰면 저만 안되는 건가요? SAP에서 THE VALUE specification is longer than the corresponding field. The
VALUE specification will only be passed up to the length of the field.
라고 뜨길래 구조체 ADDRESS에서 변수 firstname, initials, city 만 빼고 다 주석처리하니까 되긴 하던데...
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
151 | REPORT Z04_007 [1] | sapjoy | 2008.04.15 | 2140 |
150 | REPORT z04_014 | sapjoy | 2007.05.22 | 2218 |
149 | REPORT Z04_013 | sapjoy | 2008.04.15 | 2304 |
148 | REPORT Z04_030 [1] | sapjoy | 2008.04.15 | 2268 |
147 | REPORT Z04_004 [7] | sapjoy | 2008.04.15 | 2487 |
146 | REPORT Z04_008 [1] | sapjoy | 2007.05.17 | 2150 |
145 | REPORT Z04_022 | sapjoy | 2007.05.17 | 2092 |
144 | REPORT Z04_021 [4] | sapjoy | 2007.05.17 | 2206 |
143 | REPORT Z04_002 | sapjoy | 2008.04.15 | 2447 |
142 | REPORT Z04_001 | sapjoy | 2007.05.16 | 2375 |
141 | REPORT Z03_030 | sapjoy | 2007.05.16 | 2166 |
140 | REPORT z03_029 [1] | sapjoy | 2007.05.16 | 2132 |
139 | REPORT Z03_028 | sapjoy | 2007.05.16 | 2102 |
138 | REPORT z03_022 [2] | sapjoy | 2007.05.15 | 2111 |
» | REPORT Z03_017 [5] | sapjoy | 2008.04.15 | 2269 |
136 | REPORT Z03_019 [4] | sapjoy | 2008.04.15 | 2148 |
135 | REPORT Z03_018 [3] | sapjoy | 2006.12.03 | 2607 |
134 | REPORT Z03_016 [1] | sapjoy | 2007.05.15 | 2220 |
133 | REPORT Z03_015 | sapjoy | 2007.05.15 | 2131 |
132 | REPORT Z03_013 [4] | sapjoy | 2007.05.15 | 2388 |