Unable to execute SAP Get Caused by: Value 'some character value' cannot be converted to NUM type at field 'element name'

Document created by mike_aronson Employee on May 20, 2014
Version 1Show Document
  • View in full screen mode
This SAP error is coming from the Jco library (SAP client library).
The BAPI has defined the 'element name' as a NUM type but the data contains a character.

Check the BAPI definition in SAP.  If the BAPI is saying that it is a character field (and it has been updated recently), try re-importing the profile and restart the atom because the Jco library caches some BAPI definitions.  If this does not resolve the issue, inspect the BAPI code to determine the inconsistency.  The BAPI code may need to be modified to call a different BAPI function to handle/convert/return the appropriate data type.
1 person found this helpful