Skip to Content
0

How to enter empty elements in uploaded XML data table?

Dec 14, 2016 at 03:05 PM

46

avatar image
Former Member

Hello ,

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

XML to ABAP :

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

10 |10000 characters needed characters left characters exceeded

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...)

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Dec 14, 2016 at 04:44 PM
0
Share
10 |10000 characters needed characters left characters exceeded