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...

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

How do you restrict the data to be entered in the payroll area? : sap abap hr

1045


What is the full form of spro? : sap abap hr

1306


Where do you find info on new developments in SAP?

2009


HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM?

2057


How is conversion of data types done between abap/4 & db layer? : abap data dictionary

1139


how to create view in bdc..??

2807


what are the critical issues u face in ur project?

2533


What is the syntex used to call a screen as dialog box (pop up)?

1153


Why do we use FOR ALL ENTRIES and what is the pre-requisite

1396


What is alv programming in abap? When is this grid used in abap? : abap hr

1137


How to get that a secondary index is attached to a select query?

1339


What is runtime analysis?

1127


what is the difference between Blocked ALV and interactive ALV?

2355


what is leave to TRANSACTION?

1468


What is the use of at new statement ?

1774