on 11-06-2014 4:02 AM
Hello,
Need a help in resolving below error
"Character reference "" is an invalid XML character"
While configuring JCO action block in MII14.0. I can confirm you that MM to ECC connection was successful
Regards,
Vijaya
Hi Vijaya,
Is your trying to upload any XML file to Jco action block from Local or transaction properties. If so,
 is a control character. Control characters are not legal xml, and confluence's parser is not going to be able to handle it.
So try to correct your XML file and retry it.
Hope it solve your error
Regards,
Praveen Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is error your facing after execution or while assigning BAPI to Jco action block.
If it after execution, then there is the issue in SAP data which your getting from ECC system.
And crosscheck any other actions or local & global properties which XML holding Control characters
Regards,
Praveen Reddy
Thanks a lot Guys for helping me out resolving issue. I have tried all the ways mentioned by Anushree, Michel and Praveen.
I have resolved the issue by crosschecking actions, local & global properties which XML holding Control characters. Deleted all global parameters and defined newly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you are calling a standard bapi, first of all you have to debug it and clear the text fields before its execution finishes, so MII will not receive the invalid character and it will work.
After that, you will have to debug a lot of times until find exactly the field that have the invalid character.
So, you will have the create a new RFC function that will call the standard function and remove the invalid characters that the standard function will return.
And finally, you have to call your new RFC function in your MII transaction, instead of call the standard bapi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaya, I had a similar issue.
In my case one field of the one table of the RFC Function returned text values that contains invalid XML characters. This issue just happens when the RFC function returns invalid XML characters, like a text that the user have imported from another program (microsoft excel) to the SAP tables.
A test that you can do to be sure that we are talking about the same issue is that you can debug your RFC and clear the texts field values, the MII execution should work.
So, considering that your invalid character is still there, the RFC execution were made successfully in the ABAP side, but when the RFC execution finishes, on the MII side an exception is throwed.
I think that it happens because the java parser try to convert the RFC returned content to a XML content, and that character can not handled as an XML content.
So, the solution that we found was in the ABAP side remove any invalid XML characters before leave the RFC to return that content to MII side. We considered as an invalid character anything that was not "a,b,c...z" "1,2,3...0" ",.-" (your ABAP consultant will know how to do it).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.