cancel
Showing results for 
Search instead for 
Did you mean: 

read message content in ABAP reporting

laurent_touillaud
Contributor
0 Kudos

Hi,

We need to read the message payload content for reporting purposes. I suppose this data is contained in tables SXMSCLUP and SXMSCLUR. (field CLUSTD)

The problem is that the content is in LRAW type.

Do you know how to convert this type to get a comprehensive content?

Thanks,

Laurent.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please use the function module SCMS_BINARY_TO_XSTRING to convert this data.

I have never tried it but probably this could help you out. Go through below discussion

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.

There are some Java Classes for that..

Just look into this..

http://jakarta.apache.org/commons/codec/apidocs/org/apache/commons/codec/binary/BinaryCodec.html

http://www.stanford.edu/group/coursework/docsTech/oracle/oracle/sql/RAW.html

OR Try defining the message element type as xsd:base64Binary

thanks

Swarup

laurent_touillaud
Contributor
0 Kudos

Hi,

I already saw all these thread answers on the forum but these didn't work.

Regards,

Laurent.

Answers (0)