‎2009 May 25 10:35 AM
Hi,
I am currently using REUSE_ALV_LIST_DISPLAY function module for ALV display.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = l_layout
it_fieldcat = t_fieldcat
it_events = t_events
TABLES
t_outtab = t_final1
EXCEPTIONS
program_error = 1
OTHERS = 2.
The problem which I am facing is that when I try to download to Excel from the ALV display the Columns headings and corresponding data are getting misaligned.Like heading is getting downloaded at seperate column and their corresponding data in another column.
Could you please suggest your views on this issue.
Thanx in advance.
‎2009 May 25 11:00 AM
Hi,
Check the link. this is a sample program used to download data from alv to excel sheet.
regards,
mani
‎2009 May 25 10:38 AM
This occurs due to the insufficient line size. Try to reduce the lengths of the fields as much as possible and specify the line-size in the REPORT statement.
Regards,
Shailaja
‎2009 May 25 10:54 AM
Hi,
Tried increasing the line size from 30 to 255 but didnt work. Could you plz suggest ?
Thnx.
Nandha
‎2009 May 25 11:00 AM
Hi,
Check the link. this is a sample program used to download data from alv to excel sheet.
regards,
mani
‎2011 Jan 19 11:10 AM