cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate an XML file

Former Member
0 Kudos

Hi,

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

Regards

Rani

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

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

Former Member
0 Kudos

I hope the function module

SKTX_TRANSFORMATION_INT_TO_XML will be useful for you.

Regards

Elini.P

matthias_fiebig
Explorer
0 Kudos

Hi Elini,

the problem for Rani seem to be that he use release 4.6b

and the FB SKTX_TRANSFORMATION_INT_TO_XML is still not available at this release.

Regards

Matthias

Former Member
0 Kudos

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

matthias_fiebig
Explorer
0 Kudos

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

Former Member
0 Kudos

Hi Rani,

Take a look at thread:

Regards,

John.

nablan_umar
Active Contributor
0 Kudos

Have you try function module SAP_CONVERT_TO_XML_FORMAT.

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

With <b>CALL TRANSFORMATION</b>.