cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert a xstring into string in Steampunk?

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
View Entire Topic
Andre_Fischer
Product and Topic Expert
Product and Topic Expert

A colleague gave me the hint to use the class cl_abap_conv_codepage.

So the following line of code did the trick.

rv_csv_data = cl_abap_conv_codepage=>create_in( )->convert( raw_string ).

There is also a static method called "create_out( )" that can be used to convert strings into xstrings.

zayn_m
Explorer
0 Kudos

thanks Andre!