on 02-13-2009 12:24 PM
Hi.
I am experiencing problems when trying to send a binary file through a proxy to XI. It seems that the generated proxy implicitely transforms the xstring from hexadecimal to base64, but this transformation does not seem to be correct.
Therefore I am trying to do the conversion before calling the proxy-class, however I am uncertain how to do this.
I have found a small example that explains how to do a conversion from an ABAP string to base64-format: [https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/encodingBASE64in+ABAP], but I cannot find a similar way to convert an xstring.
When searching further it seems that I have to make a "transformation" and use in able to do it, however I can't get this to work. I have read this: [http://www.sap-hefte.de/download/dateien/1112/076_leseprobe.pdf]
I would very much like a small example that converts xstring = 'ABCDEFG' to base64, which should be something like "q83v".
Thanks for any help in advance.
Jesper.
> I would very much like a small example that converts xstring = 'ABCDEFG' to base64, which should be something like "q83v".
FM: SSFC_BASE64_ENCODE
note that 'G' is not allowed in xstring.
ABCDEF -> q83v
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.