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: 

END-OF-PAGE ALV Hierarchy List

Former Member
0 Kudos

I have a requirement where I am displaying a supplier and the materials corresponding to it in the form of a hierarchy using the ALV Hierarchy List function module REUSE_ALV_HIERSEQ_LIST_DISPLAY.

At the end of every supplier new page is triggered. I need to print some text about the supplier before the new-page is triggered, so this needs to be done in 'END-OF-PAGE' event.

In the function module help it is given that it is not possible to use 'END-OF-PAGE' event in Hierachy list.

Can some one give me any suggestions on how to make this functionality possible?

2 REPLIES 2

Former Member
0 Kudos

Hi,

Just a wild guess...Use the statement <b>RESERVE n LINES</b> and at a point in your program where you consider appropriate, like at TOP-OF-PAGE, set line no. to TOTAL_LINES - n and write anything you like. Reset the line no to original value.

See if it helps.

Regards

0 Kudos

Hi,

Thanks for the reply but I wonder whether the procedure could be used in ALV.

Bye

Sudha