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: 

REUSE_ALV_GRID_DISPLAY (limit no. of records displayed)

Former Member
0 Kudos

Hi,

I am using REUSE_ALV_GRID_DISPLAY to display the data from my internal table.

My requirement is the maximum number of records displayed by REUSE_ALV_GRID_DISPLAY must be restricted to 500. However, I should be able to export all the records(even if they are more than 500) into an Excel sheet.

Waiting for your help. Thanks.

1 REPLY 1

Manohar2u
Active Contributor
0 Kudos

To restrict to display in Grid ALV, you need to pass an internal table with only 500 records, showing a message to the users.

And to download, you need to pass the main internal table to download to excel sheet, then to do this you need to add a custom buttom in toolbar and use GUI_DOWNLOAD FM to download into excel.

Regds

Manohar