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
How many tables are there in sap?
What are the steps to execute session method?
what is the difference between Blocked ALV and interactive ALV?
What is an interface? In what scenario we use interface? What is the difference between abstract class and interface?
What are datasets in abap?
Why do we need enhancements?
What are number ranges?
What are the domains and data element?
hi my name is amit i have passed BE(CSE) with honours(72%) in 2006 yr. i have completed SAP/ABAP training with good exposer. i need a staffing company which can provide me real time exposer in SAP R/3. so plz help me out and send any information regarding on my mail id or tele. no. 9999784331 thanks
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?
Event handling in oops
Can a transparent table exist in the data dictionary but not in the database physically?
What is the difference between function group and function module?
What is the syntax for call transaction? : abap bdc
hi.. sap sd is installed in my PC .i m unable to start becoz ,i have given wrong password many times and it's locked.please tell me how can i open SAP logon. tell the process at my id dst.noida@rediffmail.com please advance thanx