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.

Capturar.PNG

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.

Capturar.PNG

Remark: Neither JOB “NEW_JB_Neogrid_ObjetivoVenda” nor RFC “ZFPRD_RFC_GRAVA_DADOS_NEOG” were changed.

Follows execution with LOG error:

Capturar.PNG

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:

Capturar.PNG

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”.


Capturar1.PNG


Capturar2.PNG


6º. Additionally, you can use file “ObjetivoVendas.txt” to test the BO DS error.

Capturar3.PNG


ERRO:

Capturar4.PNG


Please can someone help me with this error?


Thank you.


att.

Wagner

This document was generated from the following discussion: SAP BO Data Services RFC Decimals Error

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply