I am converting some code. In the past string was used, now rawstring should get used.
This worked with string, but now fails with rawstring:
data my_table TYPE TABLE OF rawstring.
concat_lines_of( table = my_table sep = `, `)
How to make above lines work? In my case rawstring contains utf8 encoded data. The result should be a xstring (sequence of bytes)
It does not really matter here, but in Python this would look like this:
my_list = [my_byte_sequence1, my_byte_sequence2, my_byte_sequence3]
big_byte_sequence = b', '.join(my_list)