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
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
What is screen flow logic? What are the sections in it?
Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subrc after perform?
what is sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?
Explain the client concept of sap.
What is the difference between a pool table and a transparent table and how they are stored at the database level?
What are the advantages of different types of bdc's?
What is primary index?
What are the pooled and cluster tables?
What is the difference between Classic badi and Kernal badi ?
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
How do you retrieve the data for repetitive structures ? : abap hr
Define batch input session?
What is a table pool?
How can we determine a vendor is Bloc/Unblock from the table LFA1?