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

What does the insert statement in extract datasets do? : abap modularization

1063


how to modify the standard method as per your requirement

1444


​​What is amdp (abap managed data procedures)?​​

1199


What is an internal table?

1192


Explain the different types of screen keywords?

1087


Difference between top-of-page and top-of-page during at line- selection?

2346


What does the ‘suppress dialog’ do?

1491


What is bdc programming? : abap bdc

1120


How to define selection screen?

1127


PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..

2168


​​What is constructor expression in​​ nw​​ abap​​ 7.4?

1077


How many default tab strips are there? How to insert more tabs in it?

1128


Double click function on the lists, identifying the line selected by the user on the list?

1045


How did you transfer legacy data in the mid of the financial year (us) to the sap system? : sap abap hr

1041


Does the external program run in the same sap luw as the caller, or in a separate one?

1139