cancel
Showing results for 
Search instead for 
Did you mean: 

RFC conn between SAP ERP and TREX not working

Former Member
0 Kudos

Hi experts,

we run a TREX instance on a Windows 2003 server and use it for our HCM portal.

The solution is in operation since 2 years but actually we face the problem that objects which have been created within the last month will not be covered by the index.

Without knowing about any changes in the setup I see the following error message when I perform the RFC connecten test in our ERP system:

-

-


Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: program Trex_UKP_20071025104543 not registered

Error Details LOCATION: SAP-Gateway on host janos / sapgw00

Error Details DETAIL: TP Trex_UKP_20071025104543 not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 12906

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1778

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Mon Jul 27 10:34:48 2009

Error Details VERSION: 2

-

-


In the TREX admin tool on the Windows server I see the following log message:

-

-


Source->Destination: Not set in TREX but TREX reachable -> ini file section missing?.

-

-


After reading lots of notes I guess that I have to register the server program that's used in the RFC on the gateway.

Unfortunately I have no idea how to do that.

Has anybody experiences with such a problem case or can tell me how to continue?

Is the problematic RFC realy the reason of my problem or just another side effect?

Many thanks for your really appreciated help in advance and best regards

Günter

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hai,

Also check the saprfc.ini file whether it contains the gateway host and the service name or not.

If the rfc is registered correctly then you will find the RFC in the Gateway, to check this goto Tcode SMGW and then check the 'logged clients' tab. If the RFC is shown here then you can conclude that RFC is registered correctly.

Regards,

Yoganand.V

Former Member
0 Kudos

Hi again,

the saprfc.ini on the TREX server look like follows:

-

-


DEST=UKT

TYPE=A

ASHOST=medos

SYSNR=00

DEST=UKP

TYPE=A

ASHOST=janos

SYSNR=00

-

-


UKT is our test system which is connected to the same TREX server and everything is fine there.

On the test system I can also see the registered server program in SMGW.

UKP is our productive system where the configuration should be the same.

Of course I do not see the registered server program in SMGW there.

Is the way described in above link (RFCACCEPT) the only correct way to register my server program?

I ask because I found information that the server program has to be developed according to this rfcaccept command and I have absolutely no idea wheather this is so.

Thanks again for your help!

Günter

sunny_pahuja2
Active Contributor
0 Kudos

Hi Gunter,

You have to register this program with rfcexec command and link which i pasted above.

Thanks

Sunny

sunny_pahuja2
Active Contributor
0 Kudos

Hi Günter,

Register this program id on trex side by following below link:

http://help.sap.com/saphelp_nw04/helpdata/en/22/042c26488911d189490000e829fbbd/content.htm

Then, check.

Thanks

Sunny

Edited by: Sunny Pahuja on Jul 27, 2009 11:09 AM

christian_haller2
Discoverer
0 Kudos

Link defect, replacement found, Title "RfcAccept" https://help.sap.com/saphelp_nwmobile71/helpdata/en/22/042c26488911d189490000e829fbbd/frameset.htm


Also this seem to be useful, Title "Configuration errors"

http://help.sap.com/saphelp_gbt20/helpdata/en/48/a86f0c5135307ce10000000a42189b/frameset.htm

  • GW down or network problems
  • Not set in TREX.
  • GW not available, but set in TREX.
  • GW set in TREX, GW available. Network problems?
  • GW available, but not set in TREX.
  • GW not available and not set in TREX.
  • No TREX relevant RFC Destination in SAP System.
  • Not set in TREX, but TREX reachable.
  • App Servers in TREX that belong to none of the connected SAP Systems
  • App Servers/GW hosts in TREX with wrong instance or service.
  • Configured Number of RFC Servers differs from default value.
  • Potentially non unique Program IDs detected.