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

On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

1014


What are the disadvantages of using explicit enhancement?

1958


What do is landscape in sap project, I think its related to no. Of servers used, pls correct me if I am wrong, or what it is? : sap abap hr

1026


How do you find if a logical database exists for your program requirements?

1072


What is the logo in sap script?

998


How to create a check box/option button in a list?

2953


What are the advantages of different types of bdc's?

900


Type casting and error handling

1367


What is meant by hot spots? : abap data dictionary

1027


Differentiate screen painter from menu painter.

1003


how to track records from data dictionary?

2029


What are the events driven batch jobs?

1006


Can you show multiple alvs on a single screen?

1051


Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?

975


Can a domain, assigned to a data element be changed? : abap data dictionary

983