We are facing error “RFC function call failed: <CRfcData: Conversion to PACK type (BCD) failed>” at SAP BO DS when calling RFC “ZFPRD_RFC_GRAVA_DADOS_NEOG” at SAP ECC.
This error occurs only at processes which uses RFC tables interface with decimal fields (in this case, field FKIMG [decimal 11,3]). The field FKIMG is mapped as decimal 11,3 both: at RFC and BO DS.
This interface was executing correctly until 08.05.2014 (prints below) but after server restart, the interface is not being executed.
Remark: If we put character value (example “A”) at flat-file read (at FKIMG position), the interface is executed successfully but the FKIMG is in blank, so we assumed that the erro is regarding to decimal at FKIMG.
Follows below the complete process which was working correctly until SAP BO DS server restart.
t execution without error: 08.05.2014 as stated at LOG file below.
Remark: Neither JOB “NEW_JB_Neogrid_ObjetivoVenda” nor RFC “ZFPRD_RFC_GRAVA_DADOS_NEOG” were changed.
Follows execution with LOG error:
Steps to reproduce the error:
1º. Flat-file is created by legacy system “Neogrid” at its server.
2º. BO DS executes FTP to move flat-file from “Neogrid” Server to BODS Server.
3º. BO DS generates temporary tables with transformation data:
5º. BO DS calls RFC “ZFPRD_RFC_GRAVA_DADOS_NEOG” to transfer flat-file data (including FKIMG decimal filed). At this moment the error “RFC function call failed: <CRfcData: Conversion to PACK type (BCD) failed>” appears and no data is saves at SAP table “ZTBPRD_I_0038OVT”.
6º. Additionally, you can use file “ObjetivoVendas.txt” to test the BO DS error.
Please can someone help me with this error?
This document was generated from the following discussion: SAP BO Data Services RFC Decimals Error