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: 

How2give header for an internal table data whn sending mail in excel format

Former Member
0 Kudos

Hi abapers,

I have a scenario where i pass the data from my internal table to SO_NEW_DOCUMENT_ATT_SEND_API1 FM for sending mail as attachment (in excel) the rows of records are coming but what i want is when the data is shown it should show even the header for each column.

How do i go for this case.Help will be appreciated?

Regards,

Navin C

3 REPLIES 3

Jelena
Active Contributor
0 Kudos

Well, ust add the header as the first line. What exactly is your problem?

Former Member
0 Kudos

Hi,

Please check if you are sending the table parameter 'OBJECT_PARB' also... I think it will tale care of the field names..

ALso Please check this sample code... It will help you a lot...

http://www.sapdev.co.uk/reporting/email/attach_xls.htm

Former Member
0 Kudos

thread closed