Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get XML from WWW

Former Member
0 Likes
423

Hi.

How is it possible to download the xml file from thye internet to abap internal table.

All I have is a hyperlink to xml file. When I click it - the xml file opens.

What I want is the function module (or some code) that downloads this file to internal ABAP table.

Thank You. LUCAS

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
403

you can try some new mechanism which support above ECC 6.2.

just search the ABAP statement CALL TRANSFORMATION

You need input a XLST file, which use to extract and explain XML, and then CALL TRANSFORMATION will help you transfer XML into internal table, according to the XLST you creatd preliminary

Besides, you can also use DOM class, to read and schema XML

Hi.

How is it possible to download the xml file from thye internet to abap internal table.

All I have is a hyperlink to xml file. When I click it - the xml file opens.

What I want is the function module (or some code) that downloads this file to internal ABAP table.

Thank You. LUCAS

2 REPLIES 2
Read only

Former Member
0 Likes
404

you can try some new mechanism which support above ECC 6.2.

just search the ABAP statement CALL TRANSFORMATION

You need input a XLST file, which use to extract and explain XML, and then CALL TRANSFORMATION will help you transfer XML into internal table, according to the XLST you creatd preliminary

Besides, you can also use DOM class, to read and schema XML

Read only

Peter_Inotai
Active Contributor
0 Likes
403

Hi Lukasz,

Have a look on the following weblogs:

/people/brian.mckellar/blog/2004/06/25/bsp-programming-rss-httpclient-xml-xslt

/people/sap.user72/blog/2004/09/07/bsp-howto-exploring-bsp-development-and-the-miniwas-620

Best regards,

Peter