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 Report Issue

Former Member
0 Likes
413

I have an ALV report which has a TOP_OF_PAGE form that is triggered at event top_of_page, where i am printing the header information.

The problem is , if i run the report in background and download that in an XL sheet(SM37), the header information repeats at regular interval (recurring occurance of TOP_OF_PAGE)

However when this is run in foreground, this doesn't happens.

Let me know how to stop the top of page header information for more than one time while Execution in background.

I have an ALV report which has a TOP_OF_PAGE form that is triggered at event top_of_page, where i am printing the header information.

The problem is , if i run the report in background and download that in an XL sheet(SM37), the header information repeats at regular interval (recurring occurance of TOP_OF_PAGE)

However when this is run in foreground, this doesn't happens.

Let me know how to stop the top of page header information for more than one time while Execution in background.

3 REPLIES 3
Read only

anversha_s
Active Contributor
0 Likes
383

hi,

chk this.

if sy-binpt. "back ground job

restrict top_of_page only once

else.

in for ground ur need

endif.

rgds

anver

if hlped rwrd points

if helped

Read only

Former Member
0 Likes
383

then you can use TOP_OF_LIST event.

populate the same form name to this EVENT instead of TOP_OF_PAGE event. this will trigger only once in the execution.

Regards

srikanth

Message was edited by: Srikanth Kidambi

Read only

Former Member
0 Likes
383

When executed at the background, as i obtain the list in XL sheet, the header data is getting repeated for every top_of_page.

Now , I am catching the event 'top_of_list' instead of Top_of_page, and it solved the purpose to an extent now the problem is : the column header is getting repeated at regular interval (repeated occurance of top_of_page form),

This is happening only in the case when i execute the report in background and download the result in XL.

Pl suggest how to supress the multiple occurance of column heading.

regards

Alok Pathak.