cancel
Showing results for 
Search instead for 
Did you mean: 

TREX RFC config

Former Member
0 Kudos

Hi,

We have a TREX 7 installed on AIX,we have created an RFC connection to

E-recruiting system(E-Rec 6) from the TREX admin tool.So it created the

corresponding entry in SM59 of the SAP system.But when i do a test

connection it fails with the below error

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: program Trex_ERD_20070411185948 not registered

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

Error Details DETAIL: TP Trex_ERD_20070411185948 not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 20944

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1684

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Wed Apr 11 19:10:33 2007

Error Details VERSION: 2

i tried to register the program with the following command

rfcexec -aTrex_ERD_20070411185948 -gafgprd05 -xsapgw00 but was not

successfull.

i can also see the below entries in TREX trace file

[1] 2007-04-11 19:00:35.589 e TrexNet RfcBufferedIO.cpp(00604) :

===>protocol mismatch found for tableRFC_CONNS_FOR_PROGID

[1] 2007-04-11 19:00:35.600 e CLIENT_TRACE RfcTestAdmin.cpp(00573) :

caught RfcNetException - reason: a rfc communication failed

[1] 2007-04-11 19:00:35.650 e TrexNet RfcBufferedIO.cpp(00604) :

===>protocol mismatch found for tableRFC_CONNS_FOR_PROGID

[1] 2007-04-11 19:00:35.661 e CLIENT_TRACE RfcTestAdmin.cpp(00573) :

caught RfcNetException - reason: a rfc communication failed

[9260] 2007-04-11 19:05:17.370 e TrexNet RfcBufferedIO.cpp(00604) :===>protocol mismatch found for tableRFC_CONNS_FOR_PROGID

[9260] 2007-04-11 19:05:17.380 e CLIENT_TRACE RfcTestAdmin.cpp(00573) :

caught RfcNetException - reason: a rfc communication failed

[9260] 2007-04-11 19:05:17.453 e TrexNet RfcBufferedIO.cpp(00604) :===>protocol mismatch found for tableRFC_CONNS_FOR_PROGID

[9260] 2007-04-11 19:05:17.463 e CLIENT_TRACE RfcTestAdmin.cpp(00573) :

caught RfcNetException - reason: a rfc communication failed

Any idea what could be the reason?

Regards,

etsg

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hello all,

Here is the workaround. Temporarily set the parameter gw/acl_mode to 0. After registration switch it to 1 back. Or you can edit the reg_info and sec_info files accordingly.

I wrote it in my blog:

Registration of tp not allowed.

Regards,

Serhat

isaias_freitas
Advisor
Advisor
0 Kudos

Hi,

This thread is over 4 years old!!!!

In addition, the appropriate solution is to maintain the reginfo rules to allow the registration, keeping the environment secure. This WIKI can help with that and it has a link to an SAP KBA that contains a video showing how the reginfo rules work.

Regards,

Isaías

Former Member
0 Kudos

Hi Isaias,

This topic is 4 years old. And???? Good, congratulations then!

I wrote "Here is the WORKAROUND." So it is a "workaround" .

Thanks for the Wiki page but I don't get what you mean by saying that thread is 4 years old. So?

Somebody can have the same problem, make a search and reach this thread. At the bottom I wrote what I did in same situation, in order to help him or her about the solution!

This kind of posts (like yours) do not help. Please be careful and respectful.

Regards,

Serhat

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Serhat,

I had no intention of being disrespectful.

Please search the SCN by "stop necromancing" and read the rules of engagement.

Bringing up to life a 4 year old thread does not help either .

Kind regards,

Isaías

Former Member
0 Kudos

Hi Isaias,

You're still wrong, I'm afraid.

When you search something on SCN, do you limit your search with new threads? Don't you profit older threads? I find lots of solutions in let's say 5-year old threads, as well.

Regards,

Serhat

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Serhat,

I never said that an old thread could not help.

Regards,

Isaías

Former Member
0 Kudos

Hi,

I had the same situation using WAS 6.40 SAPKB64016. My prior experience was with TREX 6.1. The older version used the [connection] parameters in the TREXRfcServer.ini.

The RFC test would generate the following Error:

ERROR program TREXRfcServer_01_<hostname> not registered

LOCATION SAP-Gateway on host <hostname> / sapgw47

DETAIL TP TREXRfcServer_01_<hostname> not registered

COMPONENT SAP-Gateway

COUNTER 2

MODULE gwr3cpic.c

LINE 1694

RETURN CODE 679

SUBRC 0

RELEASE 700

TIME Mon Dec 10 17:25:30 2007

VERSION 2

To resolve the error above. I modified the file TREXRfcServer.ini wth the following:

[thread_Trex_<sapsid>_20071211164810@<TREX IP>:sapgw47]

comment=SAP System:_<sapsid>_, RFC Destination:<hostname>_REG, central GW. Section inserted: 2007-12-11 16:50:11 by TREX Admin Tool.

host=<TREX IP>

instance=sapgw47

service=Trex_<sapsid>_20071211164810

instances=3

The prgram ID on the AIX WAS 6.40 now uses:

Trex_<sapsid>_20071211164810

If this should help, please award points accordingly.

Regards,

DM

0 Kudos

Hi Dan,

What you explain here it is similar to changing the option in the TREX Admin to "Multithred" ?

I think the problems I am experiencing are related with the connections TCP/IP managed by TREX and the RFC connection on the SAP ECC.

I tried to edit this "TREXRfcServer.ini" but it is always edited by the "Alert" process.

Thank you for your contribution.

Kind Regards

Sílvia Cardoso

0 Kudos

Hello ETSG Team

I'am experiencing a similar problem.

In SAP ECC running in Windows anytime I test by SM59 the RFC Connection to a SAP GW that communicates with a TREX Server.

Did you verify if the TREXRfcServer process is running on your TREX Server machine, in your case AIX ?

In my situation, it is not running but I cannot undestand why.

I think it is a problem in the SAP GW, because what you did is right when trying to register in the SAP GW the program aTrex_ERD_20070411185948, however I think because the process TREXRfcServer is not running, that's why the command rfcexec fails.

I do not reach yet to the solution but I think is something missing in the TREX configuration/installation.

Did you run under the ..TREX..EXEpython unInstallationTest.py ?

This should give you 0 erros as result.

It does a test to the HTTP connection, but if it does not give you 0 results is because something is not right and you could check it from the generated list.

Hope this helps and we find a solution to our problems.

Kind Regards

Sílvia C.

0 Kudos

Hi, we got Trex 7 installed and get the same error message, I see nobody replied. We use also AIX 5.3 and Trex is on 7.0 SR2. Our ABAP backend system is 6.40 NW04. Any pointers would be appreciated. In our case our TREX has two instances. One for PLM and one for Portals. PLM uses RFC while Portal uses HTTP connection.

thanks

Former Member
0 Kudos

ETSG,

Did you have your issue resolved? We have similar issue. Can you let me know what the solution to your issue is? Thanks in advance.

Terrisa.

Former Member
0 Kudos

Hi,

The reason why this is happening is because the TREX server 'somehow' disconnects the link and assigns a new progid to your SM59 setup when it does the availabilty check.

Your test in SM59 fails because the new progid issued by TREX (i.e. TREX_xxx<date><time>) in theory is not the actual registered program. You can test this by issuing a unix 'ps -fu <sid>adm'. The progid here on teh trex system will not be the same one registered in SM59.

Whats causing the new progid generation is in the AlertServer.ini file. There is a configuration setting in here that restarts your broken RFC pipe. This issues a new progid to your SM59 settings but the replication is delayed.

For a temporary fix until SAP find a more suitable solution is to stop the restart of the broken pipe. By doing this your RFC pipe for some unknown reason is not broken and a new progid is not generated, which in turn means that your RFC works all the time.

Hope this helps.

Sniper.

0 Kudos

Hello,

Thank you for the information.

SAP really give the same indications as you did, and I suspect also there is something that is not quite clear on the restart of this connection.

For now I am trying to re-create the connections to TREX and SAP ECC 6.0.

Thank you for you time and information.

Kind Regards

Sílvia C.

Former Member
0 Kudos

ETSG,

Did you have your issue resolved? We have similar issue. Can you let me know what the solution to your issue is? Thanks in advance.

Terrisa.

former_member217429
Active Contributor
0 Kudos

Hello,

what's the exact TREX and ABAP version ? TREX should have at least the same version as ABAP.

Best regards,

Mikhail