on 06-30-2008 7:54 AM
i want the serial numbers for my final output table to be displayed, ie. 1,2,..n.
iam using classical report. pls tel the procedure.
thanks all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if u wants that in your list u can go for system fields
SY-PAGNO
Current page during the list creation.
SY-CPAGE
Page number of the first displayed page of the list from which the event was triggered. Counting starts at 1
with luck,
pritam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want the serial numbers to be displayed on the list with out storing then you can do it in two ways..
Assign a counter variable to 1 firstly and as you loop the internal table to write the contents on the list then before writing the contents in the loop assign counter variable = SY-TABIX or directly print SY-TABIX.... If you are loop it in DO-ENDDO then write SY-INDEX....
Or if you want that serial no in internal table then specify that field in your structure of internal table you defined. and after you had retrieved that data into internal table using query or what ever loop that internal table using LOOP--ENDLOOP and assign SY-TABIX to the particular field of internal table structure and modify that field.
Hope you got helpful information.
Any queries please revert back.
Regards
Narin Nandivada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.