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
How many types of views are there ?
What are pooled tables? : abap data dictionary
What are the check tables and value tables?
What are the data types of the abap/4 layer? : abap data dictionary
What is projection view?
Explain about the tables exists in a data dictionary and what are they? : abap data dictionary
What are the basic components of dialog program?
Do you know any other patterns if yes.. explain
Update types in Call transaction method. What is the difference?
how to create view in bdc..??
How is conversion of data types done between abap/4 & db layer? : abap data dictionary
What is primary index?
What is off cycle payroll run
Does the call transaction method allow multiple transactions to be processed by sap?
Can you set up background processing using call transaction?