on 09-23-2009 6:36 AM
Hi,
I am supposed to read the data from a powerpoint(ppt) and display the data. I am supposed to use Webdynpro for this. Can anybody suggest me on this?
THANKS IN ADVANCE.
Regards,
Pavan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know why people are suggesting the use of CL_WD_RUNTIME_SERVICES=>attach_file_to_response . That makes no sense at all. That is how you can download a file from ABAP to the frontend.
If you are going to want to read a file from the client machine, you need the fileUpload UI element. Once uploaded you will have a binary string with the raw contents of the document. Technically this is all you need to read a file from the frontend. But now comes the hard part. I don't think the PPT files are very easy to read. They use a propriatery, Microsoft created binary format. They aren't text based or XML based or anything else that would be easier to read in ABAP.
Microsoft does publish the specifications for the binary format:
http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx#EOB
From the looks of the format, you will have to use Bit level processing in ABAP to read the file contents (possible, but a pain in the butt).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.