Application Development and Automation 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: 
Read only

table rows

Former Member
0 Likes
544

hi

is there a function which get table name and return the numbers of rows in it ?

(i dont want to use SELEC COUNT(*) FROM XXXX )

THANKS

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
473

You can use the Function module : DMC_COUNT_TABLE_ENTRIES

Pass the table name and the IM_Exact_count = 'X'

you will get the number of entries in a table.

2 REPLIES 2
Read only

Former Member
0 Likes
473

You don't want or you can't use Select Count?

I really don't know if there is a FM for it but using Select Count you will waste just one code line.

Can you explain your problem using the select way?

Read only

Former Member
0 Likes
474

You can use the Function module : DMC_COUNT_TABLE_ENTRIES

Pass the table name and the IM_Exact_count = 'X'

you will get the number of entries in a table.