Skip to Content
avatar image
-1
Former Member

Update the RAW STRING Table field data with additional information

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Add comment
    10|10000 characters needed characters exceeded