01-06-2015 11:06 AM
Hello,
I'm trying to save an xml file using cl_xml_document on an external server.
But it doesn't work.
It works locally.
with a path like '/testfile.xml'.
Any help is appreciated regards,
Regards,
Driss
01-09-2015 2:23 PM
I found another simplier way.
OPEN DATASET lv_pathname IN TEXT MODE ENCODING UTF-8 FOR INPUT.
READ DATASET lv_pathname INTO lv_payload.
* TRANSFER *****
CLOSE DATASET lv_pathname.
and use the lv_payload it as a cl_xml_document object after.
01-09-2015 2:23 PM
I found another simplier way.
OPEN DATASET lv_pathname IN TEXT MODE ENCODING UTF-8 FOR INPUT.
READ DATASET lv_pathname INTO lv_payload.
* TRANSFER *****
CLOSE DATASET lv_pathname.
and use the lv_payload it as a cl_xml_document object after.