You can use a serverless runtime environment hosted on AWS or Azure to connect to the SAP system when you configure an SAP BAPI connection on Linux.
You can't create an SNC connection when you use the serverless runtime environment.
Before you configure an SAP BAPI connection using the serverless runtime environment, perform the following tasks:
•Add the libraries in the Amazon S3 bucket or Azure container in your AWS or Azure account.
•Configure the .yml serverless configuration file.
•Configure the JAVA_LIBS property for the serverless runtime environment on Linux.
Add the libraries in the Amazon S3 bucket or Azure container in your AWS or Azure account
Perform the following steps to configure an SAP BAPI connection in a serverless runtime environment:
1Create the following structure for the serverless agent configuration in AWS or Azure: <Supplementary file location>/serverless_agent_config
2Add the libraries in the Amazon S3 bucket or Azure container in the following location in your AWS or Azure account: <Supplementary file location>/serverless_agent_config/sap
Configure the .yml serverless configuration file
Perform the following steps to configure the .yml serverless configuration file in the serverless runtime environment, and to copy the libraries to the serverless agent directory:
1Copy the following code snippet to a text editor:
where the source path is the directory path of the library files in AWS or Azure.
2Ensure that the syntax and indentations are valid, and then save the file as serverlessUserAgentConfig.yml in the following AWS or Azure location: <Supplementary file location>/serverless_agent_config
When the .yml file runs, the libraries are copied from the AWS or Azure location to the serverless agent directory.
Configure the JAVA_LIBS property for the serverless runtime environment
Perform the following steps in Administrator to configure the JAVA_LIBS and JVMClassPath properties for the serverless runtime environment on Linux:
1Log in to Informatica Intelligent Cloud Services.
2Select Administrator > Serverless Environments.
3On the Serverless Environments tab, expand the Actions menu for the required serverless runtime environment, and then select Edit.
4On the Runtime Configuration Properties tab, select Data Integration Server as the service and Tomcat_JRE as the type.
5Click Add Property.
6Enter JAVA_LIBS in the Name field and set the following value: