cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion between RAW and Strings

Former Member
0 Kudos

Hey all,

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

From http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f2e5446011d189700000e8322d00/content.htm:

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 ?

Greetings,

Hannes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try defining the message element type as xsd:base64Binary

That should take care of ur issue.

cheers,

Naveen

Former Member
0 Kudos

Using xsd:base64Binary solved our problem, so java mapping was not necessairy.

Thanks,

Hannes

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos