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

Problem with special Character & in Proxy

Hi,

We have a File --> XI --> R/3 Scenario. In this scenario, from XI we are passing the data to R/3 by calling the Proxy. When the data in the file has special character like & (for example <Companyname>Dave&Busters</Companyname>), it is failing in R/3. But if I replace "&" with "&amp;" in the file it works fine. Is there any solution to this problem without writting custom code in XI to replace & with &amp;.

Thanks

Sudheer

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 02, 2007 at 02:22 PM

    >But if I replace "&" with "&" in

    > the file it works fine. Is there any solution to this

    > problem without writting custom code in XI to replace

    > & with &.

    No. If the sender of the message provides an XML format with an unescaped &, then the XML is not valid and therefore cannot be processed.

    All adapters (IDOC, RFC, File with content conversion) perform the escaping and deescaping.

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 02, 2007 at 02:42 PM

    Hi Sudeer,

    for these special characters, there is no solution except to write custom code to handle them........normally in XML file when these special characters come, then a escape sequence should be maintained for it......similarly when you trigger data from SAP and it has these special characters, then your these characters are replaced by a char seq ......so again you will have to write some custom code to handle it.

    Thanks,

    Rajeev Gupta

    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.