cancel
Showing results for 
Search instead for 
Did you mean: 

rfcexec registration

Former Member
0 Kudos


Hello,

I'm trying to register rfcexec program, but I try to execute this command like as sidadm

rfcexec.exe -aPROGRFC -gHostgateway -xsapgw00

Then I get this message, but the library is under nwrfcsdk\lib\    folder

What can I do?

Thanks a lot.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

I´ve created the service:

ntscmgr.exe INSTALL ServiceRFC -b "D:\usr\sap\XXX\DVEBMGS00\nwrfcsdk\bin\rfcexec.exe" -p "-a RFCPROG -g sapxxx -x sapgw00"

But I try to start the service I get this message:

I´ve change the user that starts the service, but it doesn't work

Sriram2009
Active Contributor
0 Kudos

Hi Ruben

just do the windows update on the windows system and then check the service status

Regards

Former Member
0 Kudos

Any idea about the process to install NW RFC SDK?

Sriram2009
Active Contributor
Former Member
0 Kudos

Hello Sriram,

I´ve download again the nwrfcsdk and followe the Wiki of installation and I´m getting the error that library LIBSAPUCUM.dll is missing from your computer but It exists under lib folder.

After that, on the next command what program ID I need to put? I need to put it on another place??

rfcexec -g <gateway host> -a <program ID> -x <gateway service> -f <file name> -s <system ID> -t

Sriram2009
Active Contributor
0 Kudos

Hi Ruben

Copy the Dll to C:\windows\system32 folder and than try again

Regards

Ram

Former Member
0 Kudos

Thanks Sriram

I´ve put the dll on  C:\windows\system32, and now I don't get the error, but I´ve put path of folder Lib on the environment variable PATH...

Now I must to execute this command

rfcexec -gsap-dev -aRFCPROG -xsapgw00

But I'm getting error

Sriram2009
Active Contributor
0 Kudos

Hi Ruben

I think your syntax having issues, use the command as mention below

rfcexec  -t -g <gateway host> -a <program ID> -x <gateway service>

Still if you are facing same issue kindly refer the SAP Note

1581595 - rfcexec or startrfc fail after upgrade

Regards

Sriram

Former Member
0 Kudos

Thanks Sriram,

I´ve executed the command and the process is holding for communications, now RFC SERVER_EXEC works with the program ID that appears on SMGW.

Now I must to create the windows service

Former Member
0 Kudos

Hi Ruben,

Check the below note if you are using 7.10 or 7.11



1356894 - Library libsapucum.lib Missing in Unicode RFCSDK for Windows



If you are using SAP 720 kernel then check if you have implemented SAP NW RFC SDK files during the kernel upgrade or not.


Thanks,

Jagadish

Former Member
0 Kudos

Thanks for your answers,

I´ve download the NWRFC library and I´ve installed it on a diferent path over sap kernel.

The files must be included on kernel folder or can be installed on another path?

The file exists under lib\ folder.

Thanks again.

Former Member
Former Member
0 Kudos

I´ve downloaded and installed on C:\nwrfcsdk\ and I´ve declared the E.V  LD_LIBRARY_PATH = C:\nwrfcsdk\lib following the note 1581595 - rfcexec or startrfc fail after upgrade.

So How can I check if works correctly? Connection test of rfc tcp RFCEXEC?

Thanks

Former Member
0 Kudos

Hi Ruben,

As per note: 1581595, As of Release 720 kernel, the program rfcexec is no longer delivered together with the kernel.


In the classic RFC SDK 7.20, the example programs (for example, startrfc and rfcexec) are not available.


The best way to test the Registered program RFC connections, please have them connect to your system who provided you the Register Program ID. If they are able to establish connection, then you should be able to see in transaction code SMGW,

From the menu, click on Goto, Select Logged on Clients,

Sort the TP Name column, and you should see your program ID here.

If they are able to successfully establish connection with register program ID.


Thanks


Adil

Former Member
0 Kudos

Hello Nayeem,

In note explains the option of rfcexec as a registered server

rfcexec as a registered server


You can start rfcexec as a registered RFC server as follows:

rfcexec -g <gateway host> -a <program ID> -x <gateway service> -f <file name> -s <system ID> -t

-g > I use the gateway of sap instance

-a > This program Id, where must defined or included?

-x > sapgw00

-f > optional

-t>  optional

After that how can I create the service. Directly with:

sc rfcexec -g <gateway host> -a <program ID> -x <gateway service> -f <file name> -s <system ID> -t ??

I´ve executed the rfcexec.exe with and without parameters and I always get the error about the libsapucum.dll, and library exists under lib folder...

Any idea?

Sriram2009
Active Contributor
0 Kudos

Hi Ruben

Kindly refer the SAP Note 1356894 - Library libsapucum.lib Missing in Unicode RFCSDK for Windows


Regards

Ram

former_member45419
Active Contributor
0 Kudos

Hi Ruben,

Form above i came to know that LIBSAPUCUM.dll file is missing restore this file and run your program

Regards

Nayeem