Skip to main content

sapConnection.yaml

The sapConnection.yaml specifies the outbound connections from aqishare to the SAP systems. It also includes the type of the connection, meaning, whether a REST (OData) service or a SAP function module through Remote Function Calls (RFC) is invoked. Depending on the type, different properties are required. The below tables lists all available properties for an outbound connection to the SAP system.

RFC Connections

The following properties allows to create a connection through RFC. It is possible to invoke any remote-enabled function module in the SAP system.

ParameterMandatoryTypeDescription
nameYesstringThe value for name must be unique and should not contain special characters; only alphanumeric characters (0-9, A-Z) and dashes are allowed.
typeYesstringAs this chapter describes the RFC connection to invoke SAP function modules, the value must be rfc.
userYesstringThe SAP user used to log in to the SAP system. It is recommended to use a technical user rather than a dialog user for the connections.
passwdYesstringThe password of the user above. Use Password Encryption to increase security.
ahostNostringSAP server host name or IP address to identify the location of the SAP system. Depending on the network setup, this could be a DNS-resolvable host name or a direct IP address. Ensure the specified host name or IP address is accessible from the environment where aqishare is running.
sysnrNostringSAP System Number. Unique identifier for the SAP application server, used to log in to the SAP system. It helps route connection requests to the correct SAP instance.
clientNostringClient used for the logon.
langNostringLanguage used for the logon.
info

The above are the common properties for the RFC connection. However, aqishare supports all properties that are compatible with the SAP NetWeaver RFC SDK.

REST / OData Connections

The following properties are related to a REST (OData) connection to the SAP system. Make sure the desired OData service is enabled and active in the SAP system.

ParameterMandatoryTypeDescription
nameYesstringThe value for name must be unique and should not contain special characters; only alphanumeric characters (0-9, A-Z) and dashes are allowed.
typeYesstringAs this chapter describes the REST connection, therefore the value must be rest.
hostNostringThe host name or IP address of the SAP S/4HANA system (or SAP Cloud System). Ensure the specified host name or IP address is accessible from the environment where aqishare is running.
authNoObjectAuthentication section containing login credentials.
Refer to the related storage system to see the available options.
proxyNostringSpecify a proxy server if needed.
verifyCertificateNoBooleanDisable the signature validation of the endpoint in SAP.
Default: true.

Example Configurations

These sample configurations include the most relevant properties as explained above.

Using RFC Connections

An example of connecting from aqishare to the SAP system via RFC. Refer to the related RFC mapping for Tasks.

Example
- name: sapRFC
type: rfc
user: AQIPRO
password: myS3crEtpAssw0rd!
ashost: 11.211.124.243
sysnr: 00
client: 100
lang: en

Using REST Connections

An example of connecting from aqishare to the SAP system via REST, using Password Encryption for the credentials. Refer to the related REST mapping for Tasks.

Example
- name: sapREST
type: rest
host: 11.2.0.112
port: 8090
auth:
type: Basic
user: AQIPRO_REST
password: ENC(fuervr4564gTZ670cS5mf/W/yHY1ptCvkwKrjdLY)