Dear experts,
I've just installed MII 12.2 over a SAP Netweaver 7.30 Java stack. I'm now trying to set up the connection between MII and SAP ERP 6.0 EHP6 so that ERP sends data to MII through IDocs.
For this, I'm following the guide called "How to Send an IDoc from SAP ECC to the SAP MII IDoc Listener (MII 12.1 to ECC 6.0)" by Michael Appleby, which I've found here on the SCN.
Now, I have to say that I did the same thing a few weeks ago, connecting the ERP Development system to the MII Development system. After a bit of trial and error, I succeeded. Now I'm trying to connect the Production systems, which are identical to their Development counterparts: I thought it would be a smooth procedure, instead I stuck because I can't register the RFC on the ERP gateway (the test on page 10 in the guide fails) and I can't understand what I'm doing wrong.
This is the SM59 log:
Connection Error
Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67
ERROR: program XMIIDOC06 not registered
LOCATION: SAP-Gateway on host ERPhost.domain.local / sapgw20
DETAIL: TP XMIIDOC06 not registered
I've checked the logs in the NWA of the Netweaver where MII is running, and I've found these messages:
[JRA]serverExceptionOccurred. Server XMIIDOC06, JCoDispatcherWorkerThread, connectionId=5-ERPhost.domain.local|sapgw20|XMIIDOC06, Exception: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: no message received (remote system is MIIhost|XMIIDOC06)
On the ERP side, on the dev_rd log I find these messages:
Wed Sep 11 12:21:19 2013
***LOG Q0I=> NiIRead: P=10.0.1.29:64604; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx
*** ERROR => NiIRead: SiRecv failed for hdl 74/sock 760
(SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64604; L=10.0.1.49:3320) [nixxi.cpp 5087]
***LOG Q0I=> NiIRead: P=10.0.1.29:64605; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx
*** ERROR => NiIRead: SiRecv failed for hdl 66/sock 756
(SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64605; L=10.0.1.49:3320) [nixxi.cpp 5087]
***LOG Q0I=> NiIRead: P=10.0.1.29:64606; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx
*** ERROR => NiIRead: SiRecv failed for hdl 113/sock 752
(SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64606; L=10.0.1.49:3320) [nixxi.cpp 5087]
***LOG Q0I=> NiIRead: P=10.0.1.29:64607; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx
*** ERROR => NiIRead: SiRecv failed for hdl 121/sock 476
(SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64607; L=10.0.1.49:3320) [nixxi.cpp 5087]
10.0.1.29 is MIIhost and 10.0.1.49 is ERPhost.
It appears MII thinks ERP is not responding, while ERP thinks MII resets its connection?!
I'm pretty sure I did the same steps as when I successfully configured the development systems.
When I run the RFC registration, I can see the connection from MII appear in SMGW, with status "Connected". So they are definitely talking. That entry disappears after a while.
On both MIIhost and ERPhost the firewall is off (those are both Windows Server 2008 R2 systems). On ERP I've created reginfo.dat and secinfo.dat to allow the connection from MIIhost. The RFC user and password is correct and it's using the SAP_ALL profile. I don't know what else to try to troubleshoot this issue.
Do you experts have any suggestions?
Thanks, kind regards.
--
M