Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Conversion of XSTRING to STRING

Former Member
0 Likes
2,648

Hi,

How to convert a XSTRING variable to STRING variable?

Regards,

SAP Lover

1 ACCEPTED SOLUTION
Read only

Former Member
5 REPLIES 5
Read only

rainer_hbenthal
Active Contributor
0 Likes
2,608

What do you want to achieve?

Read only

valter_oliveira
Active Contributor
0 Likes
2,608

Hello.

For that, use FM CRM_IC_XML_XSTRING2STRING.

Regards,

Valter Oliveira.

Read only

uwe_schieferstein
Active Contributor
0 Likes
2,608

Hello

You may use class CL_SWF_UTL_CONVERT_XSTRING which uses class CL_ABAP_CONV_IN_CE for doing the conversion.

Regards

Uwe

Read only

Former Member
Read only

Former Member
0 Likes
2,608

May be you can try this..

First convert XSTRING to Binary and then Binary to String make use of the Functions.

SCMS_XSTRING_TO_BINARY

SCMS_BINARY_TO_STRING