1.2.1
Upgrade SAP S/4HANA OData Connector to 2.x - Mule 4
Upgrade Anypoint Connector for SAP S/4HANA OData to take advantage of the increased security offered by using OAuth 2.0 authentication to connect to SAP S/4HANA OData.
Supported Upgrade Paths
This is direct upgrade from version 1.2.1 version to 2.x.
From Version | To Version |
---|---|
2.x |
Changes in This Release
-
OAuth 2.0 is supported.
The OAuth 2.0 Application Connection Provider option has been added to Connection types. For information about the configuration parameters for this connection type, see SAP S/4HANA OData Connector Reference. -
Mule runtime engine (Mule) 4.2.1 or later is required.
-
The default value for the Service directory field has been removed.
-
All exported classes now have different fully qualified names because the base package has changed.
-
The group ID of the connector’s JAR has changed.
Upgrade Prerequisites
Before you upgrade, create a backup of your files, data, and configurations in case you need to restore to them.
Upgrade Steps
Follow these steps to perform the upgrade:
-
In Anypoint Studio, create a Mule project.
-
In Mule Palette, click Search in Exchange.
-
In Add Dependencies to Project, enter
SAP S/4HANA OData
in the search field. -
In Available modules, select SAP S/4HANA OData Connector and click Add.
-
Click Finish.
-
Verify that the
mule-sap-s4hana-cloud-connector
dependency version is 2.x.x in thepom.xml
file in the Mule project.
Studio upgrades the connector automatically.
Post Upgrade Steps
After you install the latest version of the connector, verify the upgrade:
-
In Studio, verify that there are no errors in the Problems or Console views.
-
Verify that there are no problems in the project
pom.xml
file. -
Test the connection and verify that the operations work.
Troubleshooting
If there are problems with caching the parameters and metadata, try restarting Studio.
Revert the Upgrade
If it is necessary to revert to the previous version of SAP S/4HANA OData Connector, change the mule-sap-s4hana-cloud-connector
dependency version to the previous version in the project’s pom.xml
to the version to which you want to revert.