Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
alexander_teslyuk
Product and Topic Expert
Product and Topic Expert
2,677


As it was well described by my colleague Sam http://scn.sap.com/docs/DOC-52940, SAP MII and SAP PI (XI) are designed with specific use-cases in mind.

Obviously, in case of SAP ME integration SAP MII is preferred and therefore certified and recommended by SAP. Moreover, since ME 6 version and introduction of MEINT Configuration Wizard, the standard integration has become really simple.

 

However, I have been curious how to integrate SAP ME and ERP system via PI instead of MII as long as it is technically possible. Finally, at the end of the year I was able to fulfill my curiosity and to practice a bit the knowledge that I got during PI (XI) training some time ago.

In this blog I’d like to share with you my experience how I installed PI system and managed to import a Material from ERP to SAP ME via PI omitting MII and ask your opinion about it.

 

So, here are the steps I made:

 

  1. Installed a separate PI Netweaver system. Its name is HPI, this is java only installation. On the same server I have another Netweaver H15 system where SAP ME 15.0 is deployed, but of course it technically can be on separate machines.                                                                                            

  2. Maintained the SLD. H15 system, where SAP ME is deployed, I entered manually. For the ERP system it is better to use RZ70 transaction import automatically. By the way, Note 2073816 – ‘RZ70 hangs in endless loop’ can help you to save as much time as you were ready to wait J

  3. Defined Business Systems on top of Technical Systems.

  4. Maintained ESR. Imported the definition of MATMAS03 iDOC and the corresponding WSDL to my own Software Component.

  5. Maintained ESR. Defined a Service Interface.

  6. Defined Communication Channels from ERP and to ME in the Integration Builder.

  7. Defined a Configuration Scenario.                                                                                                                 

  8. Where the Receiver Interface used the mapping from ESR. The mapping editor in ESR is the place where I had the most of fun, because I truly liked it. There you can drag and drop tags to map them, you can define Constants etc.


 

 

So, I was able to:

send the iDOC from ERP system -> receive it in PI system -> convert to webservice request as per SAP ME definition -> make a webservice call to SAP ME.

In the meantime monitor the message that is being sent



 

And eventually get a new Material created in ME



 

 

Saying this and sharing the steps I made, I’d like to remind one more time that such integration between ERP and SAP ME is not recommended, that standard integration via MII + MEINT should be used instead.

 

 

 

Nevertheless, I would highly appreciate comments and ratings to this blog post. I am very interested to hear about your experience in SAP ME integration, whether you ever tried PI for it or planned some potential ME integration scenarios.

 

 

Best regards,

Alex.

9 Comments