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

Header is missing in Excel sheet.

Former Member
0 Likes
961

Hi Everyone,

In my scenario, i need to send the ALV output as excel sheet attachment.There i 'm successful, but the field names are missing in the Excel sheet. So, do we have any standard function module for sending the headers to excile file or we need to hardcode all the field names and append it to the internal table , which we are using it for sending mail?

Thanks & Regards,

Akshay

Edited by: akshay0222 on Dec 23, 2011 12:06 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
770

Hi,

You try to expand the columns and download.

The program which you have coded may be manually the conversion between internal and external units which you shouldn't have done. And the ALV grid tries to convert internal to external units as well at export time and since it was already in external format it lead to an error. For example pieces is 'ST' in internal format and may be 'PC' in external. And you should pass the internal value to the grid.

All The Best.

Warm Regards,

PavanKumar.G

2 REPLIES 2
Read only

Former Member
0 Likes
771

Hi,

You try to expand the columns and download.

The program which you have coded may be manually the conversion between internal and external units which you shouldn't have done. And the ALV grid tries to convert internal to external units as well at export time and since it was already in external format it lead to an error. For example pieces is 'ST' in internal format and may be 'PC' in external. And you should pass the internal value to the grid.

All The Best.

Warm Regards,

PavanKumar.G

Read only

0 Likes
770

Hi..,

I think you have to give the headers explicitly..