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

How to enter empty elements in uploaded XML data table?

Former Member
0 Kudos

Hello ,

I have recently started working with XML and XSLT I am facing the below problem


I upload an excel file in which the user has deleted some fields and saved. I upload the file in a table containing XML data using GUI_UPLOAD.Now I try to use XSLT transformation ( from XML to ABAP) to get the ABAP data from this XML table. The transformation reads everything w.r.t position of the data.

CX_ROOT_DESERIALISATION_ERROR exception is returned. When I checked the uploaded XML file, I found out that the deleted columns' element are not inserted into the XML.

So I am tying to insert the deleted elements in the uploaded XML data table through ABAP . I am not able to get the logic of how we can modify the XML data using ABAP .Has somebody worked on this scenario ?

Thanks for your response


Product and Topic Expert
Product and Topic Expert

Active Contributor
0 Kudos

You have to first look at the exact error message to know the reason of the error ! (CX_XSLT_DESERIALIZATION_ERROR is only the first level, the exception object contains more precise data, like name of element concerned...)