Skip to Content
avatar image
Former Member

Want to Validate 0# at receiver input payload

Dear All,

I am working on one scenario in which i am getting 0# in my input paylaod ,because of this only I think I am gettiing the mapping Error.

Error Description is Below

com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:5361080) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:187) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:174) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:118) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest

to validate this invalid data can you plz suggset me which fn i have to use ................

Warm Regards

Abhay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Feb 22, 2010 at 09:34 AM

    You can either use JAVA or XSLT mapping to handle the special characters.....blogs for both area available....in XSLT it can be handled using CDATA tag.....also check if the sender is not passing this character unintentionally

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 22, 2010 at 09:39 AM

    > to validate this invalid data can you plz suggset me which fn i have to use ................

    When the sender of the message provides an invalid document, please fix the error in the sender application.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 22, 2010 at 10:18 AM

    Hi Abahy,

    Please get confirmed with the sender sytsem that this data is the correct data as per their expectation.If its yes, then you have to handle it at the mapping level. As per the error it seems XML payload is not getting generated because this #0 is disturbing the XML payload. So either first get confirm that the invalid character has to be sent to receiver or not.If no then try to substring at mapping level.Or if yes, then better use Java mapping for handling special characters.But, I believe XI understand # and converts it easily.Please post the input here and kindly check which field this data is coming.

    Regards,

    Nutan

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 22, 2010 at 12:34 PM

    > row:1, col:5 361 080

    5 Million?

    It might be an unexpected "end of file" sign.

    It is definitely a technical issue, not a mapping issue.

    Add comment
    10|10000 characters needed characters exceeded

    • the error message does not ean, that that as a character combination between 0 and #.

      It stands for the ascii value zero.

      ascii zero is not a valid error and you cannot enter ascii zero values with a keyboard.

      In the message you have #. Is this expected? could you check, whether there should be other, foreign characters?

      it might be a code page issue as well.

      You see, there are man possible reasons for the error.

      It is really hard to tell you, what is wrong.

      An experienced guy has to look into your system.

  • avatar image
    Former Member
    Feb 22, 2010 at 04:27 PM

    What XML encoding is used in this incoming document (see first line) ? Maybe a wrong encoding is used.

    CSY

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 23, 2010 at 11:19 AM

    Edited by: Abahy Aggarwal on Feb 23, 2010 12:31 PM

    Edited by: Abahy Aggarwal on Feb 23, 2010 12:39 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 02, 2010 at 09:30 AM

    Hi Stefan,

    That means we cannot handle special charecters in XI anyhow.

    Regards

    Abhay

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi All,

      below is the XML paylaod below 3rd XML of TEXT tag I am getting some charecter if I am removing this then it is processing suc

  • avatar image
    Former Member
    Mar 03, 2010 at 10:21 AM

    Hi All,

    To Resolve this problem I have used the java mapping to handle the special charectes and after that I was grtting junk data from ECC side for this I asked abaper to change the logic on there side and worked...

    I would like to thank Nutan and Stefan to helping me on this...........:)

    Regards

    Add comment
    10|10000 characters needed characters exceeded