Skip to content

The main intent of this scenario is to put an event-driven architecture into action by automating business processes through SAP Build Process Automation and also by building an extension application on SAP Business Technology Platform using SAP Cloud Application Programming Model (CAP) which consumes and further processes the SAP S/4HANA On-pre...

License

Notifications You must be signed in to change notification settings

SAP-samples/s4hana-cloud-extension-process-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Extend SAP S/4HANA with SAP Build Process Automation

REUSE status

Description

The main intent of this scenario is to put an event-driven architecture into action by automating business processes through SAP Build Process Automation and also by building an extension application on SAP Business Technology Platform using SAP Cloud Application Programming Model (CAP) which consumes and further processes the SAP S/4HANA On-premise business events.

This application showcases:

  • Building applications on SAP Business Technology Platform (BTP) using SAP Cloud Application Programming Model(CAP)
  • Consuming events from SAP S/4HANA on premise using SAP Event Mesh
  • Consuming REST APIs from SAP S/4HANA on premise using SAP Business Technology Platform Connectivity Service
  • SAP Process Automation (workflow, business events, actions)

Business Scenario

As Supplier Relationship Manager of ACME Corporation Jane would like to have a curated mechanism to onboard new suppliers. The newly onboarded suppliers needs to go through multiple validations before ACME starts to do business with the supplier.

  • A Supplier Relationship executive would like to have a minimalistic form to onboard the supplier.

  • Jane would like to get a notification for approval whenever a new Supplier is onboarded.

  • ACME would like the Supplier to be validated by iCredible (Third-party Business Partner Validation firm).

  • John an employee iCredible (Third-party Business Partner Validation firm) would like to get notification when ever new suppliers are added to SAP S/4HANA system of ACME.

    Business Flow

  • John can then proceed to validate the supplier.

  • Once John’s verification is completed, Jane would like to get a notification to approve and unblock payments and creation of purchase orders of the new Supplier

    Business Flow

Architecture

Solution Diagram

The Business Partner Validation application is developed using the SAP Cloud Application programming Model (CAP) and runs on the SAP BTP Cloud Foundry runtime. It consumes platform services like SAP Event Mesh, SAP HANA and Connectivity. The events occuring in SAP S/4HANA on premise are inserted into the SAP Event Mesh queue. The application running in Cloud Foundry is notified on events, consumes them from the queue and inserts the event data into the HANA database. The Business Partner Validation Application uses SAP S/4HANA REST API's to read additional Business Partner Data from the S/4 HANA system.

solution diagram

Focus Topics of the Mission

The tutorial focus on the following aspects:

Requirements

  • SAP S/4HANA On-Premise System.
  • SAP Business Technology Platform Account

For local development you would require the following:

Make sure you run the latest long-term support (LTS) version of Node.js with an even number like 16. Refrain from using odd versions, for which some modules with native parts will have no support and thus might even fail to install. In case of problems, see the Troubleshooting guide for CAP for more details.

Where to Start?

Known Issues

No known issues.

How to Obtain Support

In case you find a bug, or you need additional support, please open an issue here in GitHub.

License

Copyright (c) 2023 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 main intent of this scenario is to put an event-driven architecture into action by automating business processes through SAP Build Process Automation and also by building an extension application on SAP Business Technology Platform using SAP Cloud Application Programming Model (CAP) which consumes and further processes the SAP S/4HANA On-pre...

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •