> DATA : ZBELNR1 LIKE ZFEMSEVALUE-ZBELNR1.
DATA : ZBELNR2 LIKE ZFEMSEVALUE-ZBELNR2.
DATA : ZBELNR3 LIKE ZFEMSEVALUE-ZBELNR3.
>
> SELECT BUKRS
FROM ZFEMSEVALUE
INTO CORRESPONDING FIELDS OF GT_BELNR
WHERE ZBELNR1 = ZBELNR1
AND ZBELNR2 = ZBELNR2
AND ZBELNR3 = ZBELNR3.
ENDSELECT.
>
>이렇게정의 했어요.
>근데 실행버튼을 누르면 안나오네요
> 무슨 문제라도????
DATA : ZBELNR1 LIKE ZFEMSEVALUE-ZBELNR1.
DATA : ZBELNR2 LIKE ZFEMSEVALUE-ZBELNR2.
DATA : ZBELNR3 LIKE ZFEMSEVALUE-ZBELNR3.
SELECT SINGLE BUKRS
FROM ZFEMSEVALUE
INTO CORRESPONDING FIELDS OF GT_BELNR
WHERE ZBELNR1 = ZBELNR1
AND ZBELNR2 = ZBELNR2
AND ZBELNR3 = ZBELNR3.
LOOP AT ZFEMSEVALUE.
ZBELNR1 = ZFEMSEVALUE-ZBELNR1.
ZBELNR2 = ZFEMSEVALUE-ZBELNR2.
ZBELNR3 = ZFEMSEVALUE-ZBELNR3.
ENDLOOP.
이런식으로도 안되네요.. 어떻해야 할까요?