paulwieland / node-red-contrib-saprfc Goto Github PK
View Code? Open in Web Editor NEWA node-red node for making Remote Function Calls to an SAP system
A node-red node for making Remote Function Calls to an SAP system
Hello Paul,
First of all I would like to say thank you for working your saprfc nodes.
Then, I had installed node-red-contrib-saprfc into my system. I could see the saprfc nodes after installing. But after restart they all disappeared. I reinstalled it but nothing changed.
You can see a screenshot about problem.
Do you have a reccommendation for this?
Thanks in advance
I was able to install the saprfc module successfully. Unfortunately, this error message always appears when starting Node-Red. Do you have any idea what it could be?
15 Jan 14:01:36 - [info] Node-RED version: v3.1.3
15 Jan 14:01:36 - [info] Node.js version: v20.11.0
15 Jan 14:01:36 - [info] Windows_NT 10.0.19045 x64 LE
15 Jan 14:01:37 - [info] Loading palette nodes
15 Jan 14:01:38 - [warn] ------------------------------------------------------
15 Jan 14:01:38 - [warn] [node-red-contrib-saprfc/saprfc] Error: Das angegebene Modul wurde nicht gefunden.
\?\C:\Users\RS\AppData\Roaming\npm\node_modules\node-red-contrib-saprfc\node_modules\node-rfc\build\Release\sapnwrfc.node
environment: {
"platform": {
"name": "win32",
"arch": "x64",
"release": "10.0.19045"
},
"env": {
"SAPNWRFC_HOME": "C:\nwrfcsdk",
"RFC_INI": "",
"nwrfcsdk_lib_on_path": true
},
"versions": {
"node": "20.11.0",
"acorn": "8.11.2",
"ada": "2.7.4",
"ares": "1.20.1",
"base64": "0.5.1",
"brotli": "1.0.9",
"cjs_module_lexer": "1.2.2",
"cldr": "43.1",
"icu": "73.2",
"llhttp": "8.1.1",
"modules": "115",
"napi": "9",
"nghttp2": "1.58.0",
"nghttp3": "0.7.0",
"ngtcp2": "0.8.1",
"openssl": "3.0.12+quic",
"simdutf": "4.0.4",
"tz": "2023c",
"undici": "5.27.2",
"unicode": "15.0",
"uv": "1.46.0",
"uvwasi": "0.0.19",
"v8": "11.3.244.8-node.17",
"zlib": "1.2.13.1-motley-5daffc7"
}
}
15 Jan 14:01:38 - [warn] ------------------------------------------------------
15 Jan 14:01:38 - [info] Settings file : C:\Users\RS.node-red\settings.js
15 Jan 14:01:38 - [info] Context store : 'default' [module=memory]
15 Jan 14:01:38 - [info] User directory : \Users\RS.node-red
15 Jan 14:01:38 - [warn] Projects disabled : editorTheme.projects.enabled=false
15 Jan 14:01:38 - [info] Flows file : \Users\RS.node-red\flows.json
15 Jan 14:01:38 - [info] Creating new flow file
15 Jan 14:01:38 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
15 Jan 14:01:38 - [warn] Encrypted credentials not found
15 Jan 14:01:38 - [info] Server now running at http://127.0.0.1:1880/
15 Jan 14:01:38 - [info] Starting flows
15 Jan 14:01:38 - [info] Started flows
Hi,
I would like to pass "TABLES" parameters in call node.
Currently it seems only possible to pass "IMPORTING" parameters.
Thanks.
Getting following error while using SAPRFC
Using Windows 10 64 Bit.
22 Dec 10:40:17 - [info] Node-RED version: v3.0.2
22 Dec 10:40:17 - [info] Node.js version: v16.17.0
22 Dec 10:40:17 - [info] Windows_NT 10.0.19045 x64 LE
22 Dec 10:40:18 - [info] Loading palette nodes
22 Dec 10:40:19 - [s7comm-Error] - Installation of Module net-keepalive failed because we might be on the wrong OS. OS=win32
22 Dec 10:40:19 - [s7comm-Info] - Debug configuration for logLevelNodeS7:{"debug":0,"silent":true}
22 Dec 10:40:19 - [s7comm-Info] - Debug configuration for logLevelNodeRED:{"debug":2,"silent":true}
22 Dec 10:40:20 - [info] Dashboard version 3.2.3 started at /ui
22 Dec 10:40:20 - [warn] ------------------------------------------------------
22 Dec 10:40:20 - [warn] [node-red-contrib-saprfc/saprfc] Error: The specified procedure could not be found.
\?\C:\Users\hiteshk.JINDALPIPE\AppData\Roaming\npm\node_modules\node-red-contrib-saprfc\node_modules\node-rfc\lib\binding\sapnwrfc.node
The SAP NW RFC SDK could not be loaded, check the installation: https://github.com/SAP/node-rfc/blob/master/doc/installation.md#sap-nwrfc-sdk-installation
environment: {
"platform": {
"name": "win32",
"arch": "x64",
"release": "10.0.19045"
},
"env": {
"SAPNWRFC_HOME": "C:\nwrfcsdk",
"RFC_INI": "",
"nwrfcsdk_lib_on_path": true
},
"versions": {
"node": "16.17.0",
"v8": "9.4.146.26-node.22",
"uv": "1.43.0",
"zlib": "1.2.11",
"brotli": "1.0.9",
"ares": "1.18.1",
"modules": "93",
"nghttp2": "1.47.0",
"napi": "8",
"llhttp": "6.0.7",
"openssl": "1.1.1q+quic",
"cldr": "41.0",
"icu": "71.1",
"tz": "2022a",
"unicode": "14.0",
"ngtcp2": "0.1.0-DEV",
"nghttp3": "0.1.0-DEV"
}
}
No where in your project Emonlib with ADS1115 support do you have the ability to contact or submit an Issue. I'm hoping by reaching out here that you enable the feature over there as I am having issues with the results. Running an esp32 w/ ads1115
Kori
Hi,
I tried to increase the number of RFC connections in line 93 in saprfc.js but it doesn't work. Is there another limiter somewhere?
node-red-contrib-saprfc/saprfc.js
Line 93 in 7be2ccc
After 4 parallel RFC connections, all other http requests have to wait until an RFC connection is finished.
This problem does not exist with Wildfly and JCo.
Hi Paul,
I have probably messed up some installation steps on the way, but I am not very experience in Linux and the fact that I am doing this in Suse makes it bit worse (I am using to Raspbian on a PI when it comes to Linux).
The server I am installing in x86 on Suse Linux, so I ran into issues installing node-rfc itself, but after cloning it I think I managed to install it after all.
Next I tried adding the your module from within the palette manager and it failed. I am seeing this at the end of the log file:
38 verbose stack Error: /root/snap/node-red/538/node_modules/node-rfc: Appears to be a git repo or submodule.
38 verbose stack at /snap/node-red/538/lib/node_modules/npm/node_modules/npm-install-checks/index.js:138:15
38 verbose stack at callback (/snap/node-red/538/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:295:20)
38 verbose stack at FSReqWrap.oncomplete (fs.js:154:5)
39 verbose cwd /root/snap/node-red/538
40 verbose Linux 4.12.14-122.17-default
41 verbose argv "/snap/node-red/538/bin/node" "/snap/node-red/538/bin/npm" "install" "--no-audit" "--no-update-notifier" "--save" "--save-prefix="~"" "--production" "[email protected]"
42 verbose node v10.19.0
43 verbose npm v6.13.4
44 error code EISGIT
45 error path /root/snap/node-red/538/node_modules/node-rfc
46 error git /root/snap/node-red/538/node_modules/node-rfc: Appears to be a git repo or submodule.
47 error git /root/snap/node-red/538/node_modules/node-rfc
48 error git Refusing to remove it. Update manually,
48 error git or move it out of the way first.
49 verbose exit [ 1, true ]
Did I install node-rfc in the wrong place? I don't really understand what these messages mean.
Thanks,
Csongor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.