Conversions : STRING to XSTRING

PARAMETERS str TYPE string.
DATA xstr TYPE xstring.

CALL FUNCTION ‘SCMS_STRING_TO_XSTRING’
EXPORTING
text   str ” pass the string
*   MIMETYPE       = ‘ ‘
*   ENCODING       =
IMPORTING
buffer xstr ” get the xstring
EXCEPTIONS
FAILED 1
OTHERS 2.

WRITE :‘string:’str.
WRITE :‘xstring’xstr.


 



 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s