Select single * vs Select upto 1 row
Select single * can work on the work area not on the internal table. It has no endselect.
Select * upto 1 rows can be implemented in Internal table and work area both. It has endselect.
Updated May 18, 2018
Select single * can work on the work area not on the internal table. It has no endselect.
Select * upto 1 rows can be implemented in Internal table and work area both. It has endselect.
Comments
DATA : ITAB TYPE ZREKHA_EMP.
SELECT SINGLE * FROM ZREKHA_EMP INTO ITAB
WHERE EMPNO = ‘00101’ AND DEPTNO = ‘0010’.
WRITE : / ITAB-EMPNO, ITAB-EMPNAME,ITAB-DEPTNO.
Select upto 1 rows -