05-28-2008 10:38 AM
Hi all,
How do i print the total no of Records per page in the Smartforms.?
on the last page ihave to print the Grand Total of all the pages ?
In the Programs lines node i have written the following.
Select vkorg vbeln land1
from vbrk
into table itab.
describe table itab.
after the Program lines node i have created the Text node ...and in that i have written
&sy-dbcnt&.
But in the output i am getting only 3.Actually there are 341 records in DB.
So, how do i slove my problem ?
Thanks in advance
Krupali.
05-28-2008 10:42 AM
05-28-2008 10:46 AM
hi ,
use variable as:
describe table itab.
i = sy-dbcnt.
and declare i(C) in text element.
Reward if helpful.
05-28-2008 10:47 AM
Hi
You need to define a new counter variable and update it after every record printed(+1) . Print this variable in the footer.
If useful give points
Cheers
Vamshi