COLLECT

Reference

Syntax

COLLECT wa INTO itab { [ASSIGNING <fs> [CASTING]]
                     | [REFERENCE INTO dref] }.


Effect

Inserts the work area wa as rows in an internal table itab such that, where the table key is already available for some rows, the values of the other components are added to the values of existing rows.

Additions