This statement is used for inserting records as work areas in an internal
table by checking no insert duplicate entries and if the record have not any matching
then the work area will be inserted.


Syntax:
COLLECT work_area INTO internal_table.
How COLLECT statement works:
1.- It will check for any record into the internal table.
2.- If there’s not any matching record, the work area will be inserted into the internal table.
3.- If there is a record with the same key, the collect statement will not insert a new record and will add the numeric field value of the work area with the corresponding field of the internal table.



Serkan AKKAVAK
Computer Engineer
serkurumsal@yandex.com