SAP Knowledge Base Article - Public

3582104 - Deployment Configuration Generator prompts for user and password with SAMLAssertion destination - SAP S/4HANA Cloud Public Edition

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

  1. Go to SAP Business Application Studio (BAS).
  2. Right-click on the project and select 'Open Application info'.
  3. Click on 'Add deployment configuration'.
  4. In the Deployment Configuration Generator, select 'Deploy Configuration' and follow the steps:
    1. Choose the target: ABAP
    2. Destination: SAMLBearerAssertion_S4HCDevSys
    3. Enter User credentials
    4. Enter Password

Cause

The certificate is expired.

  1. Go to SAP S/4HANA Cloud Development System.
  2. Go to Communication System application.
  3. Under SAML Bearer Assertion Provider
    1. Check "Valid To" property
    2. Validity is earlier than today's date.

Resolution

  1. Go to SAP BTP > Destinations > Download Trust
  2. Go to SAP S/4HANA Cloud Public Edition Development System > Communication system application
    1. Upload the new certificate
    2. Save

    

For more information, please refer to the following documentation

See Also

3445942 - UI Development in SAP S/4HANA Cloud Public Edition - Frequently Asked Questions - SAP for Me

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