Skip to Content
author's profile photo Former Member
Former Member

Special Characters in XML tag name is not allowed

Hi All,

We have one IDOC to XML file scenario, in which we have to one tag name in XML (target structure) as <sample.001.123.23> which is the header field.

But as special characters except "_" are not accepted in XI/PI , We are not able to crack this.

But business said it must be there as what they proposed in their structure.

Please help in this regard.

Thanks,

Venkat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Oct 18, 2013 at 09:06 AM

    Hello,

    Follow below steps:

    1) Create DT, MT

    2) Export MT as XSD

    3) Edit exported xsd and change the field name

    4) Import edited xsd as ED

    Thanks

    Amit Srivastava

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 18, 2013 at 09:24 AM

    Hi Venkatarao,

    I think you can do this with a java mapping. You can use a dummy xsd in the receiver side.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 18, 2013 at 09:27 AM

    Hello Venkatarao,

    But as special characters except "_" are not accepted in XI/PI , We are not able to crack this.

    This is only valid for data types. Ask the client for an XSD/WSDL that contains the said field and import it as external definition.

    Regards,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2013 at 09:59 AM

    Hi Venkat

    Please check the blog below

    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/11/05/message-mapping-play-around-with-target-structure

    I think this blog will help you to solve your probelm.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 24, 2016 at 06:36 AM

    Hi Amit,

    We also facing same issue.

    We have SOAP to PROXY Scenario.

    From soap wee are picking the file in EPCIS message format, we need to send same file to proxy.

    in which we have to one tag name in XML (Source Structure) as <gs1usch:LotNo> which is the field contains.

    While exported xsd and edited field name and imported in ED but getting below issue.



    Early reply should be appreciated ,Thanks in advance.



    Regards,

    Raja.



    XSD error.jpg (18.0 kB)
    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.