* Check Whether Table is Empty
IF ITAB is initial.
WRITE: / 'TABLE EMPTY'.
* Assuming that the data have been uploaded into
internal table ITAB. You then can ignore the first line of the internal
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