Skip to Content
avatar image
Former Member

Saving an XML file on a server with cl_xml_document

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


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 09, 2015 at 02: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.

    Add comment
    10|10000 characters needed characters exceeded