in a loop of an internal table, what is the use of at first &
at last statements?
Answer Posted / p.lokesh
These come under Control Break Statements :
At FIRST :
This is used for system Field Heading in ABAP program
At NEW :
This is used to display the fields.
Ex At New Carrid.
write : /Carrid.
endat.
when ever the new carrid is reached, carrid wiil be
written.
At END :
This is used for row-wise Calculation i.e, Sub-total.
Ex : At End Carrid.
uline.
Endat.
The end of carrid is reached, a line will be drawn.
At LAST :
This is used for Calculation of Grand total
Ex: At Last.
wirte : / Grand-Total.
Endat.
When entire processing of entire internal table is
over.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What work you have done in HR module
What are the functional modules used in sequence in bdc? : abap bdc
Can i Have Some Realtime Examples On Modulepool programming.
Explain what is a foreign key relationship? Explain this with the help of an example.
What is static attribute
Why we are using Macros instead of Function Modules
When value table becomes check table?
What is your approach for writing a bdc program? : abap bdc
The extract statements in field groups can be used before or after processing the sort statements. State true or false. : abap modularization
Have you processed BDCs ?
singleton class
What is the use of the raising exception?
What are the different types of abap reports in sap?
Normally how many and what files get created when a transaction program is written?
In an abap/4 program how do you access data that exists on a presentation server vs on an application server?