What is the difference between Collect statement and Append
Statement?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define database layer? : abap data dictionary

678


What kind of deliverables you have on a day to day basis?

971


how to genernate 21 sencondary index

7035


Explain the advantage of structures?

550


in bdcsome times we get the ok code for "enter" wrongly instead of '/00'.what is the reason.how we can exceed this problem.

1727






What are the different modules of sap? : sap abap hr

558


What is your current client number?

600


what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.

2069


What is the company code? : sap abap hr

580


please give the remaining answers.

1754


What are the types of bdc s?

587


How we can give authorization on the fields of table control in a dialog-programming?

1849


In which table the material master data is stored?

567


Difference between BDC vs Direct Loads?

666


What is a development class? : abap data dictionary

708