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

xml syntax error

Former Member
0 Likes
488

Hi

I am trying to download a report into xml , i am getting a syntax error pl help.

the code goes :

AT NEW WERKS.

CONCATENATE '<PLANT_ID = "ITAB-WERKS">' INTO IT_XML-LINE.

APPEND IT_XML.

ENDAT.

Error : i am getting the error as " incorrect spelling or grammar error"

thanks

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
436

Hi,

Check this.


CONCATENATE '<PLANT_ID =' ITAB-WERKS '>' INTO IT_XML-LINE.
condense it_xml-line.

aRs

Read only

athavanraja
Active Contributor
0 Likes
436

<i>Error : i am getting the error as " incorrect spelling or grammar error"</i>

i guess you are getting this error while trying to view the generated xml.

this could be due to bad format of the xml. just post the generated xml here and we can see whats wrong with that