Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

# symbol in string after base64 encoding/decoding

Hello!

We are sending XML files from our ERP to another SAP system. In order to send those files we first encode them, insert encoded text into SOAP message body and then send to a webservice that deals with forwarding the request to our target system. However there is a slight mistake in encoding the xml file - after decoding there appears to be a "#" symbol in the very beginning of the file. I've debugged the encoding process multiple times and this symbol does not exist there before encoding. This doesn't necessarily mean that there is a "#" symbol in the file. It could be newline or some other kind of symbol yet I used CONDENSE on that string and it doesn't make the problem go away. Has anybody else had this problem in the past?

I should also add that the files being read are BCM Batch payment files that are stored in TemSe.

replied

Hi,

If you write the file as plain text to some share folder do you have this problem ?

Do you see the character in debug ? if yes find out the hex code.

            

regards.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question