When developing an application integrated with SAP, you define a default connection. However, you can configure specific connections to SAP in different environments, which override the default connection. This allows your application to use specific SAP systems in certain environments, without having to change or republish the module.
The steps to configure a SAP connection in an environment at runtime are the following:
- Go to the management console of your OutSystems environment (Service Center).
- Go to Factory section and open your application.
- Open the module containing your SAP integration.
- Select the Integrations tab and click on the SAP connection name to edit it.
- Configure the SAP connection to point to the SAP system you want.
- Click Apply.
Your SAP integration will start using the SAP connection you have just configured.