What is the difference between Collect statement and Append
Answers were Sorted based on User's Feedback
Answer / 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 ?||28 Yes||4 No|
Answer / sagi.nagamani
collect : it gives the summarized record if all the
character fields of the work area matches with all
character fields of any record of the table body then it
adds its numeric fields .if not matched then it inserts it
as anew record.
append: it appends or inserts the record into the table
body as last record .
|Is This Answer Correct ?||14 Yes||3 No|
Is it possible to include two transactions with one group name in one program in session method ?
what will you do in Recording method?
how can be restore a project deleted in lsmw?
What are the different abap editors? What is the used of different editors in abap?
How to create the ur own barcodes?
Brief scenario of check table / value table?
what is the difference b/w database and data dictionary?
How to make smartform output into PDF?what r the step and requirments?
Can i have some Realtime Scenarios on Reports.
3 types of buffering techniqes. 1.bufering not allowed 2.buffering swithed on 3.buffering not allowed but switced on what does it means?
what is the flag?
wat is EDI Administration & EDI Administration procedure?