‎2009 Apr 16 10:46 AM
‎2009 Apr 16 10:59 AM
cstring character string type and
xstring hexadecimal string type.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = output " variable type string
IMPORTING
buffer = outputx. " variable type xstringRegards,
Lalit Mohan Gupta.
‎2009 Apr 16 10:58 AM
‎2009 Apr 16 10:59 AM
cstring character string type and
xstring hexadecimal string type.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = output " variable type string
IMPORTING
buffer = outputx. " variable type xstringRegards,
Lalit Mohan Gupta.
‎2009 Apr 27 9:52 AM
‎2009 Apr 16 11:01 AM
data: w_char type string, " Character String .Dynamic Length
w_hex type Xstring , " Hexadecimal String.DYnamic Length
w_int type i.
w_hex = 'ABC021343'.
w_char = w_hex. " Conversion From Hex to Char
w_int = w_hex. " Conversion From Hex to INT
write :/ w_int.
write : w_char.[Check Conversion Rules|http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3434358411d1829f0000e829fbfe/content.htm]
Regards,
Gurpreet
‎2009 Apr 16 11:02 AM
In STRING used for character strings
XSTRING used for byte strings
Try, FM 'EHSB_LBLS_TEXT_CONVERT_XSTRING' for character string to hex string.