cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate S/4HANA Cloud to MII without using DRF?

agentry_src
Active Contributor
0 Kudos

I have been looking for the help links for MII integrated with S/4HANA without ME or by extension DRF. The scenario does not involve ME, so DRF would make executing order confirmations against orders impossible if the orders are downloaded to MII via DRF (orders get locked for ME use only). So we need to go the regular Change Pointers in ERP (on S/4) with the usual IDoc processing by MII. I have seen an implementation of IDoc listeners in S/4 previously, but it was done by someone else and I never saw the documentation. Been searching for a couple hours so far and have not found a document which covers this specific configuration.

kevin.hunter3 If you are reading this, I could sure use some help on this. I am willing to update my long ago blog/document and publish it in return.

Cheers,

Accepted Solutions (1)

Accepted Solutions (1)

agentry_src
Active Contributor
0 Kudos

Hi All,

It turns out that we were able to use the stock document, IDOC Listeners in MII 12.1 (and 12.2), written long ago was still essentially the correct way to go. We had tried to use it but the IDocs were not showing up in MII or in the NW Log Viewer. The problem was an issue with configuring NW which required a new SAP Note to fix. Once that was done, we were able to get the IDocs moving and processed in MII.

Cheers, Mike

swaroop_anasane
Active Contributor

Hi Mike,

Hope you are doing good!

Did you require CPI and cloud connector to connect MII on prem to HEC? Or did network tunnel work for direct connection here?

Thanks in advance!

Best Regards,

Swaroop

agentry_src
Active Contributor
0 Kudos

swaroop.anasane
It was a while ago, but I do not remember having to configure CPI or Cloud Connector. The direct connection was working once we applied the SAP Note to NW.

Wish I could remember more details, but it was fixed rather quickly so it did not stick in my mind.

Cheers, Mike

swaroop_anasane
Active Contributor

This definitely helps, thanks a lot Mike for responding so quickly!

Hope rest all is okay, best wishes for you and people around.

Best Regards,

Swaroop

Answers (1)

Answers (1)

Jerry_Lowery
Product and Topic Expert
Product and Topic Expert

Hi Mike,

Could you help us understand your scenario a little better?

is it (could you also clarify if you are using S4HANA Cloud (Extended or Essentials) or OP/HEC?

ME <-> MII <-> S/4HANA Cloud

you mention ME is not involve but later mention the orders getting locked for ME use only.

do you have an ME system in the loop (assuming you mean the Onprem ME and not DMC)?

From your description it sounds like you are using a classical interface (ie. IDocs, etc) with an Onprem or HEC or Extended S/4HANA, so

MII <-> S/4HANA

If you are in S/4HANA Public Cloud/Essentials Have you considered using CPI?

https://api.sap.com/package/DMEInt?section=Overview

For S/4HANA Cloud, we have existing APIs for creating and confirming Production Orders, such as:

https://api.sap.com/api/API_PROD_ORDER_CONFIRMATION_2_SRV/overview

We also have the best practice for Third Party Shop Floor Execution - Discrete (https://rapid.sap.com/bp/scopeitems/3W4) or the equivalent for Process Mfg (https://rapid.sap.com/bp/scopeitems/3W3)

Thank you

Jerry

agentry_src
Active Contributor
0 Kudos

Hi Jerry,

There is no ME in the environment. Just MII, PCo, S/4HANA, and a data historian (Ignition) integrated to the factory equipment. We already have the JCo configured and working for using BAPIs and RFCs. It is the IDocs traveling in the other direction which I am trying to find an end to end config guide from SAP and failing so far.

I am very familiar with configuring IDoc Listeners in SAP MII but not in this kind of an ecosystem. IDOC Listeners in MII 12.1 (and 12.2)

I will check with the rest of the S/4 developers to see which flavor of S/4 Cloud is being implemented.

Thanks, Mike

Jerry_Lowery
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mike,

Thank you - yes please let us know as the advice might change based on the version of S/4HANA Cloud.

As I understand your integration:

Shop Floor equipment (pick and place, testers, maybe assembly, etc) <- -> MII / PCO <- -> S/4HANA Cloud

Would be good if you could give a sample list of integration objects (Material Master? Prod Order Confirmation/Release, etc).

Based on your input (sending info in the "other" direction) you may want to look at the Communication Arrangement SAP_COM_0522 (Manufacturing Execution - Order and Confirmation Integration)

https://help.sap.com/viewer/d35113ee62644d3abee1aaec148291d9/LATEST/en-US/5ff8151a70dc4e2ca46c3c9870...

For the Essentials version (i.e. Public Cloud), we tend to shy away from legacy interfaces RFCs, BAPIs and IDocs in favor of public APIs (SOAP and OData) (https://api.sap.com/ and https://api.sap.com/package/SAPS4HANACloud?section=Artifacts). For S4HC, there is a limited list of supported BAPI and IDOCs, but they are being slowly replaced by public apis and are intended for use in integration only with an SAP Onprem system (OP ME, OP ERP, etc)...

Approval request to use BAPI / DOC interfaces for integration of 3rd party products with S/4HANA Clo...

Since you are familiar with ME, this BP might give you some hints for your integration

Process Manufacturing Execution - SAP Digital Manufacturing Cloud (‏4DN‏) (https://rapid.sap.com/bp/scopeitems/4DN)

For S/4HANA Cloud Extended, this integration guide may be helpful for you
Extensibility Guide for SAP S/4HANA Cloud, extended edition

Thank you
Jerry

agentry_src
Active Contributor
0 Kudos

Hi Jerry,

Just an update, we are using S/4HANA HEC.

We are interested in Process Orders (LOIPRO), Material Masters (MATMAS), BOMs (BOMMAT or LOIBOM), Routings (LOIROU), Recipes (not sure which type this comes down with) and possibly Work Centers (LOIWCS).

I will look into the other items you mentioned to see if there are better approaches for the communications. I have looked over the Digital Manufacturing Cloud and there is insufficient documentation for our immediate concerns. I also have my doubts about using a Cloud based application for maintaining process data except as a secondary analytical repository. I have not worked with it, but past history and experience based scars push me toward primary process stored close to the sources. I would not like to count on a distant application to manage production facilities.

Thanks for the feedback and suggestions.