in a loop of an internal table, what is the use of at first &
at last statements?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / lakshmi
At First - This event gets triggered for the first iteration
of the loop. Generally used for printing report headers.
At last - This event gets triggered after the last iteration
of the loop. Generally used to print totals.
Is This Answer Correct ? | 6 Yes | 1 No |
how many index created for table
how 2 create the normal form by using functional module
Is it possible to pass data to and from include programs explicitly?
what are the Performance technic you used?
What is the project you are currently working and work that you are doing
Do we have to migrate all sapscript forms to smart forms?
How to find out the no of implementations done for a badi
What is read line in abap?
explains how to handle the table control in bdc
Menu painter?
hi.. sap sd is installed in my PC .i m unable to start becoz ,i have given wrong password many times and it's locked.please tell me how can i open SAP logon. tell the process at my id dst.noida@rediffmail.com please advance thanx
What is off cycle payroll run