Hi,
APPEND_DATA works fine for me.
I use for the String-To-XString-Conversion the following FM:
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = output " variable type string
IMPORTING
buffer = outputx. " variable type xstring
Regards,
Matthias