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

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


Please Help Members By Posting Answers For Below Questions

What work you have done in HR module

1426


What are the functional modules used in sequence in bdc? : abap bdc

1172


Can i Have Some Realtime Examples On Modulepool programming.

6200


Explain what is a foreign key relationship? Explain this with the help of an example.

1127


What is static attribute

1625


Why we are using Macros instead of Function Modules

2190


When value table becomes check table?

1135


What is your approach for writing a bdc program? : abap bdc

1088


The extract statements in field groups can be used before or after processing the sort statements. State true or false. : abap modularization

1096


Have you processed BDCs ?

1117


singleton class

1455


What is the use of the raising exception?

1046


What are the different types of abap reports in sap?

1378


Normally how many and what files get created when a transaction program is written?

1058


In an abap/4 program how do you access data that exists on a presentation server vs on an application server?

1262