cancel
Showing results for 
Search instead for 
Did you mean: 

AEX 7.31: Connection of IDOC_AAE to ECC

Former Member
0 Kudos

Hi experts,

I tried to connect our PI AEX (Java-Only) to SAP ECC for the processing of IDOCs. I followed these guidelines:

http://scn.sap.com/docs/DOC-34155

http://scn.sap.com/docs/DOC-31398

http://scn.sap.com/people/william.li/blog/2011/05/04/configuring-pi-730-java-idoc-adapter

However I still have problems:

1. I was able to successfully create the Destination XI_IDOC_DEFAULT_DESTINATION in NWA to the ECC system: Connection test is successful.

2. I setup the values for the application resource "Inbound RA" as follows:

Program ID: XI_IDOC_DEFAULT_PID

XI_IDOC_DEFAULT_DI1: 5

Destination name: XI_IDOC_DEFAULT_DESTINATION

Local: true


3. When I now try to create the RFC-Destination in ECC system via tx SM59, I get an error when I try to perform a connection test:


The settings in the SM59 RFC-connection are as follows:

The value of the Gateway host is the hostname of the AEX system.

Please let me know if I made something wrong or if you have an idea what the problem could be.

Thanks for your help!

Best Regards

H.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

All,

I have solved the issue. Unfortunately I really used the wrong Gateway Service. It was sapgw01 instead of sapgw00.

To get the correct gateway values for the PI system, go into PI SLD and open

Administration -> Settings -> Tab "Parameters" -> from the Dropdown select "All"

The values required for the SM59 RFC connection can be found in the fields "GatewayHost" and "GatewayService".

Afterwards SM59 connection test with the above values is successful:

Thanks for all the hints!

Best Regards

H.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All,

At the time of doing configuration settings in NWA,what roles should be given to the technical user created in sender r3 system while creating Destination under the Logon tab?

Thnx,Nithin.

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

check your parameters one more time, like gateway and gateway service..

Gateway service should be SAPGW followed by the inst number..

use the T-code SMGW to find the correct parameters..

--> Check the gateway connection is up and running fine.

--> On the transaction code SM59 of the respective RFC destination, ensure all setting are configured correctly (pointing to the right setting) on target host, gateway host and gateway service.

--> Check the firewall is blocking or the port used is closed or open.

--> further check on trace file, dev_rd and locate any errors found.

--> Ensure all gateway parameters are properly set. As an example, gw/local_addr.

refer below links

http://scn.sap.com/thread/3169591

http://scn.sap.com/thread/3143606

http://scn.sap.com/thread/1242668

For server program registration in SAP gateway..

http://help.sap.com/saphelp_nw04/helpdata/en/22/0429aa488911d189490000e829fbbd/content.htm

Hope it will help...

Regards

Bhargava krishna

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

are you sure the gateway (PO's) is ok in SM59 ?

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

I checked the gateway values again in ECC via Tx SMGW -> Goto -> Parameters -> Display.

Unfortunately I had a type mismatch in the hostname. But now I get the following error:

Thanks and Best Regards

Harald

Bhargavakrishna
Active Contributor
0 Kudos

Hi Harald,

Did you register the program id in NWA?

Follow below link for step by step configuration

http://scn.sap.com/docs/DOC-31398

http://wiki.sdn.sap.com/wiki/display/XI/Configuration+of+inboundRA+in+the+Java+IDoc_AAE+Adapter

Hope it will helpful..

Regards

Bhargava krishna