【SAP MII学习】Day01--Overview, Security Services, and Workbench
1. Module 1: Overview
1.1 问题存在的原因

上图展示的是在工厂中IT的架构图,主要分为一下的三个层次:
Shop Floor Automation and Control Systems (SFAC):collect data from the PLCs and sensors that are connected to the machinery on the factory or plant floor. SFACs usually connect to Historians and SCADA (Supervisory Control and Data Acquisition) systems as repositories to store these voluminous data on a real-time basis, and also drive feedback control at the machine level.Manufacturing Execution Systems (MES):tracks all customer orders, schedules, labor, resources, and inventory across the production line by shift.Enterprise Resource Planning (ERP): plan and record transaction data to measure variance against set performance targets.
通常情况下,在大多数的工厂中,SFAC系统和MES系统之间的连接普遍是不存在问题的,问题基本处在MES系统与顶层系统ERP之间的连接。因此导致了下面的问题:
- 企业花费大量资金雇佣员工将MES系统中的数据导入到ERP系统。浪费了大量的人力物力,并且采用人工录入的方式极有可能产生一些录入错误
- 录入的数据是已经过时的数据,因此无法得到快速和实时的生产进度从而无法比较和既定目标之间的差距,导致错过发货时间。
- 此外,尽管在大多数工厂收纳柜SFAC系统和MES之间的连接不存在问题,但是不同生产商,不同平台的系统也有可能导致连接不稳定,从而导致更大的问题。
所以为了解决这一个问题,最重要的就是要实现MES系统和ERP系统之间的结合。
The key point to make in this slide is that the business implication of any exception or the ability to compare actual manufacturing performance against set targets is not evident until MES data and exceptions from the factory floor hit the ERP system. ERP in essence, if integrated seamlessly with the factory MES layer, provides the business context for manufacturing transactions, exceptions and issues captured on the factory floor.
完美工厂的最终目标是优化制造资产的可用性,并在与企业计划和目标同步的情况下提高生产性能。
1.2 SAP MII简介
从下图可以看出,SAP MII就是连接了MES系统和ERP系统的一个中间层。

SAP MII提供了一个灵活的组合平台,用于开发制造组合应用程序,通常可以解决制造集成领域的两个最大挑战:
- 与工厂和企业业务系统实时灵活集成
- 对多个不同来源的工厂数据进行实时可见性和分析
总的来说,它提供了数据连接器库,用于连接到专有的和基于标准的工厂系统,以及企业业务应用程序和逻辑引擎,以便根据需要处理数据,同时还提供了用于提供生产仪表板的分析和可视化引擎。


总的来说,SAP MII系统主要提供了两大类的功能,分别是:
-
Integration
Data Services: provides connectors and data queries to connect and manipulate data from external systems.Message Services: receive, buffer and process incoming XML messages from external systemsBusiness Logic Services: provides a graphical modeling framework for business logic development and execution.
-
Intelligence
Visualization Services: provides the display templates, animated graphics for custom analyticsAnalytic Services: real-time process parameter monitoring and analytics engine for SPC/SQC and statistical analysis
All logic (programs) developed in SAP MII are automatically exposed as web services which can be accessed by external systems.
1.3 SAP MII系统架构


下面的这个图是一个整体的架构图,可以看到MII是位于ERP系统和MES系统之间负责两者之间结合的一个中间层。



1.4 小结
- One of the major challenges of manufacturing companies is disconnection between enterprise planning system and execution systems leading to lack of visibility and responsiveness
- The vision for manufacturing companies is to electronically linking the enterprise business process and master data with plant manufacturing processes to run from a “single version of the truth”
- SAP MII enables the adaptive manufacturing vision and perfect plant by providing easy integration, visualization, and composition as a platform between ERP and manufacturing execution and automation systems
- SAP MII provides integration services to ERP and manufacturing systems by message services, business logic services, data services and Plant Connectivity
- It also provides alert, notification, data persistency and visualization services to provide intelligent reports and dashboards for manufacturing process monitoring and decision making
- SAP MII acts as the integration platform between SAP ME and SAP ERP for bi-directional data exchange
2. Module 2: Security Services
这一部分主要介绍了权限管理。个人感觉不常用,只记录一下如何查看自己的权限。在Security Service菜单中找到User Management,进入后输入自己的账号即可看到自己账户所拥有的权限。

3. Module 3: Administration, Workbench, and Content Management
3.1 System Properties
在这个界面中,可以对MII系统进行一些配置。比较常用的字段有一下几个:
Nameidentifies the base system configuration.Description (Optional)describes the system configuration.Languagesets the default system language. Logon accounts have a language setting that overrides the system setting.BinarySizeLimitspecifies the maximum number of kilobytes that can be posted to a transaction as inputSessionTimeOutdefines the amount of time in minutes the system uses to automatically close inactive sessions.TransactionCacheDurationdefines how many hours a transaction is kept in the system cache.BypassListdefines a comma-separated list of servers and URLs that bypass the proxy server. You can include a wildcard character, such as wdf.sap.*.ProxyBypassLocalindicates whether the local intranet servers bypass the proxy server.Hostdefines the local proxy server. The system uses this value to access virtual servers in other locations.Portidentifies the port of the internet proxy server that the MII system uses to communicate while accessing external URL.UserNameidentifies the user name for authentication.UserPassworddefines the password for authentication. The password value is encoded.ResolveMachineNameenhances the login information. If you select the checkbox, the system finds the source machine name through the configured machine’s domain name system for each request to the server. If you deselect the checkbox, the system records the IP address of the request machine.WSDLGenSecurityEnabledis a checkbox option. If the checkbox is selected, the system requires you to log on before you can access the WSDLGen service. If the checkbox is not selected, any user can call the service to generate WSDL for a transaction; however, you must still have permission to run the transaction.MDO Data Sourcedefines the MDO Connector configuration by specifying the server

3.2 Transaction Manager
在这里界面里面可以监控所有的BLS Transaction的执行情况。

3.3 Scheduler
在这里可以添加定时任务,让任务自动的执行。时间表达式应该和Spring Task框架中的时间表达式一致。

3.4 Custom Attributes
可以给用户设置一些自定义的属性,举个例子,比如我只想让某一个用户访问特定工厂和工作中心的内容,那么我就可以设置相关的一些自定义属性给这个用户。当这个用户执行某一些查询的时候,会自动的将这个属性添加到查询条件中,从而实现指定用户只能访问指定的工厂或者工作中心的功能。
3.5 Custom Attribute Mapping
上一小节提到的是如何创建自定义属性,这一部分是讲解如何将自定义属性分配给用户或者规则,这里以用户为例子。进入到相应的界面,然后在搜索中使用用户名进行搜索,然后点击对应的用户名然后点击编辑按钮,就会出现两个框,左边的是所有定义的自定义属性,右边是该用户已经存在的自定义属性。

3.6 Configurations
在这里可以导入到出MII系统的配置。

3.7 Workbench
下面是workbench的项目架构图:

对于所有的共享的SQL模板,BLS程序,都可以为其设置相应的访问权限,允许使用者只读和执行,或者允许使用者进行编辑。但是对于Web内容,则无法设置权限。
The content you develop using the SAP MII workbench can be assigned read or write permissions based on the role of the user. Users who have been granted read access can view and execute development objects such as query templates, display templates, BLS transactions, and animated objects, either from the workbench or from a Web application using SAP MII applets. A user, who has write access can modify these objects, in addition to viewing and executing them.
The only exception to this security model is the web content, which cannot be assigned any security roles because it runs on the server and thus is not solely under the purview of SAP MII content security.

相关文章:
【SAP MII学习】Day01--Overview, Security Services, and Workbench
1. Module 1: Overview 1.1 问题存在的原因 上图展示的是在工厂中IT的架构图,主要分为一下的三个层次: Shop Floor Automation and Control Systems (SFAC):collect data from the PLCs and sensors that are connected to the machinery on the facto…...
枚举类常见用法,A Guide to Java Enums
目录 啥是枚举类Custom Enum MethodsComparing Enum Types Using “” OperatorUsing Enum Types in Switch StatementsFields, Methods and Constructors in EnumsEnumSetEnumMapStrategy PatternSingleton PatternJava 8 and EnumsJSON Representation of EnumRead More Java…...
Vue Baidu Map--vue引入百度地图
1.安装 npm方式安装 $ npm install vue-baidu-map --save2.局部注册 <template> <div class"map-content" v-if"iscollegeRole"><baidu-map class"bm-view map":ak"mapAK" :scroll-wheel-zoom"true" :cen…...
使用Express部署Vue项目
使用Express部署Vue项目 目录 1. 背景 2. 配置Vue CLI 1.1 安装nodejs 1.2 创建vue-cli 1.3 创建vue项目 1.4 构建vue项目3. 配置Express 2.1 安装express 2.2 创建项目4. 使用express部署vue项目 1,背景 我们想要做一个前后端分离的课程项目,前端…...
344.翻转字符串+387.字符串中的第一个唯一字符
目录 一、翻转字符串 二、字符串中的第一个唯一字符 一、翻转字符串 344. 反转字符串 - 力扣(LeetCode) class Solution { public:void reverseString(vector<char>& s) {int start0;int end s.size()-1;while(start < end){swap(s[sta…...
安装mmcv
安装MMCV 创建虚拟环境gupao ,并激活nvcc -V 查看cuda版本 打开当前项目文件主页查看环境配置Prerequisites — MMPretrain 1.0.1 documentation 4. 安装合适的torch版本,原来的版本会自动卸载 pip install torch1.13.1cu117 torchvision0.14.1cu117 torch…...
什么是服务网格?
背景: 服务网格这个概念出来很久了,从 2017 年被提出来,到 2018 年正式爆发,很多云厂商和互联网企业都在纷纷向服务网格靠拢。像蚂蚁集团、美团、百度、网易等一线互联 网公司,都有服务网格的落地应用。服务网格是微服…...
8.1作业
文件IO函数实现拷贝文件。子进程先拷贝后半部分,父进程再拷贝前半部分,允许使用sleep函数 #include<stdio.h> #include<string.h> #include<stdlib.h> #include<head.h> int main(int argc, const char *argv[]) {pid_t cpidfo…...
linux-安全技术
文章目录 安全机制墨菲定理信息安全防护的目标安全防护环节常见的安全攻击STRIDE 安全机制 墨菲定理 摘自百度百科 墨菲定律是一种心理学效应,1949年由美国的一名工程师爱德华墨菲(Edward A. Murphy)提出的,亦称墨菲法则、墨菲…...
如何在免费版 pycharm 中使用 github copilot (chatGPT)?
起因 在 vscode 中使用了 github copilot 以后,感觉这个人工智能还不错。 但 vscode 对于 python 项目调试并不是特别方便,所以想在 Pycharm 中也能使用同一个 github 账号,用上 copilot 的功能。 不需要等待,安装即用ÿ…...
SSD202D-UBOOT-FDT-获取DTB
因为一些需求,我们决定给uboot添加一个功能,在boot阶段识别获取出dtb,然后获取dts参数 DTS引脚是这样设置的 /* * infinity2m-ssc011a-s01a-padmux-display.dtsi- Sigmastar * * Copyright (c) [2019~2020] SigmaStar Technology. * * * This software is licensed under the …...
【Maven】Setting文件分享
<?xml version"1.0" encoding"UTF-8"?><!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding …...
使用requestAnimationFrame 实现倒计时功能js(简单秒数倒计时)
拿一个简单的例子吧 就是获取验证码的倒计时 一般来说就是60秒 首先可能想到就是 setInterval let count 60 setInterval(() > { count --; }, 1000) 还有一种就是 setTImeout 函数的递归调用 let count 60 function coundown() { count --; if(count >…...
jenkins通过sshPut传输文件的时候,报错Permission denied的SftpException
一、背景 使用jenkins的ssh插件传输文件至远程机器的指定目录,php程序打包后,经过zip压缩为oms.zip zip -rq oms.zip ./ -x .git/* -x .env然后我们求md5值 md5sum oms.zip最后执行传输。 09:03:02 Executing command on ssh[116.61.10.149]: mkdir…...
【Python】数据分析+数据挖掘——探索Pandas中的数据筛选
1. 前言 当涉及数据处理和分析时,Pandas是Python编程语言中最强大、灵活且广泛使用的工具之一。Pandas提供了丰富的功能和方法,使得数据的选择、筛选和处理变得简单而高效。在本博客中,我们将重点介绍Pandas中数据筛选的关键知识点ÿ…...
[数据集][目标检测]天牛数据集目标检测数据集VOC格式3050张
数据集格式:Pascal VOC格式(不包含分割路径的txt文件和yolo格式的txt文件,仅仅包含jpg图片和对应的xml) 图片数量(jpg文件个数):3050 标注数量(xml文件个数):3050 标注类别数:1 标注类别名称:["longicorn"] …...
python_day16_设计模式
“”“单例模式”“” “”“工厂模式”“” class Person:passclass Worker(Person):passclass Student(Person):passclass Teacher(Person):passclass Factory:def get_person(self, p_type):if p_type w:return Worker()elif p_type s:return Student()else:return Te…...
uniapp开发小程序-实现中间凸起的 tabbar
一、效果展示: 二、代码实现: 1.首先在pages.json文件中进行tabbar的样式和列表配置,代码如下: {"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/p…...
Vue引入与Vue拦截原理
1. vue引入 第一种方法:在线引入 <script src"https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> 第二种方法:本地引入 2. Vue拦截原理——例题 el用于绑定id,data用于定义数据如下例题 <!DOCTYPE html&…...
2023年电赛---运动目标控制与自动追踪系统(E题)OpenMV方案
前言 (1)废话少说,很多人可能无法访问GitHub,所以我直接贴出可能要用的代码。此博客还会进行更新,先贴教程和代码 (2)视频教程: https://singtown.com/learn/49603/ (3&a…...
19c补丁后oracle属主变化,导致不能识别磁盘组
补丁后服务器重启,数据库再次无法启动 ORA01017: invalid username/password; logon denied Oracle 19c 在打上 19.23 或以上补丁版本后,存在与用户组权限相关的问题。具体表现为,Oracle 实例的运行用户(oracle)和集…...
Zustand 状态管理库:极简而强大的解决方案
Zustand 是一个轻量级、快速和可扩展的状态管理库,特别适合 React 应用。它以简洁的 API 和高效的性能解决了 Redux 等状态管理方案中的繁琐问题。 核心优势对比 基本使用指南 1. 创建 Store // store.js import create from zustandconst useStore create((set)…...
全球首个30米分辨率湿地数据集(2000—2022)
数据简介 今天我们分享的数据是全球30米分辨率湿地数据集,包含8种湿地亚类,该数据以0.5X0.5的瓦片存储,我们整理了所有属于中国的瓦片名称与其对应省份,方便大家研究使用。 该数据集作为全球首个30米分辨率、覆盖2000–2022年时间…...
Map相关知识
数据结构 二叉树 二叉树,顾名思义,每个节点最多有两个“叉”,也就是两个子节点,分别是左子 节点和右子节点。不过,二叉树并不要求每个节点都有两个子节点,有的节点只 有左子节点,有的节点只有…...
html-<abbr> 缩写或首字母缩略词
定义与作用 <abbr> 标签用于表示缩写或首字母缩略词,它可以帮助用户更好地理解缩写的含义,尤其是对于那些不熟悉该缩写的用户。 title 属性的内容提供了缩写的详细说明。当用户将鼠标悬停在缩写上时,会显示一个提示框。 示例&#x…...
代码规范和架构【立芯理论一】(2025.06.08)
1、代码规范的目标 代码简洁精炼、美观,可持续性好高效率高复用,可移植性好高内聚,低耦合没有冗余规范性,代码有规可循,可以看出自己当时的思考过程特殊排版,特殊语法,特殊指令,必须…...
C++实现分布式网络通信框架RPC(2)——rpc发布端
有了上篇文章的项目的基本知识的了解,现在我们就开始构建项目。 目录 一、构建工程目录 二、本地服务发布成RPC服务 2.1理解RPC发布 2.2实现 三、Mprpc框架的基础类设计 3.1框架的初始化类 MprpcApplication 代码实现 3.2读取配置文件类 MprpcConfig 代码实现…...
热烈祝贺埃文科技正式加入可信数据空间发展联盟
2025年4月29日,在福州举办的第八届数字中国建设峰会“可信数据空间分论坛”上,可信数据空间发展联盟正式宣告成立。国家数据局党组书记、局长刘烈宏出席并致辞,强调该联盟是推进全国一体化数据市场建设的关键抓手。 郑州埃文科技有限公司&am…...
WEB3全栈开发——面试专业技能点P7前端与链上集成
一、Next.js技术栈 ✅ 概念介绍 Next.js 是一个基于 React 的 服务端渲染(SSR)与静态网站生成(SSG) 框架,由 Vercel 开发。它简化了构建生产级 React 应用的过程,并内置了很多特性: ✅ 文件系…...
李沐--动手学深度学习--GRU
1.GRU从零开始实现 #9.1.2GRU从零开始实现 import torch from torch import nn from d2l import torch as d2l#首先读取 8.5节中使用的时间机器数据集 batch_size,num_steps 32,35 train_iter,vocab d2l.load_data_time_machine(batch_size,num_steps) #初始化模型参数 def …...
