‎2005 Mar 31 12:40 AM
Hi,
I have a hexadecimal file , which I have in an internal table. The contents of the Iternal table are from a PDF file on my local machine, by calling:
CALL FUNCTION 'GUI_UPLOAD'
What I want to do is save this information in a database table, so that any user can then get access to it from their machine. What is the easiest way of doing this - I tried creatin a Database table with data type raw, but it always gives me the double number of digits I need.
The iternal table for the function above , is defined as
DATA: mycontent_table LIKE bapiconten OCCURS 1. This uses the data element type SDOK_SDATX , which it does not let me use for the field definition.
Is there a simple way of doing this?
Thanks.
‎2005 Mar 31 6:03 AM
Hi Sims,
I'm sorry I did not quite understand the situation.
1. Are you successful in uploading the data to the internal table ? Or is this where you find the trouble ?
2. What are you referring to by <i>"a certain database table"</i>?
Regards,
<a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=zwcc%2fwm4ups%3d">anand Mandalika</a>.
‎2005 Mar 31 5:34 AM
You could try EXPORT TO INDX instead of using a database table.
‎2005 Mar 31 6:03 AM
Hi Sims,
I'm sorry I did not quite understand the situation.
1. Are you successful in uploading the data to the internal table ? Or is this where you find the trouble ?
2. What are you referring to by <i>"a certain database table"</i>?
Regards,
<a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=zwcc%2fwm4ups%3d">anand Mandalika</a>.
‎2005 Mar 31 8:38 AM
Hi,
the basic idea is this. I have a PDF file available on my machine. I want to transfer the file into the database, so anyone can get access to it.
I have got the data from the file in Hex format using the upload function mentioned. I need to know how to store this data into a database table.
The upload function is working fine. From the database I would then call a method of the document viewer to display the file. This works fine as well.
Thanks