cancel
Showing results for 
Search instead for 
Did you mean: 

Update the RAW STRING Table field data with additional information

Former Member
0 Kudos

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,

Murugesh

larshp
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.