Symptom
- Attempt to deploy a new Fiori app in SAP S/4HANA Cloud Public Edition results in an authentication error during the deployment phase.
- The error occurs when attempting to authenticate, despite using the correct user credentials.
- The issue persists even when trying to deploy using the command npx fiori deploy.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to SAP Business Application Studio (BAS).
- Right-click on the project and select 'Open Application info'.
- Click on 'Add deployment configuration'.
- In the Deployment Configuration Generator, select 'Deploy Configuration' and follow the steps:
- Choose the target: ABAP
- Destination: SAMLBearerAssertion_S4HCDevSys
- Enter User credentials
- Enter Password
Cause
The certificate is expired.
- Go to SAP S/4HANA Cloud Development System.
- Go to Communication System application.
- Under SAML Bearer Assertion Provider
- Check "Valid To" property
- Validity is earlier than today's date.
Resolution
- Go to SAP BTP > Destinations > Download Trust
- Go to SAP S/4HANA Cloud Public Edition Development System > Communication system application
- Upload the new certificate
- Save
For more information, please refer to the following documentation
- For key user extensibility, see Create a Communication System for SAP Business Application Studio.
- For developer extensibility, see Create a Communication System for SAP Business Application Studio.
See Also
3297481 - SAP Business Application Studio Integration with SAP S/4HANA Cloud - SAP for Me
Connect SAP Business Application Studio and SAP S/4HANA Cloud System | SAP Tutorials
Keywords
SAP S/4HANA Cloud Public Edition, Fiori app, deployment, authentication error, SAP Business Application Studio, SAMLBearerAssertion_S4HCDevSys, ABAP, development system, credentials , KBA , CA-UI5-ABA-SAR , UI5 App Infrastructure: SAPUI5 ABAP Repository , Problem
Product
SAP S/4HANA Cloud Public Edition all versions