2022 Oct 04 12:30 PM
Can someone help me how to upload MS word file data into Internal table. I tries gui_upload Its not working.
Data type : ASC
Please help me.
Thanks,
Nirojan.
2022 Oct 04 12:45 PM
The text is in Word format, including styles, images, etc., it means that you need to "decrypt" it. GUI_UPLOAD is to upload any file, but after that you need to decrypt.
2022 Oct 04 12:45 PM
Why would you want to do that? You're not going to "read" it unless you unpack the archive, parse the XML files and so on.
I guess one could do it via OLE integration, though I haven't tried it.
2022 Oct 05 8:20 AM
Hi sandra.rossi
Are there any function module or method available for decrypt? Please guide me.
Hi c5e08e0478aa4727abc4482f5be390b2
My client requirement is uploading word file program.
2022 Oct 05 8:37 AM
Just because the customer asks, it doesn't follow that it is reasonable, possible or even just easy 😉
As both me and Sandra implied, you'll have to read the file structure somehow. This blogpost is about generating a DOCX file but it should give you a rough idea of what you are up against.
2022 Oct 05 8:44 AM
Lots of people have described in the forum how to read Word documents. Many ways. All are difficult. Probably OLE is the easiest way but many drawbacks: it's slow, it works only in dialog and if the user has MS Word installed.
2022 Oct 05 10:04 AM
You don't.
Microsoft Word is a means for preparing information in a human readable format. It is not used to share data between computers without human intervention.
2022 Oct 05 10:06 AM