how to caluclate sub total of some specific fields ?

Ex

1 a 2000
2 a 324
3 b 3245

i want total of all a's ,,,
please dont use collect

Answer Posted / aashu

Hi,

You can use control break statement 'at end of & end at'
for a's field, within loop and endloop statement.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of at new statement ?

1359


Why are insert and append statement used in sap abap?

671


Hi to all abap gurus iam new to abap and my querry is as follows . and i feel so happy if u give exact anwers ? Querry1: i have one page( named "page1" )in my script with three windows(logo,adress,main windows) my requirement is to display some dynamic data in the script that is list of orders of the customer whn u give the customer number in selction-screen .then we can go for main window only to dispaly dynamic data ? or is there any other option ? then what should we give as apage number in the next page attribute in the header information. suppose if i dont give "page1" in the next page attribute as anext page what will happen ? i mean that dynamic data will be displayed or not ? Querry2: one one more querry incase if we have two pages in my layout .in page1 (3 windows as said above ) and page2 ( only logo and address window ) and no main window in page2. now if we give "page2" as next page in the next page attribute of page1 then that dynamic data will be displayed or not ?

1612


What are the table controls in bdc ? What is the difference between bdc and lsmw ?what is the difference between bdc and rfc ? : abap bdc

560


How is conversion of data types done between abap/4 & external level? : abap data dictionary

658






What functions does a data dictionary perform ?

565


What are the system fields you have worked with? Explain?

671


How do you work with semi colon se[arated files in BDC ?

1455


Can i Have Some Realtime Examples on Badi ?

8292


What is the difference between a structure and an append structure?

541


What are pooled tables?

622


Explain get cursor field?

674


What is the differences between abap and ooabap. In which situation we useooabap?

715


What are conditional chain statement?

751


What does the insert statement in extract datasets do?

628