【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…...
变量 varablie 声明- Rust 变量 let mut 声明与 C/C++ 变量声明对比分析
一、变量声明设计:let 与 mut 的哲学解析 Rust 采用 let 声明变量并通过 mut 显式标记可变性,这种设计体现了语言的核心哲学。以下是深度解析: 1.1 设计理念剖析 安全优先原则:默认不可变强制开发者明确声明意图 let x 5; …...
多云管理“拦路虎”:深入解析网络互联、身份同步与成本可视化的技术复杂度
一、引言:多云环境的技术复杂性本质 企业采用多云策略已从技术选型升维至生存刚需。当业务系统分散部署在多个云平台时,基础设施的技术债呈现指数级积累。网络连接、身份认证、成本管理这三大核心挑战相互嵌套:跨云网络构建数据…...
【kafka】Golang实现分布式Masscan任务调度系统
要求: 输出两个程序,一个命令行程序(命令行参数用flag)和一个服务端程序。 命令行程序支持通过命令行参数配置下发IP或IP段、端口、扫描带宽,然后将消息推送到kafka里面。 服务端程序: 从kafka消费者接收…...
连锁超市冷库节能解决方案:如何实现超市降本增效
在连锁超市冷库运营中,高能耗、设备损耗快、人工管理低效等问题长期困扰企业。御控冷库节能解决方案通过智能控制化霜、按需化霜、实时监控、故障诊断、自动预警、远程控制开关六大核心技术,实现年省电费15%-60%,且不改动原有装备、安装快捷、…...
渲染学进阶内容——模型
最近在写模组的时候发现渲染器里面离不开模型的定义,在渲染的第二篇文章中简单的讲解了一下关于模型部分的内容,其实不管是方块还是方块实体,都离不开模型的内容 🧱 一、CubeListBuilder 功能解析 CubeListBuilder 是 Minecraft Java 版模型系统的核心构建器,用于动态创…...
2021-03-15 iview一些问题
1.iview 在使用tree组件时,发现没有set类的方法,只有get,那么要改变tree值,只能遍历treeData,递归修改treeData的checked,发现无法更改,原因在于check模式下,子元素的勾选状态跟父节…...
自然语言处理——Transformer
自然语言处理——Transformer 自注意力机制多头注意力机制Transformer 虽然循环神经网络可以对具有序列特性的数据非常有效,它能挖掘数据中的时序信息以及语义信息,但是它有一个很大的缺陷——很难并行化。 我们可以考虑用CNN来替代RNN,但是…...
图表类系列各种样式PPT模版分享
图标图表系列PPT模版,柱状图PPT模版,线状图PPT模版,折线图PPT模版,饼状图PPT模版,雷达图PPT模版,树状图PPT模版 图表类系列各种样式PPT模版分享:图表系列PPT模板https://pan.quark.cn/s/20d40aa…...
C++.OpenGL (14/64)多光源(Multiple Lights)
多光源(Multiple Lights) 多光源渲染技术概览 #mermaid-svg-3L5e5gGn76TNh7Lq {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-3L5e5gGn76TNh7Lq .error-icon{fill:#552222;}#mermaid-svg-3L5e5gGn76TNh7Lq .erro…...
mac 安装homebrew (nvm 及git)
mac 安装nvm 及git 万恶之源 mac 安装这些东西离不开Xcode。及homebrew 一、先说安装git步骤 通用: 方法一:使用 Homebrew 安装 Git(推荐) 步骤如下:打开终端(Terminal.app) 1.安装 Homebrew…...
