Answer Posted / niranjan
The Control Break Statements are used to print headings,subheadings,totals and subtotal.
We must use this statements inside the loop.
1.AT FIRST...........ENDAT:It is useful to print headings.
-->it will triggered before starting a first record in a loop.
2.AT LAST............ENDAT:It is useful to print TOTALS.
-->it will triggered after the last record in a loop.
3.AT NEW ON..........ENDAT:It is useful to print subheadings.
-->it will triggered before starting a new value for that particular field.
4.AT END OF..........ENDAT:It is useful to display sub-totals.
-->it will triggered after heading the old value.
5.ON CHANGE OF.......ENDAT:It is same as 'AT FIRST' but the only difference is we can use 'ON CHANGE OF' in any kind of loop statements like loop.....endloop,select.....endselect,do.....enddo,while.....endwhile.
-->it will triggered before starting a new value.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
Explain the disadvantages of logical databases?
What is the function of the correction system? : abap data dictionary
When to use logical database?
The extract statements in field groups can be used before or after processing the sort statements. State true or false. : abap modularization
how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?
If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?
when does a list get sent to the screen on the presentation layer?
How does the interface between the dynpro and the abap/4 modules take place?
10) How to get Item Header in Sales Order?
How does the interection between the dynpro and the abap/4 modules takes place?
How many types of buffering? : abap data dictionary
What are the data types of the abap/4 layer? : abap data dictionary
How do you document abap/4 programs? Do you use program documentation menu option?
What are the list of screen elements?
How to create any functions? How to go about it?