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

can any one answer these questions 1)How do you convert non-character field to character field? 2)How do you work with semi colon separated files? 3)why cant we use normal function module for data transfer? 4)what is the structure of CTU-PARAMS? 5)can we use transfer dataset to transfer data in internal table?

1759


What are the commands used for interactive reports?

767


What is the function of a domain?

885


What are the kinds of foreign key fields?

727


What is the use of the raising exception? : abap modularization

717


What is the difference between Classic badi and Kernal badi ?

2074


What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.

3127


What is the function of the transport system and workbench organizer?

855


What is the difference between a pool table and a transparent table and how they are stored at the database level?

801


Name the abap/4 modularization techniques?

836


What is the relationship existing between the various data elements? : abap data dictionary

774


8)when u create sales report what u can see in that report ? what rthose field names or data element names? 9)when u create purchase order details report what u can see in that report ?what rthose fieldnames or dataelements? 10)when u create material stock report in material master grouped by material type and plant what u can see in report ?what rthose field names or dataelement ? 11)when u create shipping forecast report what u can see in that report ?what rthose data elements or field names?

1860


what is diff between ECC 5.0 AND ECC 6.0

3053


What are local objects?

799


What is meant by exclusive, not cumulative lock? : sap abap data dictionary

772