How to use SAP Connector for Microsoft .NET 3.1 in a Windows project

This article provides step-by-step instructions on how to use BAPIs and remote-enabled function modules with SAP Connector for Microsoft .NET 3.1 in a Windows project.

requirement
UiPath Studio 24.10.1
The image is an erratum notice stating that as of September 23, 2024, Windows and cross-platform projects now use .NET 8, and that such projects created with Studio 2024.10 require robots using .NET 8 (Robot 2024.10 or later). (Captioned by AI)

NET (formerly .NET Core) version released for SAP’s Connector

The following will be raked from the installation.

sapnco.dll
sapnco_utils.dll
cpc4n.dll
System.Configuration.ConfigurationManager.dll
ijwhost.dll

Register the dll using Nuget Package Explorer with the name “net8.0”.

The net461 in the image is the NET Framework version. If you register both, you can use them in both Windows and legacy projects.

Package Depemdency Editer is set in the same way.


Detailed instructions for using Nuget Package Explorer can be found in the UiPath documentation.

After outputting nupkg, install it as a library from Manage Packages in Studio.
(It is easier if you register it in the tenant library of Orchestrator.)

After clicking Import Namespace
image

From the Import tab, select SAPMiddleware.Connector to add

Now all you need to do is InvokeCode and HaveFun!

1 Like

Hi! that’s great information!
Do you have the connectors available in some repository? I tried to download them but it seems you need to have a registered user in SAP portal and I didn’t find the connectors in other places to download =/

Hi @Michael.Vornes

It requires a registered user on the SAP portal and there is no other way to get it.

If I upload this library to the UiPath Marketplace it is available for use.
(If you zip the name and unzip it…)

Ok got it!
Would be great to have a library on marketplace to use this funcionality!