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

OLE using CL_IXML Class.

raghavendrareddy
Explorer
0 Likes
846

Hi Experts,

I'm new to working with OLE using the class. Client is requesting a modification in a program implemented using the class CL_IXML. The program displays output in ALV, if the user clicks on a button in the ALV tool bar a mail is triggered with the ALV output as an attachment in excel format.

The code is similar to the one found in the following link:

Formatted Excel as Email Attachment - Code Gallery - SCN Wiki

Now i was asked to include two more rows into the existing excel, like

I have searched in SCN on how to merge two cells using OLE. I got many results like the following link:

But this is not using the class CL_IXML.\

Please suggest how to merge cells using the class CL_IXML.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
681

Quote about the terms: this thread in the code gallery is not OLE, it's a XMLSS document (Excel 2003 format) built via iXML.

I prefer to tell you the method: create the Excel document as you wish, save it as Excel 2003 format, and open it using Notepad and locate "company LIMITED" and see how it is formatted. Then reproduce the logic via iXML.

Quote about the terms: this thread in the code gallery is not OLE, it's a XMLSS document (Excel 2003 format) built via iXML.

I prefer to tell you the method: create the Excel document as you wish, save it as Excel 2003 format, and open it using Notepad and locate "company LIMITED" and see how it is formatted. Then reproduce the logic via iXML.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
682

Quote about the terms: this thread in the code gallery is not OLE, it's a XMLSS document (Excel 2003 format) built via iXML.

I prefer to tell you the method: create the Excel document as you wish, save it as Excel 2003 format, and open it using Notepad and locate "company LIMITED" and see how it is formatted. Then reproduce the logic via iXML.