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 how is batch input process different from processing on line?
Difference Between Protect and EndProtect?
What is the use of 'for all entries'?
If suppose There are 10 records in flat file then how many times BDC_open_group, BDC_INSERT, BDC_CLOSE_group executed?
What is mean SY-SUBRC=8 in BDC(while uploading data).
Define Internal Table?
Where does the Hide data stored
Prepare a Report for last month Last Date- First Date?
Difference between inner join and outer join in abap
while creating table in ECC 6.0,it'll ask for enhancement Catagory?What is that?
In order to upload purchase order details, how you handle multiple values for a single field?
Hi, can any one tell me the follwoing question's answer 1.How can we validate single selection screen field and multiple selection screen field in report and also in module pool programming.pls give answer in brief with example. 2.What is search help ? pls tell search help type breifly with example?