Make your own free website on Tripod.com
 

SAP ABAP Programming, Functional and Basis Components Books


Internal Tables

* Check  Whether Table is Empty
IF ITAB[] is initial.
   WRITE: / 'TABLE EMPTY'.
ENDIF.

* Assuming that the data have been uploaded into internal table ITAB. You then can ignore the first line of the internal table
Delete ITAB index 1.          ( before you do your operation such as batch input or others )

* To know the last record insert in a table
DESCRIBE TABLE ITAB LINES SY-TFILL.
READ TABLE ITAB INDEX SY-TFILL.

Back to Previous

Return to SAP Hints and Tips on Configuration and ABAP/4 Programming