cancel
Showing results for 
Search instead for 
Did you mean: 

XML document must have a top level element. Error processing resource

Former Member
0 Kudos

Hi Experts,

I am getting an error in the test XML document: XML document must have a top level element. Error processing resource.

The Xml is a simple type given below:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Student11 xmlns:ns0="http://testAbapMapping">

<Student>

<ID/>

<NAME/>

</Student>

</ns0:MT_Student11>

Also, the fileds ID an d name are retrieved from ABAP tables using ABAP mapping as the only mapping over here, and the standalone ABAP mapping while tested individually is working file.

Also, in the custom table I have the two filed ID and name only, also MANDT but dont think it will be a problem, can you please helo.

Thanks and regards,

Aniruddha

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

> can you please helo.

This is impossible.

Obviously your ABAP mapping is wrong. Fix it.

Answers (1)

Answers (1)

Former Member
0 Kudos

A