Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can I use ABAP to insert Excel graphs into a Word document?

Looking for best practices for inserting Excel graphs into a Word document with SAP? Application development expert Matt Billingham describes how.

I'm preparing an ABAP program for creating a Word document as a company report. For that reason, I'm using Desktop Office Integration (DOI) classes and methods. I also need to put some Excel graphs into the report. Is there any way to use SAP to insert an Excel graph object inside a Word document?

I can't find the right method or function by looking at i_oi_document_proxy and so on.

It seems like you have a very challenging project! My advice is, rather than have your ABAP create a Word document, it should read in a prepared blank Word document, and interact with macros embedded in that.

You can call macros from DOI, with parameters. These macros can handle the embedding of the graphs, and finally do a "save as" to save the final document. I hope you are good at VBA, or can learn it very quickly. Good luck.

This was last published in November 2005

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close