cancel
Showing results for 
Search instead for 
Did you mean: 

How to write and register a windows server listener

Former Member
0 Kudos

Can someone point me to some documentation on how to:

1) Write a listener that will run on a Windows Server (Just general code is fine). I suppose it will be invoked as a windows service.

2) How to register that listener, i.e. Program ID so that the SM59 entry in SAP will communicate with that listener?

Also,

Does this listener program receive calls from SAP, then invoke functions that have been encoded as a separate windows dll?

Wardell

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

As Markus said, you can use the RFC SDK to write an RFC server program in C language source code.

But it's also possible to use the SAP .NET connector if your programmers prefer .NET.

We have used both of these technologies with success.

A tip : If well programmed, it is possible to have a RFC server program which registers it self again automatically in case of SAP restart (think about offline backup...).

Best Regards,

Olivier

markus_doehr2
Active Contributor
0 Kudos

Check the documentation of the RFC library, it contains some examples how to write programs.

Markus

Former Member
0 Kudos

Marcus,

Can you provide a link to this documentation?

Thanks!