on 01-28-2013 10:58 AM
Hello,
I´m trying to connect ABAP system with the portal via SSO. And I´ve created the RFC on JAVA and ABAP. In the JAVA side, the JCO Rfc start correctly, but in the ABAP side when I tested the connection I get the next message error:
Error de conexión
Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67
ERROR: program portal not registered
LOCATION: SAP-Gateway on host xides / sapgw00
DETAIL: TP portal not registered
COMPONENT: SAP-Gateway
I´ve found the notes (1581595 - rfcexec and startrfc missing after upgrade) that explains that the files rfcexec.exe and rfcexec.sec aren´t avalaible on Kernell 7.20.
I´m very confused about the method for register the program in the ABAP side.
I hope yours suggestions.
Thanks a lot.
In addition to the above reply please check this note about the RFCEXEC files.
Note 1636252 - Installing a 7.20 kernel in SAP Web AS 7.00/7.01/7.10/7.11
The note suggests to back those files before you switch to a newer release.
Cheers
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Maria Joseph,
I´ve put the variable in the user variables for user sidadm LD_LIBRARY_PATH=C:\usr\sap\SID\SYS\exe\uc\NTAMD64\lib.
To I´ve put the four folders (bin,demo,include and lib) in ...\SYS\exe\uc\NTAMD64 and ...\DVEBMGS00\exe
After that I´ve restarted the server, but I´m getting again the same error.
Any suggestion?
Yes. You need to have the TP for each registered program running.
If not, your RFC won't work...
For windows, you need to create service and make it running always for your RFC to work.
Please go through the below note last para for additional information.
Hello
Please provide the screen shots of both the RFC's
Also have you created the RFC at the ABAP side with the "Registered Server Program" ?
Cheers
/ RB /
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go to your /sapmnt/SID/exe folder and check whether RFCEXEC.SEC,RFCEXEC,RFCPING is available or not.
If not, try to check in other servers where the file is available. Make sure that you are copying from the system that are of same kernel and version level.
Did you update your kernel? If yes, did you try to overwrite your existing exe folder or created a new exe folder and uncared the exes. If yes. please check in your old kernel and try to replace it.
You need to have these three files, in /sapmnt/SID/exe as well as /usr/sap/SID/DV*/exe too.
Once done , please check the note
TP Program not registered in RFC
Apply the note 353597 - Registering RFC server programs (Run it in Background using the example Ø nohup rfcexec -a <Program ID> i -g <Hostname> -x sapgw<no> &
Please check and provide your feedback.
Thanks and Regards,
Vimal
Good Day Ruben
What about the RFC from the ABAP stack ?
Have you selected the "Registered Server Program" for the RFC in the ABAP stack ?
Please check whether gateway parameters (Gateway Host and Gateway Service) are maintained.
Make sure that the RFC is started in the Visual Administrator.
Also check this note:
Note 353597 - Registering RFC server programs
Cheers
RB
Hi,
Please let us know what is the version of the kernel you are using.
If you are using 720 kernel, then rfcexe* files wont be available. In that case you can try this way.
1. Try to download 701 kernel and extract it to a separate folder.
2.Overwrite the kernel you are currently using in your system with the downloaded 701 kernel.
3. Take a backup of your running exe folder.
4. Overwrite the contents with the files that was overwritten before.
You need to have rfcexec* files to have the rfc working eventhough you get the message tp program not registered.
I faced this issue and did in this way and it is working now.
You can also give a try.
Please check and provide your feedback.
Thanks and Regards,
Vimal
I´ve the kernell 7.20_300 version. In the note 1740754 - sapnwrfc.dll(.so, .sl) missing in ASCII (nUC) kernel archive, speaks about NW RFC library.
Hi,
Try to search for NWRFC ( try to search with support packages & Patches). You will get list of NWRFC. Uncar it . Inside you can see few folders and there you can see rfcexec file.
Put it in the exe folder on both SYS/exe as well as DV*/exe folder.
You need to have rfcexec in your exe folder to have your rfc working. If not, it wont work
as well as make sure that this rfcexecu is running in background . If it not running, RFC will FAIL.
for Example.
Search Results | |||
000021 | NWRFC_13-20004565.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 Linux on x86_64 64bit | |||
000022 | NWRFC_13-20004566.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 Windows Server on IA32 32bit | |||
000023 | NWRFC_13-20004567.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 Windows on IA64 64bit | |||
000024 | NWRFC_13-20004568.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 Windows on x64 64bit | |||
000025 | NWRFC_13-20004569.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 z/OS 64bit | |||
000026 | NWRFC_13-20004570.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 OS/400 | |||
000027 | NWRFC_13-20004571.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 Linux on zSeries 64bit | |||
000028 | NWRFC_13-20004572.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 Solaris on x86_64 64bit | |||
000029 | NWRFC_13-20004573.SAR NetWeaver RFC Library | ||
Support Package SAP NW RFC SDK 7.20 Solaris on SPARC 64bit | |||
000030 | NWRFC_2-10006458.SAR NWRFC | ||
Support Package SAP NW RFC SDK 7.10 HP-UX on IA64 64bit |
Thanks and Regards,
Vimal
I´ve extracted the folders on two directories and executed the command
c:\usr\sap\ECP\SYS\exe\uc\NTAMD64\bin>rfcexec.exe -a sapecp_portal -g sapecp -x sapgw00
and the command is waiting and I don´t get a result or finish the command. The rfc test works, but I cancel the command of CMD the rfc doesn´t work.
Hello
The command is to register the program in the gateway.
It wont provide you any output. Please check this note.
Note 353597 - Registering RFC server programs
Cheers
/ RB /
I´ve put the directory nwrfcsdk under the path \SYS\exe\uc\NTADM64 and I´ve restarted the system but I can´t register the program.
\SYS\exe\uc\NTADM64\nwrfcsdk
After I´ve tried to put directly the folders inside nwrfcsdk directly under
\SYS\exe\uc\NTADM64\bin
\SYS\exe\uc\NTADM64\include
\SYS\exe\uc\NTADM64\lib
\SYS\exe\uc\NTADM64\text
I can´t access to Logon screen. In both I´ve restarted the SAP System.
Hi Ruben,
Use the below command and try to run the file in background mode.
Apply the note 353597 - Registering RFC server programs (Run it in Background using the example & nohup rfcexec -a program ID -g hostname -x sapgw<no> &
As said earlier, till the rfcexec is running, you will have your RFC working.
If your OS is windows, try to create a serivce and make it running in background.
Thanks and Regards,
Vimal
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.