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: 

How to export an ALV to Excel with its Header and Logo?

Former Member
0 Kudos

Hi guys,

I need to download to excel an ALV to excel. I already know how to download the ALV part, with its propertys, fonts, colors, etc. But I don't have a clue about how to download the header and the logo.

Any suggestion?.

Regards,

Eric

1 ACCEPTED SOLUTION

narin_nandivada3
Active Contributor
0 Kudos

Hi Eric,

Please check this link for sample code regarding LOGO to Excel

For Header to Excel check this link

Hope this would help you.

Good luck

Narin

5 REPLIES 5

narin_nandivada3
Active Contributor
0 Kudos

Hi Eric,

Please check this link for sample code regarding LOGO to Excel

For Header to Excel check this link

Hope this would help you.

Good luck

Narin

0 Kudos

Hi Narin,

I'm going to try that, if it works I'll give you the whole ten points.

Regards,

Eric

0 Kudos

Hi,

Hope my help would solve your issue..

Good luck

Narin

0 Kudos

Hi Narin,

Yesterday we solved the problem, the post that you provide us gave us an idea. we create a macro in Excel and used it as a guide to identify the objects that we needed to include in the ABAP code.

get property of excel_object 'ACTIVESHEET' = activesheet.

get property of activesheet 'PICTURES' = pictures.

call method of pictures 'INSERT'

exporting #1 = 'C:\Program Files\Microsoft Office\MEDIA\CAGCAT10\j0090070.wmf'.

Regards,

Eric

0 Kudos

Hi Eric,

Ok fine.

Good luck

Narin