cancel
Showing results for 
Search instead for 
Did you mean: 

How to display simple text on an embedded Word document within SAP GUI using OLE without opening an

MalekZekri
Newcomer
0 Kudos
95
I'm working on an SAP ABAP program that embeds a Microsoft Word document into the SAP GUI container using i_oi_document_proxy from SAP's Office Integration. I need to display a simple text, retrieved from an internal table, directly inside this embedded document without opening an external Word instance. My goal is to ensure the text appears within the integrated Word document in the SAP GUI container itself.

i wanted to work with ole2 at first as it offers simple manipulation for the document but it opens a new instance of word independent and not in the container , i didn t know how to make ole2 work on the document created with i_oi_document_proxy. is there a way to do so!!! if not if there a way to display a simple text from the abap code to the integrated word document!!!

I've tried several methods to load and display the text:

Populating the internal table with sample text and attempting to load it into the embedded document. Using OLE2, but this approach often creates a separate Word instance outside the SAP GUI container, which is not what I want. My expectation is to use OLE (or an alternative approach, if available) to manipulate the embedded Word document directly, displaying text in it without launching Word independently. 

Accepted Solutions (0)

Answers (0)