Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dcolley/sailsjs-node-rfc

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sailsjs-node-rfc

SailsJS with connection to SAP server via node-rfc

Dependencies

Installation / setup

Install SAP RFC DSK as per docu

Download SDK - in my case it was for Mac

Link the dylib files in /usr/local/lib so they are accessible from within node/sailsjs

cd /usr/local/lib
sudo ln -s /Users/derek/Downloads/nwrfc750P_5-80002761/nwrfcsdk/lib/libsapnwrfc.dylib 
sudo ln -s /Users/derek/Downloads/nwrfc750P_5-80002761/nwrfcsdk/lib/libicudata.50.dylib
sudo ln -s /Users/derek/Downloads/nwrfc750P_5-80002761/nwrfcsdk/lib/libicudecnumber.dylib
sudo ln -s /Users/derek/Downloads/nwrfc750P_5-80002761/nwrfcsdk/lib/libicui18n.50.dylib
sudo ln -s /Users/derek/Downloads/nwrfc750P_5-80002761/nwrfcsdk/lib/libicuuc.50.dylib
sudo ln -s /Users/derek/Downloads/nwrfc750P_5-80002761/nwrfcsdk/lib/libsapucum.dylib

'Open' all the dylib files

"Right-click > Open" each dylib file and accept the warning about the libs not being signed

Create a Sails JS Project

sails create myproj
cd myproj

Install deps

Use the @next to get async-await

npm install node-rfc@next --save

Sails files

  • rfc config file with credentials
  • helper
  • controller
  • route

About

SailsJS with connection to SAP via node-rfc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.