‎2008 Feb 11 10:48 AM
Dear all,
Can you please tell me that whether in ALV Grid display this is possible.
Suppose if I am getting 198 total entries that I want to display.
Out of this I want to display 99 on first page and other 99 on next page.At the same time the top of page will change for eg the first page contains the 99 record of Slip No 100 and the next 99 of slip number 101.This Slip number is to be displayed in the top of page
‎2008 Feb 11 10:51 AM
Hi,
You can use the fm 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' for displaying the list as hierarcial sequential list. It could be easy to code also.
Rgds,
Bujji
‎2008 Feb 11 10:58 AM
Hi,
In ALV reports also you can give the line-count at the top. Then according to line-count it will display the pages. your functionality can be reached by using top-of-page declaration. This can be done by using function module Reuse_ALV_Commentary_write.
Thanks
Sarada
‎2008 Feb 11 11:06 AM
Dear Sardadevi,
I didnt get it....i want the first 99 record on first page and the next 99 on the other and so on......how to do this?
what will the user have to do to go the next page
‎2008 Feb 11 11:37 AM
Rahul,
It is not advisable and recommended to use GRID function module with line-count ( As far as my knowledge goes ) even though if it is possible. you need to use REUSE_ALV_HIERSEQ_LIST_DISPLAY function module which should fit into your requirement. if you don't know how to use this funcion module, there is an excellent demo program 'BALVHT01'. just exceute the program and check the result.
Reward if you find my comments useful.
Harikrishna.
Edited by: harikrishna indugu on Feb 11, 2008 12:38 PM