How Group 10 sets of records per group of Internal Table in ABAP.

Good Afternoon All,
I have one internal table which have 400 records ,i need to group these records in set of 10 records .
for example:
ID value
2 100
1 95
3 90
4 85
6 80
7 75
8 70
10 65
9 60
----------------------------------
Total : 720---------------------------------------1st group
-------------------------------
11 59
13 58
12 55
14 54
15 52
18 51
16 50
17 49
19 40
20 39
-------------------------------
Total : 507 -----------------------2nd Group
------------------------------
..........
..........
........

please help me ....how i get this in abap.

Thanks

Answer Posted / manoranjan

use control break statements.
AT END OF ID = 10
SUM .
ENDAT.

LIKE THIS U CAN GROUP ALL RECORDS.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of attributes of function module?

638


What is the difference between call transaction method and the session method? : abap bdc

628


Why are insert and append statement used in sap abap?

775


What is the difference between pnp and pnpce? : abap hr

1233


What are the properties of selection screen?

656






Explain the difference between domain and data element?

671


What does hide statement do?

663


What is difference between dialog program and a report?

704


What is the company code? : sap abap hr

672


What are secondary indexes. How can we know which index is being used in a select query?

1081


Can you create a table with fields not referring to data elements? : abap data dictionary

878


What are the different modes of processing batch input sessions? : abap bdc

745


What are the differences between domain and data element?

682


what is field string ? & where we are using field strings?

1668


Explain the different types of view?

706