Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.