Error "Element EX_FUNCTIONS of container metadata RFC_METADATA_GET unknown" was not solved

While executing the BAPI “ACC_DOCUMENT_POS” using the SRC component, the following error appears and execution stops.

I thought it was a connector problem, so I downloaded the installer for “SAP Connector for Microsoft .NET 3.0.25.0 for Windows 32bit” from the site below and updated it, but the error still persists.

When I checked the error content, I found the same error, so I thought that the connector had not been updated, so I tried to install it again, but the error content was the same and it was not resolved.

Can someone please tell me how to fix the error?

■The site to download the conector

■Error contents
SAP .NET Connector 3.0 with file version 3.0.19.0 running on 32-bit .NET Framework 4.0.30319.42000
Program: C:\Users\nkunimoto002\AppData\Local\Programs\UiPath\Studio\net461\UiPath.Executor.exe
Working directory: C:\Users\nkunimoto002\Documents\UiPath\ACC_DOCUMENT_POST
Operating system: Windows 10 Enterprise 64-bit
Processor: 8x AMD64 (or x64)
SAP release: 721, Kernel release: 721, Kernel patch level: 913
Hostname: JPPF1ZW1L2-IX7, IP address: 192.168.10.120, IP_v6 address:

Default trace level: None

Error entry 2022-11-28 11:40:34.726 [Thread 1]
error when retrieving metadata from S4A via destination SapDefaultConnectionName (ORIGINAL) [ASHOST=10.1.4.120 SYSNR=00 SYSID=S4A USER=200281 CLIENT=240 LANG=JA NAME=SapDefaultConnectionName] – attempting to select an alternate destination
SAP.Middleware.Connector.RfcInvalidParameterException: Element EX_FUNCTIONS of container metadata RFC_METADATA_GET unknown
場所 SAP.Middleware.Connector.RfcContainerMetadata`1.NameToIndex(String elementName)
場所 SAP.Middleware.Connector.RfcXRfcParser.ProcessBeginTag()
場所 SAP.Middleware.Connector.RfcXRfcParser.parse()
場所 SAP.Middleware.Connector.RfcConnection.ReadRfcXmlData(RfcFunction function, RfcParameter& param, Int32 length)
場所 SAP.Middleware.Connector.RfcConnection.ReadUpTo(RFCGET readState, RfcFunction function, RFCID toRid)
場所 SAP.Middleware.Connector.RfcConnection.RfcReceive(RfcFunction function)
場所 SAP.Middleware.Connector.RfcFunction.RfcDeserialize(RfcConnection conn, IRfcIOStream stream)
場所 SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn, IRfcIOStream stream, RFCID rid)
場所 SAP.Middleware.Connector.RfcRepository.Execute(RfcFunction function)
Error entry 2022-11-28 11:40:34.745 [Thread 1]
[ASHOST=10.1.4.120 SYSNR=00 SYSID=S4A USER=200281 CLIENT=240 LANG=JA NAME=SapDefaultConnectionName]
SAP.Middleware.Connector.RfcCommunicationException: The only destination SapDefaultConnectionName available failed when retrieving metadata from S4A – see log for details
場所 SAP.Middleware.Connector.RfcRepository.findAlternateDestination(Int32& destIndex, Int32& alternativeDestinationsCount, Exception ex)
場所 SAP.Middleware.Connector.RfcRepository.Execute(RfcFunction function)
場所 SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadataNew(String name)
場所 SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadata(String name)
場所 SAP.Middleware.Connector.RfcRepository.GetFunctionMetadata(String name)
Error entry 2022-11-28 11:40:34.747 [Thread 1]
SAP.Middleware.Connector.RfcCommunicationException: The only destination SapDefaultConnectionName available failed when retrieving metadata from S4A – see log for details
場所 SAP.Middleware.Connector.RfcRepository.findAlternateDestination(Int32& destIndex, Int32& alternativeDestinationsCount, Exception ex)
場所 SAP.Middleware.Connector.RfcRepository.Execute(RfcFunction function)
場所 SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadataNew(String name)
場所 SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadata(String name)
場所 SAP.Middleware.Connector.RfcRepository.GetFunctionMetadata(String name)
場所 SAP.Middleware.Connector.RfcRepository.CreateFunction(String name)

Dear, Kunimoto
I ask for your help to know if you managed to solve or work around this problem. If so, could you help me?
Thank you very much.

Dear,Secco EWB

I solved this problem.

The error was caused by the latest connector not being properly installed.

The solution is as follows.
①Check if the “sapnco.dill” and “sapnco_utils.dill” files in the local folder “sapnco” are updated.
→ right click on the file > select properties > click on the details tab

②Compared with the latest connector information, if the “File version” item in the details tab does not match, uninstall the currently existing “sapnco.dill” and “sapnco_utils.dill”, Install the connector for

③Delete “sapnco.dill” in “sapnco” in the UiPath BAPI package directory and replace it with the latest “sapnco.dill” and “sapnco_utils.dill” installed locally.

Try it here.

Best regards,
Kunimoto