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 |
can any post me all steps in MM ,SD, PP FLOW in detail?
where can u find user-exits & bapi?
What is the difference between a structure and a table? : abap data dictionary
HOW TO DIFFERENT CALL TRANSACTION ON THE BASIS OF DOUBLE CLICKING ON DIFFERENT FIELD.
Difference between jobpage and form page?
When the get cursor command used in interactive lists?
What are the differences between se01, se09 and se10?
How to write long-text in SAP scripts? EX: I want to write text like below: * Terms and Conditions: 1>.... 2>.... 3>....
What is the maximum number of structures that can be included in a table or structure
What are the disadvantages of logical databases?
Name a few system global variables you can use in ABAP programs?
By using which FM we can upload data into Infotype