# Connecting to SAP with 3rd party Python lib or SAP JCo jar

**URL:** <https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712>\
**Category:** Ignition\
**Created:** [November 16, 2020, 11:12pm UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712 "2020-11-16T23:12:44Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![kavya\_shree](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kavya\_shree](https://forum.inductiveautomation.com/u/kavya_shree)\
**Post date:** [November 10, 2022, 10:37am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/21 "2022-11-10T10:37:10Z")

</div>

we followed all the above steps what you suggested. Please find the details below:

1. we downloaded SAPJco3.jar file and mapped the path into ignition.conf file.

# Java Classpath (include wrapper.jar) Add class path elements as# needed starting from 1

wrapper.java.classpath.1=lib/wrapper.jar  
wrapper.java.classpath.2=lib/core/common/\*  
wrapper.java.classpath.3=lib/core/gateway/\*

# Java Classpath for Interface for SAP ERP

wrapper.java.classpath.4=C:\Program Files/InductiveAutomation/Ignition/user-lib/jco/sapjco3.jar  
#wrapper.java.classpath.4=lib/sapjco3.jar  
#wrapper.java.classpath.4=C:\Program Files/Inductive Automation/Ignition/lib/sapjco3.jar

# path for Link Ignition site-packages with jpython site-packages

wrapper.java.classpath.5=lib/jython.jar  
....................................................................................................................  
2. we created DEV.jcoDestination file and kept in Ignition folder and we added below details.

ashost='[XXX.corp.xxx.com](http://XXX.corp.xxx.com)' #147.185.XX.XX  
sysnr='01'  
client=100  
user='XYZ'  
passwd='\*\*\*\*\*'  
lang='en'  
pool\_capacity=0  
..............................................................................................................  
3. we are writing python script to call BAPI in Script Console in Ignition. But getting error. Please find below code and attached error image.

sapSystem='DEV'  
from com.sap.conn.jco import \*  
#from com.sap.conn.jco import JCoDestinationManager  
destination = JCoDestinationManager.getDestination(sapSystem)

# Error

Java Traceback:  
Traceback (most recent call last):  
File "", line 4, in   
at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:56)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.base/java.lang.reflect.Method.invoke(Unknown Source)  
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not initialize class com.sap.conn.jco.JCo

 ![Ignition_SAP Error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/9/f94821df5e87dc95c7641e8b50dd3640a2f164e9.png)  
...........................................................

Please guide us after this. It will be very helpful for continuing with Ignition Software.

EDIT: We are able to read DEV.jcoDestination file, but when we are trying to ping it's giving "No User identity is configured" Error.  
Currently I have installed SAPJco3 jar and Ignition in my local system and I have access of SAP GUI. I have mapped same credentials and other SAP details in DEV.jcoDestination, I have also created one Technical User to call BAPI, but from both User, we are getting same error, Please help

 ![SAP User Error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/c/cc8fbc3023f031aff1af86bdb7ab964d42a8e51f.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 10, 2022, 10:55am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/22 "2022-11-10T10:55:08Z")

</div>

> [@kavya\_shree](#):
>
> in Script Console in Ignition

This is your problem. The Designer Script console does not run your script in the gateway process. You need to put your SAP code into a gateway message handler, or better, in a script module called from a message handler. In the designer's script console, use `system.util.sendRequest()` to cause your code to run in the gateway process. (And retrieve any return value.)

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [November 21, 2022, 3:21pm UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/23 "2022-11-21T15:21:25Z")

</div>

[Gateway Event Scripts - Ignition User Manual 8.1 - Ignition Documentation (inductiveautomation.com)](https://docs.inductiveautomation.com/display/DOC81/Gateway+Event+Scripts)

I found information on the message handler here.  
I am looking forward to learning more about connecting to SAP @kavya_shree

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [December 15, 2022, 3:34pm UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/24 "2022-12-15T15:34:37Z")

</div>

I honestly build a ship in a bottle, where the designer is the bottle.

I think there is enough here for some people to implement SAP in Ignition.

I appreciate help to make this a little more accessible for me.

I am in Ignition 8.1. Is this outdated?

Could someone make a guide with more accessibility?  
Or, I can kind of ask questions to get some help alternatively:

1. phyatt said Place the SAPJco3 library in a folder on your gateway.  
(c:\SAPJco3 for example)  
get the bit version to match your Java environment. (i.e.: 64 bit SAPJco3 library)  
1a. The "gateway" is a primary software service that runs as a web server.  
1b. The file just has to be in a drive on the computer that the software is running on, yes?

2. edit Ignition.conf file and add `wrapper.java.classpath.3=c:\SAPJco3/sapjco3.jar`  
2a. Ignition.conf is a file on the gateway, and can be edited with notepad++ yes?  
2b. Add `wrapper.java.classpath.3=c:\SAPJco3/sapjco3.jar` anywhere in the file?  
2c. No indent, yes?  
2d. This tells our gateway where the files is on the gateway, yes?

3. I need to add three lines, not one, yes?  
3a. I increment the path number and write my one line at the  
bottom for the location of the file?

```auto
# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
wrapper.java.classpath.1=lib/wrapper.jar
wrapper.java.classpath.2=lib/catapult.jar
wrapper.java.classpath.3=c:\SAPJco3/sapjco3.jar 

```

1. Place required .jcoDestination files in the \Program Files\Inductive Automation\Ignition folder.  
4a. This is a file that comes in the SAP Jco3 software, yes?  
4b. How do I know it is safe? Is that from SAP?  
4c. what are the three files for?  
4d. Dev, QAS, and PRD related to subsections SAP that SAP users are familiar with?

2. lib/wrapper.jar and lib/catapult.jar are a shorthand notation, I actually need what?

3. Place this script in the designer in Scripting\>project library\>new script ?  
This part was a bit confusing to me and I need to know a lot more about it.

```auto
ashost=192.168.x.x
sysnr=00
client=110
user=username
passwd=password (The SAPJco3 library will update a clear text password with an encrypted version after the first connection.)
lang=en
pool_capacity=0

```

1. Then I also can create my functions in that script.  
This part is confusing to me, and I think I need to know a lot more about it.

I think I understand that SAP has datasets in it, and I can make functions to return those datasets.  
"Z\_OEE\_RATE\_LIST" is a reference to a hypothetical custom table that SAP power users created for the example?  
So I would talk to my company SAP power users to know the names of the tables?  
SAP has a single location for tables that I could return as datasets?

* * *

Are Kavya and phyatt talking about the same thing?  
Or is phyatt writing custom functions, and Kavya is using part of the connection method to then access BAPI that contains predefined functions?

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [May 11, 2023, 5:18pm UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/25 "2023-05-11T17:18:41Z")

</div>

I asked many questions.

I am still hoping for a simple solution to connect to SAP that is as simple as connecting to an MS SQL server if possible.  
Ignition version 8.1.19.  
I think I will be using SAP HANA soon.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 11, 2023, 5:21pm UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/26 "2023-05-11T17:21:28Z")

</div>

> [@zacharyw.larson](#):
>
> connect to SAP that is as simple as connecting to an MS SQL server

I have a client that does exactly this. Their IT group built some stored procedures that call SAP's libraries from within the SQL Server. Ignition just calls those stored procedures in SQL Server.

---

<div class="post-metadata">

**Author:** ![kavya\_shree](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kavya\_shree](https://forum.inductiveautomation.com/u/kavya_shree)\
**Post date:** [October 12, 2023, 9:22am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/27 "2023-10-12T09:22:24Z")

</div>

Hi Team,

I am calling BAPI in Ignition script console. I am able to fetch the table from SAP ECC but I am not getting its value.  
please check for the below screen shots.  
Below is the output table from ECC: fetching only Headers.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/d/8d16339329aac448bf97fb4b7f5bb2fe3ff78cfa.png)

Below is the script in script console:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/443dbbdd6c207ee10dff24c8462378c06dd69e8c.png)

Below is my Actual data in SAP ECC, in xml format

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0cefdc47fdc41e19c26537a4565b7a872e0ebe11.png)

---

<div class="post-metadata">

**Author:** ![kavya\_shree](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kavya\_shree](https://forum.inductiveautomation.com/u/kavya_shree)\
**Post date:** [October 31, 2023, 6:56am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/28 "2023-10-31T06:56:19Z")

</div>

Hi Team,

I have solved above issue.

Now I am able to call BAPI and fetching the details of Table from ECC. This code I am executing in Script console.

But same code I applied on Button, I am not getting same output. Getting below error.

```auto
com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last): File "", line 34, in runAction NameError: global name 'JCoDestinationManager' is not defined
at org.python.core.Py.NameError(Py.java:261)
at org.python.core.PyFrame.getglobal(PyFrame.java:265)
at org.python.pycode._pyx1.runAction$1(:75)
at org.python.pycode._pyx1.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyFunction.function ___call__ (PyFunction.java:474)
at org.python.core.PyFunction. __call__ (PyFunction.java:469)
at org.python.core.PyFunction. __call__ (PyFunction.java:464)
at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:847)
at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:829)
at com.inductiveautomation.ignition.gateway.project.ProjectScriptLifecycle$TrackingProjectScriptManager.runFunction(ProjectScriptLifecycle.java:852)
at com.inductiveautomation.ignition.common.script.ScriptManager$ScriptFunctionImpl.invoke(ScriptManager.java:1010)
at com.inductiveautomation.ignition.gateway.project.ProjectScriptLifecycle$AutoRecompilingScriptFunction.invoke(ProjectScriptLifecycle.java:934)
at com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper.invoke(ScriptFunctionHelper.java:158)
at com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper.invoke(ScriptFunctionHelper.java:97)
at com.inductiveautomation.perspective.gateway.action.ScriptAction.runAction(ScriptAction.java:74)
at com.inductiveautomation.perspective.gateway.model.ActionCollection$ActionSequence$ExecuteActionsTask.lambda$call$0(ActionCollection.java:263)
at com.inductiveautomation.perspective.gateway.api.LoggingContext.mdc(LoggingContext.java:54)
at com.inductiveautomation.perspective.gateway.model.ActionCollection$ActionSequence$ExecuteActionsTask.call(ActionCollection.java:252)
at com.inductiveautomation.perspective.gateway.model.ActionCollection$ActionSequence$ExecuteActionsTask.call(ActionCollection.java:221)
at com.inductiveautomation.perspective.gateway.threading.BlockingTaskQueue$TaskWrapper.run(BlockingTaskQueue.java:154)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.inductiveautomation.perspective.gateway.threading.BlockingWork$BlockingWorkRunnable.run(BlockingWork.java:58)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.python.core.PyException: NameError: global name 'JCoDestinationManager' is not defined
... 28 common frames omitted

```

please guide

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 31, 2023, 11:59am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/29 "2023-10-31T11:59:46Z")

</div>

Show your code. (All relevant parts.)

---

<div class="post-metadata">

**Author:** ![kavya\_shree](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kavya\_shree](https://forum.inductiveautomation.com/u/kavya_shree)\
**Post date:** [November 2, 2023, 9:47am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/30 "2023-11-02T09:47:26Z")

</div>

Hi,  
I applied this script on button action event, in script console its working but same on action button its giving an error.

```auto
def runAction(self, event):
		import com.sap.conn.jco
		import com.sap.conn.jco.ext as et
		import java.util as ut
		import java.io as fil
		import java.lang.Object as obj
		import java.io.OutputStream as filOut
		import java.io.FileOutputStream as filOutput
		from com.sap.conn.jco import *
		import os
		import getpass
		directory = os.getcwd()
		user = getpass.getuser()
		system.perspective.print(directory)
		system.perspective.print(user)
		target = "C:\\Program Files\\Inductive Automation\\Ignition\\DEV";
		connectProperties = ut.Properties();
		connectProperties.setProperty(et.DestinationDataProvider.JCO_ASHOST, "");
		connectProperties.setProperty(et.DestinationDataProvider.JCO_SYSNR, "" );
		connectProperties.setProperty(et.DestinationDataProvider.JCO_CLIENT, "");
		connectProperties.setProperty(et.DestinationDataProvider.JCO_USER, "");
		connectProperties.setProperty(et.DestinationDataProvider.JCO_PASSWD, "");
		connectProperties.setProperty(et.DestinationDataProvider.JCO_LANG, "");     
		destCfg = fil.File(target + ".jcoDestination");
		system.perspective.print(destCfg)
		fos = fil.FileOutputStream(destCfg, 0);
		connectProperties.store(fos, target);
		fos.close();
		destination = JCoDestinationManager.getDestination("DEV");
		system.perspective.print(destination)

```

**ERROR : ---**

```auto
com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last): File "", line 34, in runAction NameError: global name 'JCoDestinationManager' is not defined
at org.python.core.Py.NameError(Py.java:261)
at org.python.core.PyFrame.getglobal(PyFrame.java:265)
at org.python.pycode._pyx1.runAction$1(:75)
at org.python.pycode._pyx1.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyFunction.function ___call__ (PyFunction.java:474)
at org.python.core.PyFunction. __call__ (PyFunction.java:469)
at org.python.core.PyFunction. __call__ (PyFunction.java:464)
at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:847)
at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:829)
at com.inductiveautomation.ignition.gateway.project.ProjectScriptLifecycle$TrackingProjectScriptManager.runFunction(ProjectScriptLifecycle.java:852)
at com.inductiveautomation.ignition.common.script.ScriptManager$ScriptFunctionImpl.invoke(ScriptManager.java:1010)
at com.inductiveautomation.ignition.gateway.project.ProjectScriptLifecycle$AutoRecompilingScriptFunction.invoke(ProjectScriptLifecycle.java:934)
at com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper.invoke(ScriptFunctionHelper.java:158)
at com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper.invoke(ScriptFunctionHelper.java:97)
at com.inductiveautomation.perspective.gateway.action.ScriptAction.runAction(ScriptAction.java:74)
at com.inductiveautomation.perspective.gateway.model.ActionCollection$ActionSequence$ExecuteActionsTask.lambda$call$0(ActionCollection.java:263)
at com.inductiveautomation.perspective.gateway.api.LoggingContext.mdc(LoggingContext.java:54)
at com.inductiveautomation.perspective.gateway.model.ActionCollection$ActionSequence$ExecuteActionsTask.call(ActionCollection.java:252)
at com.inductiveautomation.perspective.gateway.model.ActionCollection$ActionSequence$ExecuteActionsTask.call(ActionCollection.java:221)
at com.inductiveautomation.perspective.gateway.threading.BlockingTaskQueue$TaskWrapper.run(BlockingTaskQueue.java:154)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.inductiveautomation.perspective.gateway.threading.BlockingWork$BlockingWorkRunnable.run(BlockingWork.java:58)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.python.core.PyException: NameError: global name 'JCoDestinationManager' is not defined

```

Thank you

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 2, 2023, 12:07pm UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/31 "2023-11-02T12:07:19Z")

</div>

`runAction` implies that this button is in Perspective. If so, it is running in the gateway, not the designer (and will not run in a browser client's computer). You haven't set up your JARs and related settings to work in the gateway.

{ The designer script console's scope is similar to Vision scope, not to Perspective. Largely worthless for testing things you plan to use in Perspective. }

---

<div class="post-metadata">

**Author:** ![kavya\_shree](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kavya\_shree](https://forum.inductiveautomation.com/u/kavya_shree)\
**Post date:** [November 6, 2023, 8:04am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/32 "2023-11-06T08:04:07Z")

</div>

can you please guide how to set up JARs and related settings to work in the gateway.

Thank you

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [January 14, 2024, 1:21am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/33 "2024-01-14T01:21:42Z")

</div>

> [@Connecting to SAP with 3rd party Python lib or SAP JCo jar](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/9):
>
> I’m using SAPJco3 for RFC calls to SAP and it works nicely. Place the SAPJco3 library in a folder on your gateway. (c:\SAPJco3 for example) Be sure to get the bit version to match your Java environment. (i.e.: 64 bit SAPJco3 library) Edit the ignition.conf file and add wrapper.java.classpath.3=c:\SAPJco3/sapjco3.jar # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=lib/wrapper.jar wrapper.java.classpath.2=lib/catapult.…

---

<div class="post-metadata">

**Author:** ![anon646044](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@anon646044](https://forum.inductiveautomation.com/u/anon646044)\
**Post date:** [March 20, 2024, 7:25am UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/34 "2024-03-20T07:25:35Z")

</div>

Thanks a lot for your help! I followed these steps and it worked fine! Have a nice day =)

---

<div class="post-metadata">

**Author:** ![diamond](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@diamond](https://forum.inductiveautomation.com/u/diamond)\
**Post date:** [March 19, 2025, 2:18pm UTC](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712/35 "2025-03-19T14:18:05Z")

</div>

How are you guys converting that `JCoTable` object you extract from `function.getTableParameterList().getTable("OEE_RATE_LIST")` into a pydataset? Is there any builtin function for this?

[Previous page](https://forum.inductiveautomation.com/t/connecting-to-sap-with-3rd-party-python-lib-or-sap-jco-jar/40712.md?page=1)
