The tutorial is carefully crafted to guide you through a clear, step-by-step process for developing and deploying the Caterer extension application by extending the Poetry Slam Manager(PSM).
If you prefer a quick start without further explanation, but with a deployment of the application with all features, follow these steps:
-
To proceed with side-by-side extension, you must have the extensibility enabled multi-tenant PSM application set up. If you haven't yet deployed the multi-tenant PSM application, please refer to the quick start guide for instructions on how to deploy it.
-
Prepare your consumer subaccount by ensuring that you have the necessary entitlements assigned as per the Bill of Materials.
-
To extend the base data model, ensure that the required role collection is assigned to your user in the subscriber subaccount. Follow the steps here: Assign Extension Developer Role
-
Clone the branch main of the repository in SAP Business Application Studio.
-
Open your terminal and navigate to the extension project directory by running:
cd partner-reference-extension-catering -
The CDS compiler requires the base model to be present as an NPM package in the
node_modulesfolder. To ensure this, pull the base model into your extension project. -
After pulling the base model, you need to install the project dependencies to make the model usable. Follow this step to install the base model dependencies.
-
Once everything is set up, you're ready to deploy! Push your extension project to the subscriber subaccount by following the steps outlined here: Deploy the Extension.
-
Configure the Service Broker to enable the Fiori application to communicate with the backend OData service. This step establishes the secure connectivity required between the UI and your extended data model.
-
In your subscriber subaccount, create a destination to point to the Poetry Slams OData service. This destination enables the Fiori application to consume the extended OData service seamlessly.
-
Open your terminal and navigate to the Fiori application directory by running:
cd partner-reference-extension-catering-ui -
Deploy your Fiori UI module to the Cloud Foundry runtime by following the deployment instructions here: Deploy your application.
-
Finally, configure SAP Build Work Zone to make your extension application accessible through a SAP Build Work Zone.