Special character " (quote) in inbound proxy

Hi folks,
We have a scenario in which inbound proxy is implemented on SAP side. I am getting following error:-
Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS9457077FA0DEC03F30D0 XML Bytepos.: 988 XML Path: MT_SLM_INT30_LUPReviewFromLUPS(1)Title(16) Error Text: Data loss occurred when converting PROPOSED 8" U/G HRDH & ROUTE Kernel ErrorId: CONVT_DATA_LOSS)) An error occurred when deserializing in the simple transformation program /1SAI/TXS9457077FA0DEC03F30D0 Data loss occurred when converting PROPOSED 8" U/G HRDH. KHUFF GAS WELL-1050 & COMMUNICATION ROUTE FOC TO HRDH RH-K6}
Could you please suggest me what is wrong in the data PROPOSED 8" U/G HRDH & ROUTE. I guess it is due to the use of " in the data. Could you please help me in this?
Regards,
Sami.

Hi,
The problem was with the length of that field. That field was created in XI with max length 80. During proxy generation, corresponding abap field was created with 80 char. In the message, data for that field was 81 characters At runtime, when proxy runtime tried to map the xml to corresponding abap object, it failed.
While testing in Sproxy transaction when tried to execute after removing quote(") it was successful, as length was reduced to 80. So i went under impression that it is not working because of quote(").
Thanks for your rersponses.

Similar Messages

  • 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

    >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

  • Message stuck in inbound queue of r/3 for inbound proxy

    Hi Experts,
    The scenerio is Inbound Proxy.
    I m using standard prgram  rfbibl00  to post a document (FB01) in Inbound proxy. When the message is triggered from XI, it get stuck in inbound queue of R/3 ( SMQ2) giving the status text "Session     1: Special character for 'empty field' .
    Please help to resolve this issue.
    Thanks in advance.

    dear experts,
    did u get chance to look into this issue.
    Thanks in advance.

  • Special character storage

    Berkeley DB XML V2.3.10
    Hello,
    I use Berkeley DB XML iin order to store a large amount of data. This data contains some special characters like french character, quotes,...
    I insert the documents with a java batch.
    When I retreive the datas from the berkeley bd, all special characters have been translated into something unreadable:
    "HANGOOK MCDONALD' LTD" is transform into "HANGOOK MCDONALD├óÔé¼ÔäóS CO.,LTD" for example.
    I would like to know where can I change the charset of the database?
    The code I use in order to insert my document is:
    private XmlDocumentConfig docConf = XmlDocumentConfig.DEFAULT.setGenerateName(true);
    +public void putDocument(String src) {+
    +try {+
    XmlUpdateContext uc = mgr.createUpdateContext();
    XmlDocument doc = mgr.createDocument();
    doc.setContent(src);
    db.putDocument(doc, uc, docConf);
    uc.delete();
    doc.delete();
    +} catch (Exception e) {+
    log.error(e.getMessage(), e);
    +}+
    +}+
    Best regards,
    Pierre-Yves
    Edited by: user557912 on 29 août 2008 02:56

    Pierre-Yves
    This is a bug that has to do with how Java translates a String into a byte[]. It has been fixed in dbxml 2.4, but an easy way to deal with this with older versions of the database is to replace:
    doc.setContent(src);with
    doc.setContent(src.getBytes("UTF-8"));Similarly, when getting the document content you will want to do
    String src = new String(doc.getContent(), "UTF-8");Lauren Foutz

  • Special character and htp.p()

    I am trying to use PL/SQL procedure to present my customized item.
    If user type in secial character, e.g. single quote ', in the attribute, I got this error on the page:
    Error 30584: DBMS_SQL has raised an unhandled exception. ORA-06550: line 1, column 327: PLS-00103: Encountered the symbol "03" when expecting one of the following: . ( ) , * @ % & = - + < / > at in is mod not rem <> or != or ~= >= <= <> and or like between ||
    Is there a procedure I can call to encode the special character?
    thanks

    Hi - thanks very much the reply. I will bear your suggestions in mind in future as they are very useful.
    I got around the problem I was having by doing the following:
    The line of JavaScript I wanted to output to the page was:
    document.write('&lt;img src=" '+ns_l+' " width="1" height="1" alt="*" /&gt;');}
    And I achieved this by using the following PL/SQL:
    htp.p('document.write('||'''&lt;img src="'''||'+ns_l+'||'''" width="1" height="1" alt="*" /&gt;'''||');}');

  • How to add A Special Character '&' in CGNode.addData()

    Hi,
    I'm using XML class Generator to create a XML file. When I used CGNode.addData and the data contains "&" character, I got the following error:
    oracle.xml.classgen.InvalidContentException: illegal character '&' in CharData
    at oracle.xml.classgen.CGNode.addData(CGNode.java, Compiled code)
    Does anybody know how to insert this special character in XML Class Generator?
    Thank you in advance!
    weiwei

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by weiwei:
    Hi,
    I'm using XML class Generator to create a XML file. When I used CGNode.addData and the data contains "&" character, I got the following error:
    oracle.xml.classgen.InvalidContentException: illegal character '&' in CharData
    at oracle.xml.classgen.CGNode.addData(CGNode.java, Compiled code)
    Does anybody know how to insert this special character in XML Class Generator?
    Thank you in advance!
    weiwei<HR></BLOCKQUOTE>
    I had the same problem here and the only solution I found, was to turn of the validation using the setValidationMode member function of ClassGenerator.
    Regards,
    Reinhard Schuerer

  • A special character in the last column in my external table

    Hello,
    I'v made a external table that looks like this :
    CREATE
    TABLE "REC_XLS"
    "FINANCE_DATE" VARCHAR2(50 BYTE),
    "CREATION_DATE" VARCHAR2(50 BYTE),
    "SENT_DATE" VARCHAR2(50 BYTE),
    "REMARKS" VARCHAR2(200 BYTE),
    "REMAINING_QUANTITY" VARCHAR2(30 BYTE),
    "CODE" VARCHAR2(30 BYTE)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER DEFAULT DIRECTORY "LOADER" ACCESS PARAMETERS (
    RECORDS DELIMITED BY newline LOAD WHEN CODE!=BLANKS Skip 1 FIELDS
    TERMINATED BY 0X'09' MISSING FIELD VALUES ARE NULL REJECT ROWS
    WITH
    ALL NULL FIELDS ( Finance_date,
    creation_date, sent_date, Remarks,
    remaining_quantity, code) location ( 'Finance.tsv' )
    I exported the result in xls file and I saw in the last column a special character. The result of a copy and paste is prenseted here : "ABE
    You should notice that the last quote is in the upper line instead of at the end of ABE. This means, I think, that there is a carriage return at the end. And the 0X'09' is the tab separator. How can I get rid of this character ?

    my guess is that you run the load on unix server which uses default LF end-of-line character and the file has dos CRLF end-of-line, the easiest option is to change records delimiter in the DDL and replace "RECORDS DELIMITED BY newline" with code below
    RECORDS DELIMITED BY '\r\n'in general end-of-line can be really any character, sample above shows CRLF but it can be TAB, space, | or any other character or set of characters. I have samples of special characters on my blog http://jiri.wordpress.com/2009/01/29/oracle-external-tables-by-examples-part-1/
    hope this helps
    jiri

  • Special character in XML causing the file to hit worng folder.

    I am facing program, while sending a data to a repository using SOAP XML. The file path which is needed has a special character and this is not getting identified at the target.
    here is the brief descriptio.
    1) We generate the PDF using the XML report in ERP.
    2) Using the same data, we generate SOAP XML file and send to a respoitory.
    3) Here using this SOAP XML, the PDF is generated and stored in a location which is sent in the file.
    we are sending the target path as "PO's from Customer" as below:
    '&lt;target_folder_path&gt;'||'/Documents/'||TO_CHAR(SYSDATE,'YYYY')||'/PO's from Customer'||'&lt;/target_folder_path&gt;';
    The path needed is '/Documents/2012/PO's from Customer' , but due the apostrophe, the file is hit /adadmin path.
    I have tried replcaing the special character by &apos; , but still no luck. If i remove the special characters, then the file is hitting correct path.
    But the requirement is to have '/Documents/2012/PO's from Customer' .
    Is there is a way this can be achived. Please advice.

    Is it as simple as using two single quotes between PO and s?
    '/PO''s from Customer'I can't tell from what you wrote how you are generating the value in the first place so if not correct provide more details related to whatever builds the path.

  • How to escape the special character ' (ascii 39) in a select query?

    Hi,
    does anybody know how to escape the special character ' (ascii 39) in a select query?
    I've tried a lot of ways but nothing seems to work, for example I try to get all
    names in table foo where coloumn name contains a '-sign (ascii 39)
    select name from foo where name like '%\'%';
    select name from foo where name like '%{'}%';
    select name from atg_horse where name like '%chr(39)%'
    ... but neither works, I end up with a ORA-01756: quoted string not properly terminated
    I would apriciate any help
    /Carl-Michael

    friends
    thanks for ur time and effort that u gave to reply to my problem.
    But my main problem is that when my application (VC++ 7) fires the following query in the oracle database , it does not return any rows.
    SELECT count(*) FROM ORGANISATION WHERE UPPER(ORGANISATION.ORGANISATIONNAME)
    LIKE N'&#946;%' ORDER BY ORGANISATION.ORGANISATIONNAME
    the above question in the previous thread was just to check on sql plus as it's editor does not support unicode characters.

  • Unseen ESSId with special character - Satellite M40

    Hi,
    I have a Satellite M40 with an atheros AR5005g wireless card.
    I have a wireless network with WPA2-PSK encryption. The ssid looks like that : g4s8j6b-special character-o7v35s7gt3q1c6b8
    With the latest driver it is impossible to see the ssid an to connect to this network.
    I have tried an Atlantis USB Wireless adaptor and it can find the wirelessnetwork (I can not connect, because the USB Adapter does not supported WPA2-PSK)
    For me it is a driver 's problem. How can i solve this problem ? This "special character " is not recognising from the drivers isn't it ? is it possible to convert the ssid in HEX code and to insert the ssid in HEX code and the key in HEX code in a data, to force the connection ? (manual connection like Linux)
    yours faithfully
    Oh this forum does not support the character ... it looks like this : http://en.wikipedia.org/wiki/%C3%9F
    (Unicode U+00DF)

    Hi,
    The ssid works with my other laptop (intel Wireless pro 3945 a/b/g) on Vista and Ubuntu (manual configuration).
    The ssid can to be see with the atlantis usb wireless adapter.
    > {quote:title=[email protected] wrote:}{quote}
    > That SSID is very long. Have you tried using a shorter SSID?
    For me that not the problem. On my other Laptop, before it works with my ubuntu system i had to make clean my driver's installation. Then I have converted the ssid and the wpa2-psk key in HEX code. That's why for me, it seems to be a driver's problem but it is not to find a solution anywhere.
    How can i try to set up the ssid in HEX code and not ASCII with a win XP system ?
    Yours faithfully

  • SOAP Adapter - Error because of special character (u00FC - Umlaut) in payload

    Hello,
    We have a SOAP sync scenario.
    SAP -> PI 7.0 -> 3rd Party system
    We have a special character (ü - Umlaut) as part of the payload.
    When the message enters message pipeline in PI, I can see the payload XML till message branching step.
    From Message mapping step, i get the message - "The XML page cannot be displayed. An invalid character was found in text content" in SXMB_MONI.
    In communication channel monitoring, I see the following error:
    SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)
    But, when I pass the same message(with special character) to the 3rd party system using SOAP UI, i get a valid response back.
    So, what is going wrong in PI?
    Thanks,
    Chandra

    Hi Gouri,
    you are right. My message is successful in SXMB_MONI, and the error is coming from comm channel monitoring with deliverin to target.
    My sender is a proxy, and we can not specify any encoding in proxy sender.
    I did not specify any encoding in SOAP Receiver aswell.
    This is the sequence in comm channel monitoring:
    Success: Delivering to channel: CI_SOAP_Receiver_Sync
    Success: MP: Entering module processor
    Success: MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    Success: SOAP: request message entering the adapter with user J2EE_GUEST
    Error: SOAP: call failed: java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
    Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
    So, what can i do to fix this?
    Thanks,
    Chandra
    Edited by: Chandra Sekhar H on Mar 3, 2011 12:25 PM

  • SharePoint key word query, how does the "Query Text" query special character in a query variable?

    I have a no code sandbox solution, in a content by search web part, I want to return pages from the library except the page I am visiting.
    I have 2 pages:
    Page A, the title is: Page title without special character
    Page B, the title is: Page title with special character "a b c d ..."
    And then I use Title<>{Page.Title} in the query text of the CSWP.
    While I visit Page A, the CSWP returns Page B, it works as expected.
    But while I visit Page B, the CSWP returns nothing, expected result should be Page A. I just consider, whether the special characters in the Title of Page B breaks the query text.
    I can not find similar topics in the forum, Does anyone have idea?
    Many thanks!

    Thank you for your feedback, Daniel.
    I have some updates, and found the root cause: if the field value contains special characters, the CSWP will not render the double quotation marks around the field value.
    View the page html source, and then find the text "QueryModification", you will see what happen:
    Query Text Input: Title<>{Page.Title}
    1. While the page title is "Test Page 1" (without special character), the rendered query text is
    Title<>\"Test Page 1\". It works as expected.
    2. While the page title is "Test-Page-1" (with special character "-", of cause we have more special characters on production), the rendered query text is
    Title<>Test-Page-1.  The double quotation marks are not rendered by the CSWP, so the query text are broken. It does not work as expected.
    If I make the query text as Title<>"{Page.Title}"
    1. While the page title is "Test Page 1", the rendered query text is
    Title<>\"\"Test Page 1\"\". It does NOT work since the
    quotes are duplicated (no sure why CSWP duplicates the quota mark),
    2. While the page title is "Test-Page-1", the rendered query text is
    Title<>\"Test-Page-1\".  Quotes are correct, but it does NOT work as expected still.
    The expected rendered query text (view from the html source) should be
    Title<>\"Test\\\-Page\\\-1\". (Here is test url: <a href="http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10">http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10)
    From the above information, I can say the CSWP not handle the special character correctly ("\" is not inserted before any special charactor).
    Is there any setting in CSWP can be used to resolve above problem?

  • Special character display issue

    Hi,
    I've been struggling with this issue for some time now and
    have not yet found a solution. Basically I am trying to display the
    letter 'á' in bold within a dynamic text field, where the text
    is parsed from some internal script.
    There is nothing wrong with the script as it works for other
    special characters. I have embedded the correct glyphs, and even
    tried all glyphs.
    I have tried several methods of encoding the character in the
    scipt such as Unicode Escape, Numeric Entity and URL encoding; no
    luck with either. For other special characters I have simply
    embedded the glyph and typed the special character into my script
    using the charmap instructions and they have worked fine but for
    some reason when I want to make it bold it just wont display. The
    method I've used to embolden the text is show below, please note
    this has worked fine for other characters and the bold version of
    the font contains the glyph in the charmap.
    "<font face=\"AvantGarde LT
    Bold\">Lávese</font>"
    This results in: Lvese (in bold) skipping the á
    I'm starting to wonder if this is a problem with the software
    itself. If anyone has any suggestions, I'd love to give them a go.
    Thanks in advance for any assistance
    P.S. my e-mail is [email protected]

    Pl identify which exact version of 10g, along with the database characterset.
    Going by what you have stated, your database characterset is most likely WE8ISO8859P1, which does not recognize the single quote (or apostrophe) or the bullet point.
    You will need to use a characterset that supports these characters - Oracle recommends AL32UTF8
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch6unicode.htm
    If you can recreate this database, use AL32UTF8 then perform your conversion.
    HTH
    Srini

  • How to escape the special character ' (ascii 39) in a query

    Hi,
    does anybody know how to escape the special character ' (ascii 39) in a select query?
    I've tried a lot of ways but nothing seems to work, for example I try to get all
    names in table foo where coloumn name contains a '-sign (ascii 39)
    select name from foo where name like '%\'%';
    select name from foo where name like '%{'}%';
    select name from atg_horse where name like '%chr(39)%'
    ... but neither works, I end up with a ORA-01756: quoted string not properly terminated
    I would apriciate any help
    /Carl-Michael

    Use two single quotes inside your literals to represent one single quote.
    For example, this would find my name:
    SELECT *
      FROM emp
    WHERE name = 'Michael O''Neill';
    Michael O'Neill
    (acutely aware of the apostrophe issues in the world)

  • Display of special character u0151 through std. text

    Hi,
    I want to display a special character <h3>&#337;</h3> through standard text. But when I enter the character into the text it automatically removes the double quotes with simple character "O".
    The same is working fine in other system.
    Any pointers will be helpful.
    Regards,
    Sachin Dashmukhe.

    Hi Gayatri,
    Thanks for replying.
    But the special character i mentioned is not available in the list of characters present in the menu path you gave.
    -Regards,
    Sachin D

Maybe you are looking for