09-10-2008 1:29 PM
I need to find a print-top-of-page type event for the ALV class cl_salv_table. This would be similar to the event print_top_of_page for class cl_gui_alv_grid. What this does is allows you to create the report header, the header that will be printed or displayed if the ALV is viewed in list format.
I found the event top_of_page in the class CL_SALV_TABLE but I do not see how I can set the heading.
Any ideas?
Regards,
Davis
09-10-2008 1:32 PM
09-10-2008 1:42 PM
I suppose you can't do it without using a container and a screen? Right now I am displaying the ALV without both of those. I was hoping that I could use the top_of_page without changing too much of the ALV code. I guess that isn't possible?
Davis
09-10-2008 1:49 PM
09-10-2008 1:55 PM
Yes, however, it would be quicker for me to change my code to use a screen/container than it would be to wade through his code, create my own class, and then change my code. I appreciate what you showed me but it isn't quite what I was hoping for. I believe what I was hoping for may not be possible.
Regards,
Davis
09-10-2008 1:58 PM
>I believe what I was hoping for may not be possible.
I tried without container but failed . May be some one tried it , wait for some more inputs.
09-10-2008 2:00 PM
Thanks for your help. I have been waiting for this day to happen; I knew I would have to change my ALV template sometime. I guess today is the day.
Thanks again!
Davis