在 S/4 Hana Cloud 中,如果情况由后台作业触发情况实例,一些业务利益相关者(如库存管理员)需要在 S/4 系统中采取行动以手动解决特定情况实例。情况处理 ( 31N ) 中描述了该流程。借助 BTP 智能情况自动化,客户可以根据业务规则定义动作,自动解决情况实例。我们准备了任务“从 S/4HANA 自动解决 PO 数量短缺”和“从 SAP S/4HANA 自动解决实物库存”,其中提供了端到端的指导。

但是BTP 智能情况自动化 目前只在AWS Europe (Frankfurt) 有,那么其他地区有没有什么方法可以自动实现情况的自动化处理? 我使用 BTP 集成套件对此主题进行了一些探索。当然开发的 iflow 比较初步,需要根据业务需求进行一定的修改。

我将分享步骤,分享录制的中文视频帮助读者来实现情况的自动化处理。如果有需要,请通过此博客联系客户的 BTP 客户成功经理。

先决条件:
  • 1,你有 S/4 Hana Cloud 上线或正在实施中。
  • 2,你有 SAP Integration Suite 。
  • 3,你有 SAP Event Mesh 。

步骤:
1,创建ValueMapping以确定CPI中情况类型的需要采取的动作,这是一次性的工作。 但是我们可以编辑和附加其他映射。

2,在 CPI 中创建iflow,以从事件网格中获取所有情境类型的情况事件,并根据操作结果更新 S/4 Hana Cloud 中情境实例的状态。 这是一次性工作。

3,为特定情况类型创建一个 iflow 作为 action api。 发送 HTTPS 适配器的 URL 将在步骤 1 值映射中使用。 出于测试目的,ifollowing 非常简单。

4 测试:

中文讲解视频:

Resource Name Link
1 S4HC Situation Automation BaseOn Cpi For Situation Physical Inventory E2E Demo https://dam.sap.com/mac/u/a/JDXH1xW.htm?rc=10
2 S4HC Situation Automation BaseOn Cpi For Situation Quality Deficit E2E Demo https://dam.sap.com/mac/u/a/MkwFKZN.htm?rc=10
3 S4HC Situation Automation Base On Cpi Connection BT EM and S4hc https://dam.sap.com/mac/u/a/7vmRNtA.htm?rc=10
4 S4HC Situation Automation Base On Cpi S4HC Situation Configure Physical Inventory https://dam.sap.com/mac/u/a/vpcaB6C.htm?rc=10
5 S4HC Situation Automation Base On Cpi S4HC Situation Configure Quantity Deficit https://dam.sap.com/mac/u/a/ErgAoWc.htm?rc=10
6 S4HC Situation Automation Base On Cpi Create Queue & Subsribtion in EM https://dam.sap.com/mac/u/a/T6ZJ2Gr.htm?rc=10
7 S4HC Situation Automation Base On Cpi Expose API In S4hc https://dam.sap.com/mac/u/a/d8ZeBov.htm?rc=10
8 S4HC Situation Automation Base On Cpi Create Security Material In Cpi https://dam.sap.com/mac/u/a/EiSGSqT.htm?rc=10
9 S4HC Situation Automation Base On Cpi Master Iflow  Explanation https://dam.sap.com/mac/u/a/BwHVWUd.htm?rc=10
10 S4HC Situation Automation Base On Cpi  Quantity Deficit Action Iflow Explanation https://dam.sap.com/mac/u/a/Wnvr8Am.htm?rc=10
11 S4HC Situation Automation Base On Cpi Physical Inventory Action Iflow Explanation https://dam.sap.com/mac/u/a/tXEdnnn.htm?rc=10

 

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x