DATA : BEGIN OF gs_line,
carrid TYPE sflight-carrid,
carrname TYPE scarr-carrname,
fldate TYPE sflight-fldate,
END OF gs_line.
DATA gt_itab LIKE TABLE OF gs_line.
SELECT carrid connid INTO CORRESPONDING FIELDS OF TABLE gt_itab FROM sflight.
LOOP AT gt_itab INTO gs_line.
AT NEW carrid.
SELECT SINGLE carrname INTO gs_line-carrname
FROM sflight.
MODIFY gt_itab FROM gs_line TRANSPORTING carrname WHERE carrid = gs_line-carrid.
ENDAT.
WRITE : / gs_line-carrid, gs_line-carrname.
ENDLOOP.
실행 돌리면,
Unknown column name "CARRNAME" field list. field list. field list.
field list.
이라고 뜨는데 무슨 소린지...^^;;;
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
공지 | e-abap에서 출간된 책 소개 [8] | 양키 | 2013.01.31 | 12217 |
265 | 828p, 예제 15-4 [2] | 김효상 | 2013.10.17 | 1951 |
264 | ABAP Dictionary 질문입니다! [2] | jjijjel | 2013.10.10 | 1910 |
263 | ABAP2.0 에 있는 Z18-02 예제 소스 [1] | 난초 | 2013.08.10 | 1829 |
262 | 챕터01에 Package Create관련 질문드립니다. [1] | 우우우후후 | 2013.07.29 | 1753 |
261 | Dialog program 과 Module pool program 의 차이가 뭐에요? [1] | ㅇㅈㅇ | 2013.07.25 | 1914 |
» | 273p 5-26 [2] | baishui | 2013.07.25 | 1582 |
259 | 269p 5-24 [1] | baishui | 2013.07.24 | 1456 |
258 | 221p 5-2 [4] | baishui | 2013.07.17 | 1632 |
257 | 191p 4-16 [1] | baishui | 2013.07.13 | 1318 |
256 | 190p 4-15 [1] | baishui | 2013.07.13 | 1170 |
255 | 188p 4-14 | baishui | 2013.07.13 | 1121 |
254 | 186p 4-13 | baishui | 2013.07.13 | 1074 |
253 | 182page 4-10 | baishui | 2013.07.12 | 1028 |
252 | 181페이지 4-9 [1] | baishui | 2013.07.12 | 1015 |
251 | 172p 4-4 [2] | baishui | 2013.07.11 | 1080 |
250 | 147p 3-21 [2] | baishui | 2013.07.10 | 936 |
249 | 130P 3-15 [1] | baishui | 2013.07.10 | 896 |
248 | 127 3-13 | baishui | 2013.07.09 | 2662 |
247 | 119page 3-8 [1] | baishui | 2013.07.09 | 956 |
246 | 126page 3-12 [2] | baishui | 2013.07.09 | 1654 |
SELECT SINGLE carrname INTO gs_line-carrname
FROM scarr.
FROM SCARR로 수정하시면 될듯합니다.