cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Destinations not working

Former Member
0 Kudos

I am trying to connect PI dual stack to ECC. I have created two RFC destinations and both are not working.

RFC Destination of Type G, SAP_PROXY_ESR

RFC Destination of Type H, PI_AEX. Here the port number entered is 50,000. This is the port number maintained in the transaction SMICM ---Services.

I created connection to SLD in transaction SLDAPICUST and it also fails with error message:

Exception on SLD server: Error in processing of HTTP request: (417)Connect to host:50000 failed: NIEHOST_UNKNOWN(-2)

I checked the roles of the user in SU01 of ABAP stack

I found only two roles

SAP_XI_ADMINISTRATOR_J2EE

SAP_XI_CONTENT_ORGANIZER_J2EE

Is this because of that, inadequate roles that these RFCs and SLDAPICUST failing?

Should I add more roles in SU01 or Java stack?

Accepted Solutions (0)

Answers (4)

Answers (4)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Midhun,

The host unknown error is due to the fact that the hostname you have declared in your RFC destination cannot be resolved as an IP address. Have you tried using IP instead? If that does not work, ask your network team to check it.

Regards,

Mark

Former Member
0 Kudos

I have created RFC type H for PI_AEX

Here the port number is 50,000

Shouldn't the port number be ABAP port since its type H connection.

I checked in SMICM on PI server and saw the HTTP port number as 50000

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Midhun,

For PI 7.3 onwards, type G is the preferred method. It looks like the port does not matter, but the type and path does e.g

Type G with /XISOAPAdapter/MessageServlet?ximessage=true sends it to the SOAP Adapter using XI protocol

Type H with /sap/xi/engine?type=entry sends it to the integration engine

Regards,

Mark

Former Member
0 Kudos

Hi

I think it's an issue with dNS

I replaced FQDN with IP address,

In Type G, I am getting status 200 which means it is working

In type H, I am getting status 500 Empty HTTP Request received, does it mean it's working?

In SLDAPICUST, I am getting 403 forbidden and that's understandable as I don't have SLD access for the userid I am using

Now what should I do here so that it will work with FQDN?

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Midhun,

Yes, that is why I suggested that you use IP address. I'm not sure how it will work with FQDN, can you check with your basis team?

Regards,

Mark

Former Member
0 Kudos

Hi Midhun,

please check the below url maintained in the path .. in ECC level

path : " /sap/xi/engine/?type=entry "

and respective credentials too . (Username and Password)..

Regards,

Azmath.

iaki_vila
Active Contributor
0 Kudos

Hi Midhun,

You have the SAP documentation here Connecting the ABAP Backend to Advanced Adapter Engine - Configuring Process Integration (PI) After ...

Check with your network team if there is any firewall and if the ECC DNS can do the IP resolving.

Regards,

Former Member
0 Kudos

How to check if the ECC DNS can do IP resolving?

My RFC destinations work when I use IP address.

Harish
Active Contributor
0 Kudos

Hi Midhun,

The error of unknown host can only occure

1. If the host or port is incorrect in the RFC configuration

2. The SAP PI server is not reachable from SAP ECC

Exception on SLD server: Error in processing of HTTP request: (417)Connect to host:50000 failed: NIEHOST_UNKNOWN(-2)


Please check if the host and port are correct in the configuration and there is no firewall opening required between SAP and PI.


regards,

Harish