Skip to Content
Technical Articles
Author's profile photo Jacky Liu

Use CPI To Realize S/4 Hana Cloud Situation Resolution Automation

In S/4 Hana Cloud, if situations triggered by background jobs, some business stakeholders like inventory mananger need to take action in S/4 system to resolve the specific situation instances manually. The process is descriped in Situation Handling (‏31N‏). With help of BTP Intelligent Situation Automation ,customer can define actions based on business rules which will resolve the situation instances automatically. We have prepared missions Automate Resolutions for PO Quantity Deficit from S/4HANA and  Automate Resolutions For Physical Inventory From SAP S/4HANA in which end to end guidances have been provided. 

But BTP Intelligent Situation Automation only available in AWS Europe (Frankfurt) currently,then for other resions is there any method to realize situation resolution automatically? I made some investigating in this topic with BTP integration suite . I will share the steps, but I will not repeat setting up steps in S/4 Hana Cloud and Event Mesh. The readers can refer to the mentioned missions. If you have such kind requirements, please reach out to customers’ BTP CSP with this blog.


1,  You have S/4 Hana Cloud gone live or in implementation .

2,  You have SAP Integration Suite .

3, You have SAP Event Mesh .


1,  Create ValueMapping to determine Action for situation types in CPI, this is one time job. But we can edit and append other mappings .

  2, Create the following inflow in CPI to get situation events from event mesh for all situation types , and update status of situaiton instances in S/4 Hana Cloud based on action result.  This is one time job .

3,  Create an iflow as an action api for a specific situation type. The URL of sending HTTPS adapter will be used in step 1 value mapping . For testing purpose the ifollowing is very simple .

4 Testing:

The End!

Thanks for your time!

Best Regards!

Jacky Liu





Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.