Skip to Content
0
Jul 15, 2020 at 11:39 AM

RFCLookup with INT1 or INT2 as input

113 Views

Hi Experts,

I am getting this error when trying to access the FM with input MENGE. They have recently changed the FM to have this field's data type as INT2 to accept values more than 255 but I am receiving this error in PI when doing the RFC lookup.

JCO_ERROR_CONVERSION: Cannot convert a value of '300' from type int to INT1 at field MENGE'. Cause Exception: 'com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Cannot convert a value of '300' from type int to INT1 at field MENGE'.

Any help would be appreciated. Thanks