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

converting into xstring

Former Member
0 Likes
466

Hi everyone,

I have a non-character like structure and i wanna print it by passing the vallues of it into an xstring. So can anyone tell me is there anyone class which can be helpful in this process. If anyone has used it please try sending me the code snippet.

please revert.

thanks n regards,

Bhargava.

2 REPLIES 2
Read only

athavanraja
Active Contributor
0 Likes
419

non-character like structure? i didnt get that .

anyhow to convert string to Xstring you can use the following FM

CALL FUNCTION 'SCMS_STRING_TO_XSTRING'

EXPORTING

text = output " variable type string

IMPORTING

buffer = outputx. " variable type xstring

Regards

Raja

Read only

Former Member
0 Likes
419

Hi Bhargava,

Pls Chek this thread and see the weblog too:

Best Regards,

Anjali