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

MS WORD OLE? Some example please?

Former Member
0 Likes
751

Hi everyone,

I'm trying to import a word document but it gets messed up when i use the import function of my text editor.

I know that is not the right way and I've read about Office integration stuff or OLE and what not. But I can't seem to find example of codes for working with ms words.

can anyone show me an example of how I can import a word document and to display it on SAP?

Hi everyone,

I'm trying to import a word document but it gets messed up when i use the import function of my text editor.

I know that is not the right way and I've read about Office integration stuff or OLE and what not. But I can't seem to find example of codes for working with ms words.

can anyone show me an example of how I can import a word document and to display it on SAP?

4 REPLIES 4
Read only

Former Member
0 Likes
705

u have to find out FMS like this

<b>RH_START_WWORD_WITH_DATA</b>---> this is to download data into Word.

or make use of

<b>call method cl_gui_frontend_services=>gui_upload</b>

LSTXKFGS---> to uload.

<b>try to get the logic of this program

LSTXKFGS--->Implementing an RTF Style Sheet in R/3</b>

Regards

Prabhu

Read only

0 Likes
705

Hi Prabhu,

I've tested that function module. it does open Words but what i wanted to do is to have the selected Word document file to be imported and viewed/modified on SAP.

Is that possible? Thanks by the way.

Read only

0 Likes
705

Can you show me how to use the LSTXKFGS?

Read only

0 Likes
705

Btw,I'm not trying to output to Word but just to import a Word document.

Anyone? its kinda urgent. Do we really need to use the OLE concept? any examples?

Can we get the data from Word and sort of convert it into text and shown on text editor?