Skip to content

Latest commit

 

History

History
70 lines (32 loc) · 4.33 KB

releasing-an-sap-fiori-application-to-be-extensible-in-adaptation-projects-on-sap-s-4hana-1046206.md

File metadata and controls

70 lines (32 loc) · 4.33 KB

Releasing an SAP Fiori Application to Be Extensible in Adaptation Projects on SAP S/4HANA Cloud and SAP BTP, ABAP Environment

Ensure the UI adaptations that your customers make do not cause breaking changes when upgrading your project.

  1. Release the OData service of your application with a C1 contract.

    Set the state of the C1 contract to Released.

    The C1 contract forbids incompatible changes of the structure of the service but has no restrictions for changing annotations.

    For more information, see Setting the API Release State.

  2. Release the BSP (WAPA object) of your application with a C0 contract.

    In the manifest.json file, set the attribute sap.fiori/cloudDevAdaptationStatus to released.

    Other allowed values are no value (which means not released), deprecated, and obsolete.

    As a prerequisite for providing the manifest setting, sap.fiori/cloudDevAdaptationStatus, the C1 contract for the OData service of the SAP Fiori application must be set to the state Released. The application can only be deployed if this prerequisite is met.

    In the manifest.json file, ensure that the attribute: sap.app/id has at least two segments.

  3. Release the authorization objects and the restriction types that are used by the OData service.

    Set the state of the C1 contract to Released.

    Select the Use in Cloud Development checkbox.

    Note:

    This step is not a prerequisite for releasing the OData service and the Fiori application. You can still create app variants even if the authorization objects and the restriction types of the OData service are not released. However, the authorizations of the application variant are then identical to the authorizations of the original application. Also, the original application and the original application's business catalogs must be assigned to the user's role.

  4. Create an API snapshot including the released APIs, directly before shipment, using the Manage API Snapshots application. For more information, see Manage API Snapshots.

Once you have set these contracts, they are enforced by ATC checks. For more information, see Check Consistency of Release State.

Related Information

Extend (C0)

Use System-Internally (C1)

Descriptor for Applications, Components, and Libraries (manifest.json)

Develop an SAP Fiori Application UI and Deploy it to SAP S/4HANA Cloud Using SAP Business Application Studio