Skip to Content
avatar image
Former Member

Error while converting XML file into SAP internal table using SMUM_XML_PARSE

Hello Experts,

Will get XML data in an internal table from FM and then using

FM SCMS_STRING_TO_XSTRING to convert the string to xstring and then pass the xstring to SMUM_XML_PARSE.

But it not populating the table and giving an error message in the return table "line13208 col 36-unexpected symbol; expected '<', '</', entity reference, character data, CDATA section, processing instruction or comment ".

I can't find any ' ; ' in the XML file. What could be the possible reason of error?

I referred to related blogs..but could not able to find exact reason.

Can anybody provide the solution for this? Plzzzz..

Thanks....

Harika.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 21, 2016 at 09:12 AM

    Get the XML into some tool - there are online checkers, as well as XML editors - and see if they help you spot the issue.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 18, 2016 at 07:15 AM

    Maybe you misinterpret the message; it's just that there is an unexpected symbol at line 13208 col 36, but the semicolon is only punctuation, not the character at this position. So please look at line 13208 col 36.

    Add comment
    10|10000 characters needed characters exceeded