Application Development and Automation 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: 
Read only

ALV

rahul2000
Contributor
0 Likes
514

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

4 REPLIES 4
Read only

Former Member
0 Likes
483

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

Read only

Former Member
0 Likes
483

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

Read only

0 Likes
483

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

Read only

Former Member
0 Likes
483

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