Hi All,
I have a custom mobile client for SAP MI 7.1 and I'm synchronizing a data object that contains attachment.
This attachment file (binary) is coming in GET message as a string (described as SAP data type RSTR).
My question is: how should I convert this rawstring message content to a valid binary file in Java?
When I convert the String directly to byte[] array and save to file, it is always corrupted.
Can anyone help, please?
Kind regards,
Piotr