on 09-25-2008 6:11 AM
Hi Experts,
I have an Office UI element on my web dynpro View. It is selected as MS Word. Now I want to save data from this word file to a table in SAP. Can we have a data element which can store such type of large data. Please suggest.
Regards,
Vaibhav Tiwari.
Hi Tiwari,
U can use the data element like char1000, char3000 for storing long text.
If u have a table of strings, then u can use string_table table type.
Regards,
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
Here I want to store images as well from the word file. So I need to store data in the form of bytes. XString is a type in ABAP which stores data in the form of bytes. But we can't have a table attribute of this type. Can you please provide with some other helpful solution.
Regards,
Vaibhav Tiwari.
>But we can't have a table attribute of this type
Actually you can. You can define a database column as RAW STRING. This is exactly the same as a XSTRING variable and in your SQL statement you just pass it an XSTRING. It will store the entire contents of the XSTRING as a single column in the database. Large size is not a problem.
User | Count |
---|---|
85 | |
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.