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: 

Uploading word doc into Internal Table

arunkumar_yerram
Explorer
0 Kudos

Hi,

Could you please let me know how to upload <b>A WORD DOC</b> into an Internal Table.

The function WS_Upload is to upload a text file with extension DAT and not to upload .DOC.

Please let me know the possibilities.

Thanks

Arun

4 REPLIES 4

Former Member
0 Kudos

Hi Arun

You should use the methods GUI_DOWNLOAD and GUI_UPLOAD of the class CL_GUI_FRONTEND_SERVICES to upload your documents.

These methods still only allow ASC or BIN uploads.

Kind regards

Stephen

Former Member
0 Kudos

Hi Y Arun

You may have to go for OLE, please check the link below:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/technologies/an easy reference for ole automation.article

Regards

Ashish Jain

Former Member
0 Kudos

hi,

use MS_WORD_OLE_FORMLETTER FM

Cheers,

Sasi

0 Kudos

Hi Sasi!!

Do you know how to use this Fm- MS_WORD_OLE_FORMLETTER???

I have to add my fields to the word doc (when running the print program of layout) and open this word doc with added values...

Thank you in advance.

DIANA