Skip to Content

Update the RAW STRING Table field data with additional information

Jul 17, 2017 at 10:49 AM


avatar image
Former Member

Hi Experts,

My requirement is to read a standard table containing RAW STRING field data and enhance the field data with additional information. The enhanced table field data has to be updated in the table again as a rawstring.

Can the field data shall be converted from RAW STRING to STRING and update the additional information ? When I tried the conversion to STRING but it resulted to an unreadable format/characters.

Please advise on how to handle this scenario

Thanks in advance,


10 |10000 characters needed characters left characters exceeded

what is the data format/encoding of the raw string? what approach did you try when converting to string?

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Jul 17, 2017 at 04:00 PM

When you convert a raw string to a string in ABAP, you normally get its hexadecimal representation. It seems that you casted the raw string instead of converting it.

You must select it first into an XSTRING and assign that to a STRING. Backwards the same vice versa.

But maybe it's a good idea to read some documentation and learn some basics first.

10 |10000 characters needed characters left characters exceeded