on 2006 Feb 14 10:42 AM
Hi Abapers,
I want to convert a string data to an xstring data. Can anybody help me with some example code.
Regards,
Vinay.
use the following FM
SCMS_STRING_TO_XSTRING
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Chk out this FM:
SCMS_STRING_TO_XSTRING in release 640.
See this link for sample code and explanation by Thomas Jung:
/people/thomas.jung3/blog/2004/08/09/bsp-download-to-excel-in-unicode-format
***********Convert XSTRING TO STRING*********
CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
Best Regards,
Anjali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
to convert unicode string into xstring
use HR_KR_STRING_TO_XSTRING..
sample code..
data : in_string type string value 'trial' , length type i,
out_xstring type xstring.
CALL FUNCTION 'HR_KR_STRING_TO_XSTRING'
EXPORTING
unicode_string = in_string
out_len = length
IMPORTING
xstring_stream = out_xstring
EXCEPTIONS
invalid_codepage = 1
.
write : out_xstring .
regards
satesh
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.