SAP BTP 上 workflow 和 Business Service 的 project 管理

简介: SAP BTP 上 workflow 和 Business Service 的 project 管理

官网地址:https://developers.sap.com/tutorials/cp-cf-businessrules04-create-project.html


A project is used to configure and manage the entities of business rules. Entities of business rules include data objects, rules, rule sets, and rule services. You can create projects in the Manage Rule Projects application, which can be accessed from the Workflow Management home screen.


我们通过 project 来配置和管理 business rule 的实体,这些实体包括:


数据对象 data objects

规则 rules,规则集合 rule sets

规则服务 rule service


image.png

新建一个 project,然后为其分配 Data object,Rule services,Ruleset 和具体的 rules:

image.png



Data objects are the building blocks of a project. It can hold the input as well as output information of a business rule.


数据对象是项目的构建组成部分。 它可以保存业务规则的输入和输出信息。


In this tutorial, we will create data objects which hold the employee details and the details of the equipment assigned to the employee.


image.png


创建新的本地 data object:


image.png

给 data object 分配属性:


image.png


https://developers.sap.com/tutorials/cp-cf-businessrules05-dataobjects.html



image.png

创建 value help 的方法:


image.png

Value help 的类型,选择成 Value list:


image.png


手动维护 Value list 的 code 和 description:


image.png


A decision table rule is the collection of rule expressions in tabular format and sequentially executes each rule in the table.


决策表规则集是以表格格式维护的规则表达式的集合,并按顺序执行表中的每个规则。


A text rule is a decision logic in simple if-then format. The If condition of the text rule is evaluated by the system once the rule is triggered. Based on the result of the condition, the rule performs a set of operations.


创建 local rules:

image.png


创建一条新的 local rule:

image.png


点击设置按钮:


image.pngimage.png



选择结果数据结构,即 determine 出来的设备信息:



image.pngimage.png



创建好的 decision table 如下图所示:


image.png


再插入一条决策规则:

image.png


最终结果:

image.png

再创建一条 text rule:


image.png

如果设备金额大于 80,则需要走审批流程:

image.png

相关文章
|
6月前
|
供应链 搜索推荐 数据挖掘
什么是 SAP Business ByDesign 里的 TREX
什么是 SAP Business ByDesign 里的 TREX
32 0
|
6月前
|
前端开发 JavaScript Java
如何在 SAP BTP 上创建 Module 之间具有依赖关系的 SAP MTA 应用
如何在 SAP BTP 上创建 Module 之间具有依赖关系的 SAP MTA 应用
70 0
|
18天前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
19 0
|
1月前
|
UED
什么是 SAP Fiori 的 Technical Catalog 和 Business Catalog
什么是 SAP Fiori 的 Technical Catalog 和 Business Catalog
34 0
|
6月前
|
XML 存储 搜索推荐
一个真实的 SAP 标准 UI5 应用的扩展开发项目(Extension Project)分享 - UI5 界面上新增订单创建者字段
一个真实的 SAP 标准 UI5 应用的扩展开发项目(Extension Project)分享 - UI5 界面上新增订单创建者字段
58 0
|
2月前
|
监控
什么是 SAP ABAP workflow
什么是 SAP ABAP workflow
23 0
|
2月前
|
机器学习/深度学习 人工智能 监控
SAP Sales Cloud,Service Cloud 和 SAP BTP 平台上的 AI 集成场景
SAP Sales Cloud,Service Cloud 和 SAP BTP 平台上的 AI 集成场景
67 0
|
6月前
|
存储 JSON API
使用 SAP Business Application Studio Data Editor 生成 Mock Data
使用 SAP Business Application Studio Data Editor 生成 Mock Data
58 0
|
6月前
|
JavaScript 前端开发 Java
如何使用 SAP ABAP Development Tool 连接 SAP BTP 上的免费 ABAP 编程环境试读版
如何使用 SAP ABAP Development Tool 连接 SAP BTP 上的免费 ABAP 编程环境试读版
38 0
|
6月前
|
IDE 开发工具
SAP UI5 extension project 的概念以及如何在 WebIDE 里创建 view 和 controller extension
SAP UI5 extension project 的概念以及如何在 WebIDE 里创建 view 和 controller extension
53 0