Skip to Content

Data to XML


i'm looking for a class to create an XML document. So i tried to look for CLXML but there is a mess of classes. For which ones i should have a deeper look?

I have:

- the required encoding

- nodes with their tag names, their attributes and the element data

- the parent/child relationship between the nodes

I want to get:

a table of strings or at least a string containing the XML as a file which i can download as textfile or send as text to XI.

Thx in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 29, 2008 at 09:07 AM

    Hello Rainer

    You may have a look at thread:

    [I need info about CL_XML_DOCUMENT|I need info about CL_XML_DOCUMENT;



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 30, 2008 at 06:40 AM

    the other approach is to use ABAP key word CALL TRANSFORMATION

    sample code:

    data: meta_data type standard table of ....
    data: xml_out type string .
    call transformation (`ID`)
                source meta   = meta_data
                         result xml xml_out.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.