on 08-13-2013 1:49 PM
Hi All,
Please guid me how to save base64 string to sap.
I created Data , model for odata and i added in service.
I am using javascript and html5 to consume sap data.
I am using post method in URL. I can post data from my html file to SAP.
Now i want to extend my application to save image also in sap.
In javascript i have base64 string.
I have following doubts.
1. which data type i need to use in SAP entity structure to read base64 string data.
2.How to save Base64 string data in table.
Hi Suresh,
1. You have to use STRING data type in SAP to receive base64 string data.
2. In sap you have to call method utility->decode_base64 to convert the base64 data to binary .
3.Once data is converted to binary you can directly to save to sap table.
Thanks,
Arun Chembra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
Currently I have also face the same scenario, and I would like to know that if you have already find a solution? could you kindly share your experience to me?
Best regards,
Ray.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.