SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
252 stars 73 forks source link

I need to be a dialogue user to access the RFC call #247

Closed samg1 closed 2 years ago

samg1 commented 2 years ago

I am currently developing a fees and report system for as hospital that uses SAP for patient information. After trying a couple of days, i managed to get the library working. But theres a big problem and unfortunately i dont see a way around it. The node-rfc library according to my supervisor, only allows you to make calls if ur user is a dialogue user, which i dont have. I have a reference user, and that is enough, usually, to perform these RFC calls that are just for reading data. Is there a way to access the data with a reference user?

I am using the plain username and password login.

PS: I really need this, ive been struggling for weeks to get this to work, and its finally working. I cannot get a dialogue user for this because of security reasons.

when i access with a reference user: image

when i access with a dialog user (provided to me momentarely just to make sure it works): image

Please help

System: OS: Windows 10 10.0.19042 CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz Memory: 703.62 MB / 7.88 GB Binaries: Node: 17.3.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD npm: 8.2.0 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 97.0.4692.71 Edge: Spartan (44.19041.1266.0), Chromium (97.0.1072.55) Internet Explorer: 11.0.19041.1202 npmPackages: node-rfc: ^2.5.1 => 2.5.1

samg1 commented 2 years ago

I figured it out. Turns out a comunication user is enough too. Check this note out if you have a similar problem: https://launchpad.support.sap.com/#/notes/460089