Skip to Content
author's profile photo
Former Member

How to generate an XML file

Hi,

How do we generate an XML file from data in an internal table.

Regards

Rani

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Posted on Nov 23, 2004 at 03:31 PM

    With <b>CALL TRANSFORMATION</b>.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Nov 23, 2004 at 03:32 PM

    Have you try function module SAP_CONVERT_TO_XML_FORMAT.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Nov 23, 2004 at 03:46 PM

    Hi Rani,

    Take a look at thread:

    xml-to-abap

    Regards,

    John.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Nov 24, 2004 at 11:21 AM

    Hi,

    Thank you all for the response.

    But I realized , we are on version 4.6B, neither is mentioned funvtions SAP_CONVERT_TO_XML_FORMAT nor class 'CL_XML_DOCUMENT' avaialable.

    How else can I acheive this ?

    Regards

    Rani

    Add comment
    10|10000 characters needed characters exceeded

    • Hello,

      if you have access to a newer R/3 Release like WebAs 6.2

      you can take a look to the function SDIXML_DATA_TO_DOM.

      The algorithms are not so complicated, so you can very easy adapt it to 4.6B and afer this work you have what you need.

      Matthias

  • author's profile photo
    Former Member
    Posted on Dec 10, 2004 at 07:21 AM

    I hope the function module

    SKTX_TRANSFORMATION_INT_TO_XML will be useful for you.

    Regards

    Elini.P

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Dec 16, 2004 at 07:02 AM

    Hi,

    You might want to consider using the SAP Business Connector, im not sure if 4.6b is supported.

    The docs are in http://service.sap.com/connectors

    Cheers,

    Kelvin

    Add comment
    10|10000 characters needed characters exceeded