Skip to content

The SME partner reference application provides a "golden path" to build, deploy, run, and integrate full-stack cloud applications on the SAP Business Technology Platform for SAP partners in the SME market.

License

Notifications You must be signed in to change notification settings

Sv7enNowitzki/sme-partner-reference-application

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SME Partner Reference Application

REUSE status

Description

The SME Partner Reference Application provides a "golden path" to build, run and integrate full-stack cloud applications on the SAP Business Technology Platform.

With this repository we want to provide guidance for SAP partners in the market for small and midsize enterprises (SME) to extend SAP ERP solutions by side-by-side cloud applications running on the SAP Business Technology Platform (BTP). This guidance comprises

  • an opinionated selection of BTP components with architecture guidance tailored for the SME market,
  • best practices ("golden paths") to build, deploy and provision full-stack BTP applications, and
  • we pay special attention to the interoperability and integration with SAP cloud solutions such as SAP Business ByDesign, S/4HANA Cloud and Cloud for Projects.

The repository includes a sample application that is ready to deploy and run, and tutorials to re-build the sample application from scratch following an incremental development approach from one-off to multi-consumer solutions.

About the sample application "Author Readings":

Assume you are an event manager and your job is to organize and run author readings and poetry slams for reading clubs, book fairs and other occasions.

Your company is running its business on an cloud ERP system provided by SAP and you mostly use the project management work center to plan and staff events, to collect costs and to purchase required equipment. Additionally an SAP partner provided a side-by-side application named "Author Reading Management" to publish author reading events and to register event participants and visitors.

It was in particular important for you to separate the event publishing and participant registration from your ERP system for security and compliance reasons. Nevertheless, as a power user working in both systems you asked the partner to ensure a seamless user experience and navigation between the SAP system and the partner application.

Features of the author reading application:

  1. Create and change author reading events; publish and block author readings
  2. Add and remove participants; confirm and cancel participations
  3. Calculate the number of free seats and block overbookings
  4. One-click creation of projects for reading events and a preview of project information on the author reading UI (here, ERP authorizations must apply in the partner application as well!)
  5. ERP users shall be able to launch the author reading app on their ERP launchpad, and it shall be possible to navigate from author readings to the associated project in the ERP system
  6. Synchronize the status of the author reading event with the status of the associated project

Additionally, the sample showcases qualities relevant for enterprise-grade partner applications, supported by BTP services and programming models:

  1. Standardized online development environment using the Business Application Studio
  2. State-of-the-art web application architecture based on HTML5, NodeJS and HANA Cloud
  3. Model-driven development based on the SAP Cloud Application Programming Model (CAP), SAP Core Data Services (CDS) and Fiori Elements
  4. User experiences that fit to the SAP standard based on standard SAP floorplan patterns, and out-of-the-box theming and personalization
  5. A draft concept to allow users to change data in multiple steps without publishing incomplete changes
  6. Enterprise-grade security by authentication and role-based authorizations in line with SAP product standards and technology alignments
  7. Enterprise-ready compliance by personal data management and audit log
  8. Seamless and secure frontend and back-channel integration with SAP ERP solutions
  9. Delivering “open solutions” by integration-ready OData APIs and business events following SAP technology alignments
  10. Deployment as one-off and multi-customer solution

Which BTP resources do we use for the partner reference application?

The partner reference application is basically a NodeJS-application deployed on Cloud Foundry. We are using the SAP Business Application Studio as development environment and Github as code repository. The SAP Cloud Application Programming Model (CAP) and Fiori Elements provide a model-driven development approach and empower us to focus on business objects, business logic and UI content. The use of BTP services save development- and application management effort and provide a trusted runtime in line with SAP standards.

Join our community!

Do you like to share your own ideas and best practices? Please feel welcome to a vivid conversation about the SME Partner Reference Application in our SAP Community.

Requirements

The application is based on the SAP Business Technology Platform (BTP) and SAP Cloud ERP Solutions. Therefore you need

  • administrative access to a BTP account with entitlements for SAP Business Application Studio, Cloud Foundry Runtime, SAP HANA Cloud, SAP HANA Schemas & HDI Containers, SAP Build Work Zone, SAP Event Mesh, Auditlog Service, Audit Log Viewer Service,
  • access to an SAP Business ByDesign tenant and authorizations for work centers Application and User Management and Project Management,
  • access to an SAP S/4HANA Cloud, public edition tenant and authorizations for administration and project management apps,
  • administrator access to an SAP Identity Authentication Service tenant (IAS).

We are using the Business Application Studio as standardized development environment and Github as code repository.

Download and Installation

You can start your journey following two paths:

  1. Deploy and run the sample application as provided in this respository following the tutorials for deployment and provisioning of the one-off or multi-tenant version of the sample application.

  2. Re-build the application from scratch following the guidelines step-by-step starting with tutorial "Build a full-stack BTP Application with One-off Deployment in a Customer BTP Account".

I would recommend to take the first approach and deploy the multi-tenant version of the sample application (./Applications/author-readings-mt) as is, and then use the tutorials as retrospect to understand the steps taken to reach this state.

Tutorials

Starting easy, we create, deploy and run a one-off (single-tenant) version of the application first:

  1. Build a full-stack BTP Application with One-off Deployment in a Customer BTP Account

    1. Prepare the BTP Account
    2. Develop the Core of the BTP Application
    3. One-off Deployment
    4. Integration with SAP Business ByDesign
    5. Event-based Integration with SAP Business ByDesign
    6. Manage Data Privacy
    7. Test, Trace and Debug
  2. Deploy the Sample Application to a BTP Account

  3. A Guided Tour to explore the Capabilities of the Sample Application

Enhance the application to support multiple customers using shared BTP resources:

  1. Enhance the BTP Application for Multi-Tenancy

  2. Deploy the Multi-Tenant Application to a Provider Subaccount

  3. Provision Tenants of the Multi-Tenant Application to Customers

  4. Connect a Tenant with SAP Business ByDesign

Enhance your market reach and add S/4HANA Cloud, public edition as ERP-backend:

  1. Integrate the BTP Application with S/4HANA Cloud, public edition

  2. Connect a Tenant with S/4HANA Cloud, public edition

Enhance your market reach and add S/4HANA Cloud for Projects, collaborative project management as backend project management solution:

  1. Integrate the BTP Application with S/4HANA Cloud for Projects, collaborative project management

  2. Connect a Tenant with S/4HANA Cloud for Projects, collaborative project management

Open the APIs of the BTP application for 3rd-party integrations:

  1. Enhance the BTP Application by a Service Broker

  2. Configure and Consume the APIs of the BTP Application

After completing all steps you may have a scalable application with multiple customer subscriptions:

Related resources:

Known Issues

No known issues.

How to obtain support

This repository is provided "as-is"; no support is available. For questions and comments, join the SAP Community.

License

Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

The SME partner reference application provides a "golden path" to build, deploy, run, and integrate full-stack cloud applications on the SAP Business Technology Platform for SAP partners in the SME market.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.8%
  • CAP CDS 35.3%
  • HTML 4.9%