Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

restrict records at runtime

$
0
0

Hi All,

 

In my report there is a query which might return more than 2000 records and in that case the req is like.

 

If the select query returns > 2000 records..

   message 'Please  execute in background' type 'E'.

else

   it should display in ALV.

 

Now there might be a situation where this query return 50K records , in that case I have to wait for the select query to

execute completely and then display this message. I don't want that.

I want to display the message as soon as the fetched records exceeds 2000 and stop processing any further.

How can we do this??

 

Regards,

Faiz


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>