SAP ABAP Question:
Download Questions PDF

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

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What does an extract statement do in the ABAP program?What is OPEN SQL vs NATIVE SQL?