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
Update function modules are classified as either v1 or v2. Which type of update is performed first and in what mode (asynchronously, synchronously or locally) can each type be processed in?
How memory management happens for internal tables and work areas in abap?
What is an rdbms?
What are the rules to create a BAPI?
What is retro active accounting
How do you restrict the data to be entered in the payroll area? : sap abap hr
What are the tcodes for performance tuning?
What happens if a function module runs in an update task?
Explain about Recording Function?
What is filter dependent BADI?
What is a 'z' report?
What is the use of program rsbdcsub? : abap bdc
What are the three hierarchical levels of data types and objects?
How do you differentiate tax for different countries? : sap abap hr
How can you manipulate the presentation and attributes of interactive lists?