Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

difference between append and collect statement?

Answer Posted / sravan

APPEND statement adds the record to the internal table
body.We can't say it adds the new record at the end of the
internal table. It all depends on the type of the internal
table (standard,sorted or Hashed).
COLLECT statement searches for the data in the char type
fields and adds the numeric value.

eg.
if itab contains fields f1 and f2 f1 of char type and f2 of
numc type.
if itab contains data like this.
f1 f2
A 5
b 30
c 10

if we give collect stament like collect itab ( A and 15 as
values)

the data in the itab will become.
f1 f2
A 20
b 30
c 10


this is how it works

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which type of tables used this buffer?

1105


What is payroll area

2277


What is your approach to find exit and BAdi?

1310


What is alv programming in abap?

1144


What are the three hierarchical levels of data types and objects?

1163


How do you find if a logical database exists for your program requrements?

1106


What are the classifications of the sap abap data classes?

1126


What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?

1309


Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul

3693


What are the data types of the external layer? : abap data dictionary

1405


What is pretty printer?

1047


How do you set up background jobs in sap?

1016


What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?

1088


What is the use of 'table index'?

1092


What are the relational operations that can be performed on view in sap? : abap data dictionary

952