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 |
Explain the systems fields used for interactive lists and lists?
while implementing badi what are the tables u find??
When would you use a BAPI rather than an IDOC
what are performence analysis techniques?
what is the role of ST05 in performance tuning?
Did you create secondary index?
how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.
Explain what is sap script? What is the purpose of sap script?
What is Macro
In SAP R/3 architecture, how many databases can exist?
Where do you code the hide statement?
What is the use of event AT SELECTION-SCREEN ON FIELD?