XMII-MES integration
Hi,
Has anyone worked on xMII-MES integration...
I'm exploring ways of connecting different MES softwares with xMII...
In case any of you have any idea about ways of integrating xMII and MES, plz let me know
Ur responses are valued...
Thanks,
Ajitha
Message was edited by:
Ajitha Buvan
Hello Srinivas, I would have responded yesterday but for some reason my SDN account was locked and I couldn't log in.
Our current ERP-to-MES feeds involve sending MATMAS, BOMMAT, LOIROU, LOIPRO, CLFMAS, and a few others. The ERP is typically configured to send these upon saving their respective business object (material, BOM, routing, etc.) using change pointers, but that's not my expertise. In some cases, we supplement the data from the IDOCs with RFC calls - e.g. revisions on the material. We have a few other download feeds being developed now but since I don't yet know what will and won't be included in the next release, I won't mention them.
We use xMII to take the IDOCs using either the built-in IDOC listener or as a SOAP message to another xMII transaction. The IDOCs are persisted so if any connectivity or system failures occur, we can retry them later. Depending on the complexity of the mapping from IDOC to our MES object model, we may use only an XSLT to transform the IDOC or we may use a combination of the xMII BLS and our XSLTs to perform the transformations. Some data enrichment may take place using the xMII BLS - some is necessary for building some MES required fields that the ERP doesn't provide and others are deployment-specific.
The resulting XML is suitable to send to Visiprise Manufacturing - we wrap it with SOAP and call the appropriate VM web service. Note that VM requires WS-Security which puts authentication credentials in the SOAP header and, as of xMII 11.5 SR02, the xMII Web Service action doesn't support SOAP headers. We used the HTTP Post action and got creative with HTTP headers to inject the required SOAPAction header.
For the MES-to-ERP interfaces, we support the typical operation confirmation/scrap BAPI calls. We also provide manual backflush if desired. These are implemented by either synchronous or asynchronous web service calls from Visiprise Manufacturing to xMII. VM uses JMS internally to disassociate the user thread from the confirmation to support asynchronous handling. These confirmations are collected in xMII and batched according to the manufacturing style: for discrete manufacturing confirmations are batched by order; for repetitive manufacturing they're batched by production version. The appropriate BAPI is then called and status reported back to VM via a status/event notification web service.
When discussing these interfaces it easy to lose track of the bigger picture - the actual business scenarios you're trying to solve. SAP is the system of record of Materials, BOMs, Routings (not all the time!), and Orders. Visiprise Manufacturing, as the MES, is the system of record of all WIP (work in progress) and As-Built information (exactly what components were assembled into which finished products). Often the most valuable scenarios are those which require orchestration between both systems to produce an answer to questions like,
Q: "Where is Customer X's order?"
A: "3 units are assembled and packed, 1 is at Operation 0090, and 2 have not been started because component 123 is on back-order."
or,
Q: "Where is the component with serial number ABC and which customer received it?"
A: "Component with serial number ABC was assembled onto MES control number 999 on 3/17/2007 at 3:30PM by Joe P. MES control number 999 was marked with serial number XYZ and completed on 3/20/2007 and moved to warehouse 001 on 3/21/2007. It was shipped to Customer Z on 3/22/2007, ..."
and so on...
The existing IDOCs/BAPIs can answer these questions, but things start getting interesting when you explore SAP's new SOA push - in particular the ES architecture around MES. In my opinion, it's not all there yet, but I participated in the ES MES community workshop a few weeks ago and was encouraged that SAP was listening to our ideas. I look forward to the day when Visiprise Manufacturing and SAP web services reside together in the same registry/repository and are orchestrated via BPEL.
Similar Messages
-
SCADA - XMII - ERP integrations through SAP PI
Hi Experts,
I have an integration scenario comprising of a SCADA system & SAP ECC. Could anybody suggest some document / send reference links on SCADA - XMII - ERP integrations through SAP PI.
Useful response would be appreciated.
Regards,
SanthoshSCADA-XMII integration
Scada system should always remain connected to some Historian system. You can directly connect to SCADA system to xMII using vendor specific UDS (Universal Data Servers) Like Citect UDS ...
If vendor specific UDS is not available in MII then you can make it possible if the SCADA system is OPC complaint, through OPC UDS DA, but it provides only current data without any mata data information.
As a robust business practice it is not recommended to use direct SCADA connectivity to xMII, it should go through some Historian( Citect, Wonderware, Siemens...many more) so XMII will be able to get all plant floor operations data in history & current modes.
XMII-ERP Integration
XMII supports IDOC & BAPI communication with ERP system using various SAP connectors available in XMII as in SAP BC, SAP JCO.
Specific to PI Sheet, you can download various control receipe, process orders data using IDocs.
BAPIs can be used to do "process order confirmations" back to ERP system and make changes in process data.
Let me know if you would like to know about specific SCADA system- xMII connectivity or specific activity in PI.
Thanks
Ram Upadhyay -
Hi,
I am learning ECC MES integration and have a powerpoint with me as a starting point. There I see the following objects being sent over to MES from ECC.
Planned orders
BOMs
Production orders
Process orders
Material Inventory Levels
Inspection Lots data
Master Recipes
Material Details
Batch Details
Maintanence work orders
Notification details
Material and order costs
Then MES sends back the following details
Production Confimrations
Process messages
Material Consumptions
Material Transfers
Inspection Lot result recording
Quality notifications
Batch Char recording
Work order results recording
Maintanence Notifications
My question is how do we send some many objects back and forth. Is it all IDOCS or some other technology ? I know what will be sent will depend upon the scope of the integration.
ThanksThere are several choices for passing the data back and forth.
BAPI/RFC can be used to download and upload from ECC.
IDOCs can also be used though most folks use them with Change Pointers to automatically push documents down to the MES level.
There are Enterprise Services now available for some of the functions you list, but performance is not as good as with either of the first two options.
If configured, XI can be used as the transport mechanism, but that can add overhead to the processing complexity, but also comes with a guaranteed delivery capability.
I would also suggest you look at some of the downloadable templates in SDN for MII. Most are based upon BAPI/RFC.
Regards,
Mike -
MES integration with ERP/SCM using XI
Hi Experts,
Could someone share any experiences on MES (Manufacturing Execution System) integration with SAP ERP / SCM.
Are there any best practices document available on MES-SAP integration?
Appreciate any help.
Thanks,
ShobhitHi,
Currently I am working on MES (Manufacturing Execution System) integration.
Please find here with you some helpful material for it,
http://www.sdn.sap.com/irj/sdn/wiki?path=/display/espackages/integration%2bof%2bmanufacturing%2bexecution%2bsystems
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/306a3efb-82c0-2910-69b3-89985491e1c8
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0328886-1a48-2a10-158f-fe7b12241798
[Content Deleted]
Thanks
Swarup
Message was edited by: Jason Lax -
Hi,
We have a situation where MES System is Integrated to Shopfloor devices such as Sensor's, PLC's and HMI's and they have the Database where they gone a save the captured data and MII needs to read that data and capture them in dashboards, till here I am able to understand but how the data flow will be if ERP is sending the downstream data to MES and then MES sends the confirmations to ERP, I mean how database can be used in such scenario.
Thanks,
RaveenHi ,
Which MES you are using in your shopfloor.if it is SAP ME then we will store data in WIP database which is SAP ME database then you can send to SAP or get it from SAP.
Thanks,
Ramesh -
Hi everybody,
What is thye use of a MES system and how is it integrated with xMII?
Thanks,
PreethiPreethi,
Manufacturing Execution Systems bridge the gap between ERP systems and devices like PLC, SCADA and HMI in the shop floor. MES functions as the central depository for data distribution and collection for all other enterprise systems. It can act as a bridge connecting control systems, ERP, SCM and SSM systems.
There are different MES brands available in market.
MES uses B2MML schemas for interacting with xMII.You can view the reference schemas avialable in xMII for this purpose.The B2MML coming from MES will contain all the real time data from shop floor.
Integration with xMII greatly depends on the type of MES you use.
Go though the link below that will help you a lot in understanding MES-xMII integration
xMII-MES integration
Hope this helps,
Ajitha -
Problem in integrating xMII with VC
hi Experts,
My xMII server Version is <b>11.5</b>
I followed this document:
<b>https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033</b> for integrating xMII with VC.
Connection URL: http://<myXMIIServerName>/Lighthammer/ALL_TEMPLATES?version=<b>11.5</b>&trace=true
Driver Class Name: <b>com.sap.xmii.custom.integration.jdbc.SAPxMIIJDBCDriver</b>
System Alias: <b>XMII_JDBC</b>
Connection test is <b>successful</b>, after configured System.
I am getting error while <b>FindData Seach</b> in VC,
Inputs given are,
System: XMII_JDBC (this is my system)
Look for: Look for a table
the error is, <b>Error-2305 Cannot retrive catalogs and schemas; check the connection to the selected systems Cannot access JDBC metadata </b>
I think i made mistake in connectionURL, but connection test is successful.
Please guide me, where i made mistake.
Points will be Awarded.
Thanks & Regards,
Chinnadurai RHi Sam,
Thanks for your reply... I am also think that i made mistake in comnnection URL ,
I have created some querys under Samples/Reports,
I gave like this::
<b>http://<myXMIIServerName>/Lighthammer/Templates/Samples/Reports?version=11.5&trace=true</b> and <b>http://<myXMIIServerName>/Lighthammer/Templates/Samples/Reports?</b>
and then like this
<b>http://<myXMIIServerName>/Lighthammer/Illuminator/Templates/Samples/Reports?version=11.5&trace=true</b>
I tried using all the URL shown above, but it is not listing the Querys in VC .
Can u guide me how can i form that Connection URL ..
Thanks & Regards,
Chinnadurai R -
Hi there.
I am implementing xMII for integration to XI using B2MML.
Generally messages are fired at the end of a shift, and there are up to 11 interfaces fired for each production order in the plant.
eg:
Production Confirmations
Material Movements
Goods issues to Production Orders
Goods Issue to Cost Centre
Stock Transport Orders
etc.
Some plants can have up to 20 concurrent production order, which means that based on a trigger of "End of Shift" I may need to initiate up to 220 messages to XI.
My question is, Has anyone developed a standard generic component for xMII that can handle scheduling of messages, Sequencing of messages (Where one message needs to be confirmed before the next is processed), error handling and guaranteed delivery? If so is this likely to be something that is added to the downloadable components on SDN?
Regards
Geoff NunanHi, Geoffrey.
I have implemented both file-based and database-based storage queues for exactly the scenarios you describe. In the case of a file based queue, the queue "name" is the directory, and the queue entries all have a unique file name. In the case of a database queue, the table has three columns - queue name, item key, and item content (I've used wide character text fields or CLOBs). The pattern is actually quite simple:
1) To place something in a queue (file directory or database), generate a unique ID (xMII's BLS has a guid function you can use), and write/insert the data.
2) Create worker transaction(s) and add them to the scheduler to run at the required intervals (I usually use one minute or five minute intervals if things aren't time critical)
3) In these transactions, get a list of pending work (GetFileList or a DB query), use a repeater to iterate through, try the work, if it succeeds, remove from the queue (DeleteFile or DB command), if not, leave it there and terminate this execution of the loop and the transaction. Sometimes I'll also add a "limiter" to each execution of the worker (e.g. process no more than 10 messages per execution).
4) A few nice enhancements that I like to use are to add a diagnostic mechanism using either the UserLog (EventLog action), a simple text file, or a database table. You can then build a nice quick UI using xMII to view/filter these logs.
5) I also like to provide a couple of UI screens to see what is in each queue.
The first time I put this together using a file-based queuing system took a couple of hours for all of the above, and I've reused this pattern for lots of different kinds of applications.
It works well!
Best regards,
Rick -
Correct expansion for abbreviation - xMII
Hello all -
A light question on a Friday morning
Following is the title of SAP xMII on SAP's web page: SAP xApp MANUFACTURING INTEGRATION AND INTELLIGENCE.
However on the Login screen of xMII it says - SAP xAPP Manufacturing Intelligence & Integration (SAP xMII) and this is the only page (I think) where its inconsistent.
This is not a big problem: I am simply wondering if we know the correct expansion of SAP xAPP xMII?
Thanks,
SriniHi Srini,
Its
SAP xApp Manufacturing Integration and Intelligence (SAP xMII)
SAP xMII manufacturing integration functionality forms the backbone of SAP xMII architecture by providing universal data connectivity to a variety of plant floor, enterprise, and other systems.
SAP xMII manufacturing intelligence functionality allows organizations to gather data from a variety of different systems. (both points as explained in https://wiki.sdn.sap.com/)
Obviously we can gather data after connectivity only!
Hence it is SAP xApp Manufacturing Integration and Intelligence (SAP xMII)
Everywhere in SAP xMII Help documentation, xMII Portal, SAP XMII GETTING STARTED GUIDE, Forum and Wiki (sdn.sap.com) etc. you will find this only.
At one place (https://wiki.sdn.sap.com/wiki/display/xMII/SAPxMIIfortheManufacturing+Industries)
What is SAP xMII?
you will fine Intelligence and Integration.
Take Care
Khaleel
Edited by: Khaleelurrehman Badeghar on Jan 18, 2008 8:21 AM -
hi
my project is MES integration with sap
In SAP discrete,repetive, implemented for one finish product
for semifinished repetitive, after that finished product in discrete
in repetitve gr posting in 131movement type, in discret 101 move ment type
in my project after integration of MES TO SAP
The gr postings will be done to sap through xmii
my reuirement is can i use 101 move type instead of 131 in repetive manufactuirng
and also why using 131 in repetitive ,details, can we use 101 or not ,why, what is logic behind this
thanks®ards
ravi1. First all the REM Production Good receipt are done through 131 movement only.
2. This is a standard functionlity and all the Furhter postings after the 131 will have an impact when we moved to other movement types.
3. so it is better adhere to that. -
Hi,
I want to populate data from a query template to a adobe flex pie chart. I am doing this because business user prefers beautiful objects ;).
Can anyone help me out in how to achieve this. I have some knowledge about flex.
Thanx in AdvanceHi,
You can see a Video tutorial on xMII-Flex integration made by Abesh
at /people/abesh.bhattacharjee/blog/2007/08/27/use-xmii-services-in-adobe-flex-20-video
Coming to your question
you should declare the web service in your flex application as
<mx:HTTPService id="ServiceName"/>
then you can call it in a function let's say Hi()
private function Hi():void{
ServiceName.url=encodeURI("http://xMIIServerIP/Lighthammer/Illuminator?QueryTemplate="PathToQueryTemplate"&IllumLoginName="LoginName"&IllumLoginPassword="Password"&content-type=text/xml");
ServiceName.send();
You can call this function in any event according to your requirements.
Note: The URL is specific to 11.5 version of xMII. You may need to change it accordingly for 12.0.
Regards,
Musarrat -
Regarding project development standard document
Hi,
Just wanted to know if there is any coding standard document we can use to create MII project , its component.
If there can you please forward the link.
Thanks
Vishal JadhavThere are some best practice documents under the Guides and Guidelines section of the MII Wiki : http://wiki.scn.sap.com/wiki/display/xMII/Manufacturing+Integration+and+Intelligence
-
are there any user guides for MII 12.1 and the latest one coming up 14 ?
There is a SAP Education Course (SCM380) that covers the MII 14.0 release and there are a lot of guides on this Manufacturing Forum and also on the Wiki here:
http://wiki.scn.sap.com/wiki/display/xMII/Manufacturing+Integration+and+Intelligence
What specifically are you looking for?
Sam -
Reg Batch Manufacturing templates
Hi,
I came across Batch manufacturing templates in SDN, after going thorugh the templeates are more or less talking with the ERP, how about if one wants to use these templates with MES integration?
Did anyone tried enhancing these templates with integration of MES systems?
Thanks,
RaveenHi Raveen,
While I am not aware of anyone who has definitely integrated the Batch Manufacturing templates with an MES system, I know there are projects to do so.
Just remember the templates are templates. They provide a good to very good starting point for integration with ECC and demonstrate useful techniques and conventions for the use of MII in a manufacturing environment. And they also provide examples of different styles since they were built by a group of 7 different MII developers (mixed partner and SAP). Some were based upon existing templates from MII 11.5 and 12.0 (which are also available from SDN). And I highly recommend downloading those as well.
Integration to MES is fairly dependent upon your facility, equipment (data sources), and goals. While each solution will be unique, it won't necessarily be that much different in basic design from others with the same features.
Regards,
Mike -
Hi,
Can you please give a small scenario integrating SAP R/3, xMII and any MES? Basically, I want to know typically how data flow happens from R/3 to MES or vice versa through xMII.
Regards,
AmaleshHi, Amalesh.
A common scenario would be to set up xMII as an IDOC listener that can receive downloads of production orders as LOIPRO IDOCs. When a new IDOC is received, xMII's business logic engine can be used to parse/processes that order. Examples might be splitting the order into production-size lots/batches, allocating it to equipment, creating batches/lots/order in MES or automation systems, and so on. xMII has a variety of connectors that can be used to talk to these plant systems.
Looking the other way, perhaps a user or an automated system collects material consumption/production information. This data can be aggregated/formatted by xMII and sent to ERP via RFC or BAPI calls to perform production confirmations, goods movements, etc.
Best regards,
Rick
Maybe you are looking for
-
Run alv report without selection screen in background
Hello Every body, i programmed a ALV Report without selection screen, and i want to create a job for this alv report. Any help? Thank u. Ouail.
-
We just installed Fusion Charts on our server and I was told to start using that instead of cfchart. Where can I find documentation, similar to cf docs, that explains all the commands and gives examples. I searched the web and cannot seem to find wha
-
Adobe Download Assistant Issues
Im trying to download Light room trial and download assistant freezes when i try to log in. Ive set the permissions uninstalled and reinstalled adobe air and assitant manager... What can be done? Also when i uninstall it, i get: Warning 1910. Could n
-
Email server needs authentication
I want to send an email from a Creator project, but my email server requires authentication. The sun.net.smtp.SmtpClient does not seem to provide an API for that. Can anyone supply a solution?
-
How do I download iTunes upgrade in my Windows xp system?
I have attempted 100 xs and it will not properly download? Any help would be greatly appreciated..