Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Execute program from Explicit host (SM59)

Former Member
0 Likes
1,292

Hello!

I need to send faxes from SAP (ECC 6.0 version), so I have configured a fax server (with ActiveFax server) in a PC inside of my net.

I want to realise a connection between SAP and the fax server throught RFC (Operative system Windows NT).

For text, In transaction sm59, I created a new RFC conection, type T and activation form explicit host.

I want to execute, for example, calc.exe program on destination machine, I put corresponding IP direction in destiny machine.

The problem is that when I trying to 'conection test' it giving back an error:

- Error when opening an RFC connection

- Time out during allocate

- Location: SAP gateway on host....

- Detail: no connect of TP calc.exe from host......

- component: Sap gateway

- return code: 242

Anybody knows how could I make the connection?

I hope you can help me as soon as possible.

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,025

Hi Carmelo,

you could install the RFC source development kit (rfcsdk) on the destination machine and start the RFCEXEC. There is a very good description how to do that from Ingo-Willy Raddatz alias Kaphoon here:

[http://sapabap.iespana.es/sap/info/rfcexec/rfcexec_e.htm]

You can call a program on the destiantion machine from ABAP with the FM RFC_REMOTE_EXEC.

See also Note 77075.

Greetings from Germany,

Stefan

Edited by: Stefan Gerschler on Nov 29, 2008 9:53 AM

5 REPLIES 5
Read only

Former Member
0 Likes
1,026

Hi Carmelo,

you could install the RFC source development kit (rfcsdk) on the destination machine and start the RFCEXEC. There is a very good description how to do that from Ingo-Willy Raddatz alias Kaphoon here:

[http://sapabap.iespana.es/sap/info/rfcexec/rfcexec_e.htm]

You can call a program on the destiantion machine from ABAP with the FM RFC_REMOTE_EXEC.

See also Note 77075.

Greetings from Germany,

Stefan

Edited by: Stefan Gerschler on Nov 29, 2008 9:53 AM

Read only

0 Likes
1,025

Thanks for answered Stefan Gerschler.

Sorry, maybe I don't explain very good...

RFCEXEC is use for upload/download files from/to your local PC.

I'm trying to send a fax throught SO01 transaction, so I wan to create a RFC connection to a local machine where I've installed a fax server (ActiveFax). Then, in SCOT transaction I can set Fax node with the RFC connection created and send faxes from SAPoffice (SO01).

Before configure the SCOT transaction I have to configure a RFC connection (SM59) between SAP and the fax sever installed. I have some problems in this step , the comunication is wrong.

I don't use ABAP code.

I hope you can understand and help me.

Thanks!

Regards from Spain,

Carmelo Pérez.

Read only

0 Likes
1,025

Hi,

i understood you are going to call the CALC.EXE from your windows machine ;-).

I take a look on the german site auf Active fax at[http://activefaxdeutsch.wordpress.com/?s=SAP].

There is no interface available for Activefax to SAP. They recommend to print the document to the ActiveFax Printer from SAP. The recieverattribrute can be passed a datafields.

Sorry, I'm not considere with the ActiveFax - so I can not exactly explain how to do this.

Many greetings,

Stefan

Read only

0 Likes
1,025

Thanks Stefan,

I'm going to solve this problem by this way, perhaps it could be the solution.

After some proofs, I will write you about the results...

Greetings,

Carmelo Pérez.

Read only

0 Likes
1,025

Well, after a long investigation work, I can conclude that to connect from SAP to any fax server program, should have an special interface that do able to the connection.

Thanks for your colaboration.

Carmelo Pérez