SAP ABAP Question: Download SAP ABAP PDF

What is a collect statement? How is it different from append?

Tweet Share WhatsApp

Answer:

Collect : If an entry with the same key already exists, the COLLECT statement does not append a new line, but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry.

Append – Duplicate entries occurs

Download SAP ABAP PDF Read All 161 SAP ABAP Questions
Previous QuestionNext Question
What does an extract statement do in the ABAP program?What is OPEN SQL vs NATIVE SQL?