Giter VIP home page Giter VIP logo

s4hana-ext-situation-handling's Introduction

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.

s4hana-ext-situation-handling's People

Contributors

amritanshukr avatar btbernard avatar grenik avatar jonathanbaker7 avatar ksati avatar remyaravindran8 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

remyaravindran8

s4hana-ext-situation-handling's Issues

The Workflow import in WebIDE does not work

I am following the steps to import the Workflow project in the WebIDE. The project is imported, but there are no tasks or steps in the graphical editor. When trying to deploy the workflow to SCP I get an error.

Business Rules Editor Project: Import project or even tried create project throws me error. see attached.

with SAP Cloud Platform Business Rules Project :

I am trying to upload situation-handling-rules.zip (the zip inside the main zip) , by choosing upload zip from file system option
i get error message "some unknown error has occured. please contact technical support". 

and i see this in Logging section of Business Rules service:

2020-02-08T22:22:04,722+0000#733876938#ERROR#Socket connection timed out for host https://bpmrulesrepositorybpm-i851071trial.hanatrial.ondemand.com/rules-service. Reason: Read timed out (local port 49632 to address 10.117.12.116 (vsa7282767.nwtrial.od.sap.biz), remote port 443 to address 155.56.219.22)

tenant: i851071trial

please see my attache
Screen Shot 2020-02-08 at 5 23 05 PM
Screen Shot 2020-02-08 at 5 06 58 PM
Screen Shot 2020-02-08 at 4 55 32 PM
Uploading Screen Shot 2020-02-08 at 4.55.10 PM.png…

d screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.