08-17-2007 7:11 AM
Hi,
I have a requirement wherein i need to display the count of entries at the end of the SAP List Viewer in an ABAP Query.
Could you please suggest me the solution for this.
Thanks,
Aaditya
08-17-2007 7:19 AM
08-17-2007 7:23 AM
Hi Kiran,
As far as i know a standard report is generated at the back-end of the ABAP query. So using SY-tabix will not work.
If we use ABAP list for display purpose we can set the counter check for any field and we will get the count at the bottom. But this is not working for SAP List Viewer. I need some solution for this.
Thanks,
Aaditya
08-17-2007 7:28 AM
If I am not wrong you must be using an internal table to get the records and print them.
Just do one thing use <b>Describe</b> command after filling the internal table.
syntax:
DESCRIBE LIST NUMBER OF LINES lin.
where lin should b an integer.
lin will then contain the no of lines(records) in the list.
Please reward if useful.
08-17-2007 7:32 AM
Hi,
I am not sure exactly how an ABAP query works. I had created a query through trx SQ01. I have specified joins on four tables. Now i can see only a standard SAP program associated with it.
As we use internal table in our se38 report they have not used it. The logic is something different and i am not able to get it.