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
How can end-of-selection be used?
Type casting and error handling
How to upload more than 2GB file from External Source to SAP?
What is an abap instance?
How will you transfer data into a file in application server?
What is the process to enhance the Infotype
What is tcode se16. For what is it used. Explain briefly?
Explain what is a foreign key relationship? Explain this with the help of an example.
Can we make use of flow logic control key words in abap/4 and vice-versa?
If A is the super class of B. And both the classes have constructor. We create an object of class B. Then which constructor will be called? If both then in which order?
How do you set up background jobs in sap? What are the steps?
How can we handle table control in bdc? : abap bdc
How do you Export a session ?
dynamic programming in sap abap
Difference between open sql and native sql? : abap data dictionary