Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Number of Entries icon should come on report selection screen

Former Member
0 Kudos

Hi,

In my requirement, I want Number of Entries icon on my report selection screen.

Means when i insert the required selection parameter's, then i want to see the total number of entries, which is come after the execution of my report.

Please let me know that how can i do it...

Regards..

3 REPLIES 3

Former Member
0 Kudos

HI.

Check the link

I have extract the part from the above link.

if u want to display the no of line items, as shown in SE16, u create a SET STATUS with a push button with name No of Entries on the report screen.For that status, u write the code as to display no of lines in ur table by using either

DESCRIBE TABLE itab LINES lin.

lin gives the no of line items.

or

select count(*) from vbap.

write sy-dbcnt.

U got require output, when ur pressing No of entries button, then this will display on the output screen.

Thanks and Regards

Sachin Sharma

0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

You can do it in very simple way...

put the Parameter as no. of entries and take the number into p_var

use some thing like this" select * into table it_mara from mara up to p_var rows."

Regards,

Naresh.