What is the difference between Collect statement and Append
Statement?

Answer Posted / anu

Append adds the record at the end of internal table.
Collect sums up the numeric fields of the records whose
primary keys are equal and adds it as a single record i.e
To fill an itab with lines which have unique standard keys
we use collect statement.If an entry with the same key
already exists,the collect statement does not append a new
line as append statement but adds the contents of the
numeric fields in the work area to the contents of the
numeric fields in the existing entry.

Is This Answer Correct ?    32 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an evaluation path? : sap abap hr

559


Under Data Transfer Portion of ABAP, what do you mean by DX Project

1853


What are multiple use BADIS?

994


How can we achieve MVC ?

906


what is the process of creating quotation using BAPIs.

1571






Can we display a list in a pop-up screen other than full-size stacked list?

692


What is the max. No. Of structures that can be included in a table or structure? : abap data dictionary

569


Setting up a BDC program where you find information from?

662


What is buffering in abap?

635


What is the difference between a dialog program and a report?

555


In SAP Script,How to display a single field(like matnr)at the right end of the form.

1975


Can we use write statements in screen fields?if not how is data transferred from field data to screen fields?

554


how can you display data say "your name"in sap script without print program or driver program??

1724


A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary

672


In the `select' statement what is group by ?

1515