cancel
Showing results for 
Search instead for 
Did you mean: 

Third party system to SAP PO single stack Java via RFC

ne0n
Explorer
0 Kudos
784

Hi together,

I have a requirement to send IDocs from a non-SAP third party system (which uses a RFC library) to SAP PO single stack java via RFC.

Here's what I've done to achieve this:

On SAP PO side:

- configure a cloned inboundRA in NWA to register a Program ID / TP Name in PO Gateway:

- configure a IDoc Sender channel to use this cloned inboundRA

On third party system:

- I set the following parameters:

ASHOST: <PO hostname>

SYSNR: <PO sysnr>

TPNAME: <Program ID>

USER: <user>

PASSWD: <password>

On my third party system I get the following error:

Fehler beim RfcOpenEx: key=RFC_ERROR_COMMUNICATION message=CMALLC : rc=20 > Connect from SAP gateway to RFC server failed
Connect_PM GWHOST=<PO hostname>, GWSERV=<PO gw service>, SYSNR=<PO sysno>

LOCATION SAP-Gateway on host <PO hostname FQDN> / <PO gw port>
ERROR Gateway not connected to local R/3
TIME Wed Jul 16 16:28:53 2020
RELEASE 753
COMPONENT SAP-Gateway
VERSION 2
RC 726
MODULE /bas/753_REL/src/krn/si/gw/gwxxrd.c
LINE 8564
COUNTER 86752

What am I missing here? What could be the problem? How to get this connection working?

Thanks in advance!

View Entire Topic
philippeaddor
Active Participant

There's a SAP note for this error, but I'm not sure if it helps much: https://launchpad.support.sap.com/#/notes/1922046

Obviously, PO (Java) is not an R/3 (ABAP) system. So the error described in the note doesn't really relate to a PO system. I don't know how the InboundRA exactly works, but I guess it has to emulate the RFC function module that usually receives an Idoc on an R/3 / ECC / S/4 system. Somehow this seems to not work correctly in your case (or the 3rd party doesn't call the right FM?). I don't have the possibility to simulate it, so I can only guess.

One more thing: Did you set the RA property "local" to "true" (it's not visible on the screenshot)? Maybe that makes a difference, but I'm not sure neither.

Best Regards,

Philippe

ne0n
Explorer
0 Kudos

Hi Philippe,

thank you for your answer. I already read that SAP note before, but unfortunately, as you already pointed out, the error doesn't really relate to Java.

I did not set the property local at all. I'll give it a try.

regards

Jonas

philippeaddor
Active Participant
0 Kudos

Hi Jonas

Also try local = false (just in case).

One more thing: Have you analyzed the default trace in PO NWA to see if the call has somehow been logged and maybe gives you more information?

Regards,

Philippe