on 03-17-2010 5:07 PM
Hello,
I have an application where the user enters some data on the first view and clicks on a button. The result is an ALV table, displaying 10 rows at a time. If the user pages to the next page, then goes back to the first view, enters some different data and clicks on the button again, the ALV table is displayed, but is starting at the second grouping of records (rows 11 - 20). How can I ensure that when the ALV table is displayed, it always starts at row 1?
Thanks.
Tim
Hi,
You can use the following method of class CL_SALV_WD_CONFIG_TABLEIF_SALV_WD_TABLE_SETTINGSSET_FIRST_VISIBLE_ROW
It takes Integer as input for Row Number to be displayed as first row.
get you ALV model reference and call this method.
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Manas. That helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.