Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

internal table error

hi,

i have started learning sap abap recently.

i have written a report but at the time of activating it is showing

error

"the work area it_itab is not long enough".

and my report is

REPORT ZPROG2.

TABLES: ZTABLE2.

DATA:BEGIN OF IT_ITAB OCCURS 0,

EMPNO LIKE ZTABLE2-DEPTNO,

END OF IT_ITAB.

SELECT * FROM ZTABLE1 INTO TABLE IT_ITAB.

END SELECT.

LOOP AT IT_ITAB.

WRITE:/ IT_ITAB .

ENDLOOP.

please give me the solution i will be thankfull.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question