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

How do you send files to the legacy systems from sap and vice versa? How does one know that the legacy files have come on to the sap server you are working on? : abap bdc

1086


What is screen flow logic? What are the sections in it?

1212


Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subrc after perform?

1099


what is sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?

2419


Explain the client concept of sap.

1030


What is the difference between a pool table and a transparent table and how they are stored at the database level?

1062


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

937


What is primary index?

1015


What are the pooled and cluster tables?

1025


What is the difference between Classic badi and Kernal badi ?

2535


Hi every one ! You people are doing a great job here , Im going to attend Tata Technologies interivew on this sunday,Can anyone who has already attended this company interivew or other companies interivews in abap pls share ur experience with me and help me to get into job my id ushareddyabap@gmail.com. Thankyou verymcuh

1929


How do you retrieve the data for repetitive structures ? : abap hr

1224


Define batch input session?

1009


What is a table pool?

1150


How can we determine a vendor is Bloc/Unblock from the table LFA1?

2096