on 2007 Jul 09 10:37 PM
Hello,
I'm trying to register a program as explained in note 63930. After running
rfcexec -atest -gHOST -xsapgw00, on the SAP server nothing happens. I still
can't see the registered program in SMGW->Logged on clients.
Are there any actions that I need to execute for the program to be registered ?
Please advice,
Dimitry Haritonov
Harry,
Thank you for the prompt response.
With some persistency, I rebooted the SAP system, and executed the 'rfcexec' right from within the run directory. This time, I was able to execute the command successfully. By this, I mean, when I execute the command, it did not jumpt to the command prompt immediately. It was hanging without any output until I input 'Cntrl + C'. Also, I saw the entry in the SMGW. Once I terminate the command, I don't see the entry in SMGW anymore and obviously the RFC test fails after I terminate the command. Now, I will come this problem later. Right now, I got introduced to another problem. I don't see the values that I am supposed to see for the entry in the SMGW. I have a feeling that I am doing things wrong. Let me explain my situation below and see if you can throw some light on how to do this.
-
We have a third party software running on a different server (non-SAP). This is a third party credit-card approval software. As we have ECC (DEV, QAS, PRD), we also have DEV, QAS and PRD servers for this third party software. Currently, I am trying to establish an RFC connection between our ECC (DEV) and the development server of this third party software. Let me call this server as 'XYZ' to make it easier to refer to. Now, assume the name of the program ID I would want to call this program is 'abc
'. And let's call the sap system hostname as 'DEV'. One other piece of information I would like to share with you is, our production system RFC is working great with the production server of this third party software. I also see the entries under SMGW in our production server.
As instructed in this thread, this is the command I entered in the 'DEV' from inside the 'RUN' folder (we use windows):
rfcexec -aABC -gDEV -xsapgw00
When I enter the above command, I see different results under 'SMGW' than what I see in the SAP PRODUCTION server. Moreover, my question here is, where do we mention in this command that we are pointing to the 'XYZ' on which this third party software is running?
Should I change the parameter for this command or should this command be executed in the system in which the third party software is running?
Your timely help will be highly appreciated.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SAP007
rfcexec is only test program, the operation of it as you described is okay.
XYZ has to register the program. So you should provide the information of your DEV system to the administrator of XYZ. This information will likely be the hostname and the gateway. Mostly there's information how to register the program in the documentation from the third party software.
Regards
Harry
I am caught with the same problem. I am trying to register a program which is running on another server. Unfortunately, I get the error message, 'Program not registered'. I performed the same steps as explained by Dimitry but, I am not seeing the entry for this program under the logged on clients under SMGW transaction.
I don't see the command running. The command immediately terminates without any error message and prompts with the command prompt again. Yes, I had the problem with the "SERVER_EXEC" and once the problem was corrected as suggested "SERVER_EXEC" is working fine. But still, I don't see the entries under logged on clients under SMGW for this program.
Any suggestion in the right direction is highly appreciated.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
> I'm trying to register a program as explained in note
> 63930. After running
> rfcexec -atest -gHOST -xsapgw00, on the SAP server
> nothing happens. I still
> can't see the registered program in SMGW->Logged on
> clients.
Before you execute rfcexec from command line test it first through <b>SM59</b>. Do a connection test for the destination called <b>SERVER_EXEC</b>.
If you get the failure message "<i>Could not read the rfcexec.sec file.</i>" copy the file /usr/sap/<SID>/SYS/exe/run/rfcexec.sec to the home directory of the user <sid>adm. This is the quick way. To do it more properly check note 731062.
Once the connection test is successful you execute the command with <sid>adm user as follow:
rfcexec -atest -g<your_hostname> -xsapgw<your_instance#>
Of course the /etc/services file should contain an entry for the gateway port. E.g. for instance# 00 the entry looks like
sapgw00 3300/tcp
When rfcexec is running you should see "test" in SMGW->Logged on clients.
Now you can create and test your test destination as it is described in the note 63930
Finally you can terminate rfcexec by hitting <CTRL>-<C>.
If it's still not working you can check the log file called <b>dev_rfc</b> which is written into the same directory from where you called rfcexec.
Regards
Harry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Harry ,
-I've checked SERVER_EXEC, tested successfully.
-rfcexec -atest -g<your_hostname> -xsapgw<your_instance#> <- this command was executed several times but no program was registered. I still couldn't see it in SMGW->logged in clients.
-rfcexec -atest -g<your_hostname> -xsapgw<your_instance#> is not running in the cmd. after pressing enter I get the cmd line again and of course I don't see the registered program in SMGW.
are there specific instructions to register the program except run the line above in the cmd ?
Please advice,
Dimitry Haritonov
Hi,
in SM59 did you check <b>register program</b> option ?
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.