Skip to content

SAP Extensibility Explorer example: Situation Handling Automation for SAP S/4HANA Cloud

License

Notifications You must be signed in to change notification settings

SAP-samples/s4hana-ext-situation-handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

REUSE status

SAP S/4HANA Cloud Extensions: Situation Handling Automation

This repository contains the sample code for the Situation Handling Automation tutorial.

This code is only one part of the tutorial, so please follow the tutorial before attempting to use this code.

Description

The Situation Handling Automation tutorial uses the "Contract Is Ready as Source of Supply" situation type. The situation scenario covers contract handling in SAP S/4HANA Cloud.

Every time a contract is created or changed, the system automatically checks whether there are purchase requisitions without a source of supply. Persons responsible receive a notification and can assign the contract as a source of supply to the purchase requisitions.

With this extension sample, the manual assignment is automated based on business rules maintained in the SAP BTP rules engine using the context information of business documents. In the sample, the rule is based on the Material Group belonging to the requested product.

SAP Extensibility Explorer

This tutorial is one of multiple tutorials that make up the SAP Extensibility Explorer for SAP S/4HANA Cloud. SAP Extensibility Explorer is a central place where anyone involved in the extensibility process can gain insight into various types of extensibility options. At the heart of SAP Extensibility Explorer, there is a rich repository of sample scenarios which show, in a hands-on way, how to realize an extensibility requirement leveraging different extensibility patterns.

Requirements

  • An SAP Business Technology Platform (BTP) subaccount in the Neo environment with the Workflow, Business Rules and Portal service enabled and an SAP Business Technology Platform (BTP) Java server of any size.
  • An SAP Business Technology Platform (BTP) subaccount in the Cloud Foundry environment with the Enterprise Messaging service enabled.
  • An SAP S/4HANA Cloud tenant. This is a commercial paid product.
  • Java SE 8 Development Kit (JDK) to compile the Java application.
  • Apache Maven to build the Java application.

Download and Installation

This repository is a part of the Download the Application step in the tutorial. Instructions for use can be found in that step.

Please download the zip file by clicking here so that the code can be used in the tutorial.

Known issues

If you are working with an SAP Business Technology Platform_Trial_ account, you must add the following 2 properties to the destination so that the connection to SAP S/4HANA Cloud works:

proxyHost = proxy-trial.od.sap.biz
proxyPort = 8080

How to obtain support

If you have issues with this sample, please open a report using GitHub issues.

License

Copyright © 2024 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

SAP Extensibility Explorer example: Situation Handling Automation for SAP S/4HANA Cloud

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages