05-04-2017 4:27 PM
Hello Every One,
I have a requirement ,
There is a one word file in DMS.
I have to replace the variable data in that,
for that i am sending the word file to application server and
using the Open Dataset input reading the data from the file into internal table.
but,
When I am reading a word file from application server data is coming in '#' format.
How can i resolve it or is there any other option to archive this functionality.
Need experts Help please.
Thanks
Nagavenu.
05-05-2017 8:36 PM
Do you understand that .doc format is not a text format and you can't simply open it as a plain text file and "change a value"? Have you ever tried opening a .doc file in Notepad or other plain text editor? Go ahead and try.
You'd need some application that can read .doc format to open the file and make changes in it. .docx format is different from .doc though but still not the plain text either.
You might want to reevaluate the business requirement here. It's a bit unusual to expect an ABAP program to manipulate Word files in DMS in this way.