cancel
Showing results for 
Search instead for 
Did you mean: 

space in payload

Former Member
0 Kudos
78

Hi

I get space for the value of a filedas a response after execution of an rfc function.

In smb_moni paylod looks like <SHIP_LOC_CD_LN>&#00;&#12;</SHIP_LOC_CD_LN>.

The problem is that i get an error in the message mapping

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:517) at ....

Florin

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi,

You can check in SAP R/3 these characters because there are not blanks.

Regards.

Former Member
0 Kudos

Hi first you said to change encoding.

And belive those characters are blanks, just try to put in a xml fileand oopen with ie.

Florin

iaki_vila
Active Contributor
0 Kudos

Hi,

From my first responde you can use XSL o java mapping to change the result encoding.

From the second althoug IE put blanks probably with Notepad you can see the real characters. I think if you test RFC with se37 in SAP R/3 you can check with kind of character are being response.

Regards.

Former Member
0 Kudos

Hi

Thank you for you response.

In se37 the field is empty, i will talk with abap guy to see in debug mode.

There is no way to change encoding when I use visual mapping?

Florin

stefan_grube
Active Contributor
0 Kudos

The error seems not to have anything to do with encoding.

You have a char zero value in the RFC call. (space would be char 32)

This might be an ABAP program error. You could have a mismatch between types, for example string and packed decimal.

Regards

Stefan

iaki_vila
Active Contributor
0 Kudos

HI,

Change XML codification. You can use ISO-8559-1 for example.

Regards.

Former Member
0 Kudos

Just tell me where to change, as i said this is a return from a rfc execution.

Florin