What is the difference between Collect statement and Append
Statement?
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 ? | 32 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 ? | 15 Yes | 3 No |
A report has statements like: top-of-page. write :/. End-of-page. write:/. But the end-of-page is not displayed ?please verify?
5.wat is difference b/w dilldown and interactive report?
what is badi?
what is the role of ST05 in performance tuning?
How to print Back to Back in Scripts?
Explain about Recording Function?
what are the types of enhancements?
What is an abap dictionary? : abap data dictionary
How can we add another field to display in standard SAPSCRIPT? Ex. we have customer address in layout, now we have to add customer Phone no in the same.
How to find function module or Bapi for particular transaction in sap?
1.what is the difference between e-commerce 4.0 and 5.0 2.how dose price determnation takes place using ipc 3.how dose data gets updated in your backend system 4.what is your system landscape 5.how do you transport the data from devolopment sys to quality and from quality to production servers.
How to attach a search help? how can you validate the entries in TMG?