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

hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.

1972


What are logical databases? : abap hr

1155


Can you delete data element, which is being used by table fields. : abap data dictionary

1144


How are the date abd time field values stored in sap?

1096


What is the difference between a dialog program and a report?

1093


What is lock mechanism? How do we create lock objects in abap?

1208


Can a posting run be deleted? : sap abap hr

1071


Difference between top-of-page and top-of-page during at line- selection?

2345


What is direct input method ?

1948


Can you set up background processing using call transaction?

1025


What are the different function modules used in sapscript?

1043


What is the function module to popup contents in the internal table?

1031


What is sql trace? : abap data dictionary

1195


A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?

1446


Explain client-dependent and client-independent tables.

1077