-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Lambda support #121
Comments
Have you found any solution? |
Where the ABAP backend system should be installed, to be reached from AWS Lambda? |
Hi @bsrdjan please help with the above. |
Basically you need to:
The AWS Lambdas run on AMI Linux and you can build the After the After deployment on AWS Lambda, the node-rfc should connect to some ABAP system from there and for that RFC connection parameters are required. That is why I asked where the ABAP system is running. ABAP business systems are not exposed in internet and the connection from Cloud to ABAP, requires SAP Cloud Connector (SCC) component installed on premise. The NWRFC SDK is currently not enabled for using SCC channel and the feature request is the same like for the Cloud Foundry: @mkolksdorf#79. |
hi @bsrdjan |
Did u find any solution? |
Solving the loading issue would lead to the next problem, I mentioned at the end of my previous comment. The NWRFC SDK is currently not enabled for using SAP Cloud Connector Channel and even if loaded, it can't use the SCC to reach ABAP backend system. The same feature request can be created, like for the Cloud Foundry: node-rfc/#79. |
So is it not at all possible. I was able to call sap functions with nodejs app with SDK configured inside EC2 instance. Just need to check if possible with lambdas |
Hi @bsrdjan , I finally figured out a way to get this done. First of all let me get you through issues. #Issue : Error: /var/task/node_modules/node-rfc/lib/binding/sapnwrfc.node: invalid ELF header #Issue: Error: libsapnwrfc.so: cannot open shared object file: No such file or directory #Issue: Not able to load libraries from lib folder. #Issue: Error: libuuid.so.1: cannot open shared object file: No such file or directory
Steps to get it done.
Thats all. All above issues will be resolved and SDK problem is also solved. |
The feature request to enable SAP NWRFC SDK usage on AWS Lambda, in Connectivity context, can be created for:
|
You may vote for the new request, linked here: #145 (comment) |
Thanks to @manishvyas1911 research, this is actually even easier to do. We have created a simple walkthrough to setup your AWS Lambda Project for Node RFC. |
@frumania: The connection parameters are not visible. How do you connect to the ABAP system? What are the prerequisites so that the system can be reached? In case it needs to be exposed to the internet, using SNC is mandatory and this is not visible in the simple walk-through, neither for node nor for the described alternative using JCo within a Java runtime. Neither node nor Java in a lambda environment can make use of a Cloud Connector setup |
Thanks for the reply! Connectivity: SNC: Happy to support, if you have a specifc setup! |
The directory was applied to the environment variable SAPNWRFC_HOME by following the installation instructions, but eventually it does not work. And here's the message.
In lambda, I put the file in the folder /var/task.
"The SAP NW RFC SDK could not be loaded"
I wonder if it can't be turned in aws lambda. I'd appreciate it if you could let me know.
Thank you
The text was updated successfully, but these errors were encountered: