Skip to Content
Former Member
Mar 10, 2006 at 02:28 PM

Conversion between RAW and Strings


Hey all,

Im accessing some RFC functions from XI which return and take parameters in the RAW format.


RAW: Uninterpreted byte string. Fields of type RAW may have only a maximum length of 255 in tables. If longer raw fields are required in tables, you should select data type LRAW.

If I for example execute a RFC from the abap system (using transaction se37), one of the results is "5ECD6F4D6C6E3242921025FE74AC5153" while when i call the RFC from XI the result with the same input parameters is "Xs1vTWxuMkKSECX+dKxRUw==".

Is it possible to convert these (in both directions) between strings and raw format, preferably with java mapping ?