Count Rows before Excecution of BEx Query
I would appreciate it if someone could help me in the following matter:
I have a BEx query with a large number of rows / records (sometime about more than 100.000 rows) depending on the selection in the selection screen. I would like to count the number of rows of the selection before excedcuting this query in order to send an error message, so that the user needs to make a new selection with less rows due to the fact that we get short dumps. The problem I have, I cannot find a function module or something else to get the number of the selected rows.
Can anyone help me to solve this????