Skip to Content
Former Member
Apr 24, 2007 at 04:54 PM

JCO$ConversionException: (122) JCO_ERROR_CONVERSION


Hi all,

trying to call a BAPI using the RFC adapter I get the exception

[code] error while processing message to remote could not convert request from XML to$ConversionException: (122) JCO_ERROR_CONVERSION: Number 0000000000844.000 cannot be encoded as a BCD of length 13 with 3 decimal places at field ENTRY_QNT[/code]

The field ENTRY_QNT is data element ERFMG, which is domain MENG13 which has

- No. characters 13

- Decimal places 3

- Output Length 17

So I thought "0000000000844.000" should be the required representation of that number. Since it failed I have tried the representations "0000000000844", "0000000000844.000", "000000000844,000", "0000000000844,000", "0000000844,000", "000000844,000" but I always get the same result.

Connection test on RFC destination AI_RUNTIME_JCOSERVER is successfull.

Any idea?