on ‎2022 Jan 27 1:46 AM
Hello,
I was trying to store base64 string image content into a Database field having type abap.lraw( 1000 ). I am trying in my trial BTP account, and I don't see any released FM/class to convert string to xstring.
so I am using the below method which is not working, I see.
<table>-<field> = conv xstring( base64 ).
I think I am doing something wrong! Can anyone please let me know a working method to achieve this?
Thanks in advance!
BR, Somnath
Request clarification before answering.
The classes CL_HTTP_UTILITY and CL_WEB_HTTP_UTILITY are both released for Cloud (C1 contract). They both contain the method DECODE_X_BASE64.
class-methods DECODE_X_BASE64
importing
!ENCODED type STRING
returning
value(DECODED) type XSTRING .
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 |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.