cancel
Showing results for 
Search instead for 
Did you mean: 

Data sending options from S4 HANA to MII

anujsuryawanshi
Explorer
0 Kudos
992

Hi All,

We are integrating MII 15.2 with S4 HANA and are in discussions to finalize the approach for sending data from S4 HANA to MII. Since APIs, ODATA and Web Services are S4 preferred methods over IDOCs and we can use Web Service with appropriate Message Listener to receive and queue messages in MII, but I would like to understand if APIs or ODATA is a possibility for sending data to MII. If yes, is there any documentation available for the configurations to be done at S4 HANA, Netweaver and MII side?

Thanks,

Anuj

Accepted Solutions (0)

Answers (1)

Answers (1)

agentry_src
Active Contributor
0 Kudos

Not sure about your comment about preferred methods versus IDocs and IDoc Listeners. The value of IDocs being sent is that they are generated based on Change Pointers (or DRF settings) in ECC. So only items which are new, updated, or deleted are selected and pushed to MII. Would the web services to which you refer also have that selectivity built in?

APIs (BAPI/RFCs) and OData, in my experience, are pulls from MII which does not have a mechanism for only selecting those which have been created, updated, or deleted. While it is possible there is some functionality for selectively retrieving the subset of objects in S/4HANA, I have not read anything in that regard. For use of BAPIs, please review Tips and Tricks for building ERP Interfaces in MII. For the use of OData, Google is your friend. There are several good resources available.

Cheers, Mike

anujsuryawanshi
Explorer
0 Kudos

Hi Mike,

Thanks for your feedback.

As you rightly mentioned, we are not looking to pull the data from MII, but to push from S4 HANA.

To the point of using web services to get the messages via message listener, I was actually referring to the 3 ways we can get the messages in MII using message listener viz. RFC, IDOC and HTTP. Though the help page has it as 'Sending IDocs from SAP ERP as SOAP Message over HTTP Protocol', I am not sure if we are still talking about sending the messages as IDOCs over HTTP protocol or sending the data directly through web services. Can you please provide some feedback on this as well?

Thanks,

Anuj

agentry_src
Active Contributor
0 Kudos

Hi Anuj,

Not sure what the benefit would be to sending IDocs via SOAP message. Normally I would implement the IDoc Listeners using TCP/IP as I have for almost 15 years now. How to Send an IDoc from SAP ECC to the SAP MII IDoc Listener (MII 12.1 to ECC 6.0) is an oldie but still pretty good even with out of date screenshots. However, since I have never done an implementation using SOAP, perhaps there are reasons to go that route instead of my usual. I have, long ago, worked with the RFC listeners, I can't really speak to the benefits of that object. As mentioned before, the main benefit of IDocs relates back to change pointers (DRF) in ECC to detect newly created, updated or deleted objects and automatically sending them to your MII instance.

Regards, Mike

anujsuryawanshi
Explorer
0 Kudos

Thanks again, Mike!

BR,

Anuj