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

How to check a SAP server program's source code?

Former Member
0 Likes
996

Hi,

We have a 2 way IDoc based interface with an external system.

As I see the communication is based on a SAP server side program called f.e. "ZSERVER_PROGRAM".

It's set in SM59, under TCP/IP connections (f.e. ZRFC_CONNECTION) and in the Technical settings, the Activation type is set to "Registered server program", and the Registered server program is populated with "ZSERVER_PROGRAM".

It's working properly in both inbound and outbound ways.

I would like to know how is it working properly, how can I check (in which transaction) the code of the "ZSERVER_PROGRAM" server program, and how to modify it, if necessary?

Everything is welcome

(and yes I was searching the net before questioning, but found only generic stuffs...)

Thank you

Tamas

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
919

I used such a registered server program for an interface with an external system. The source code isn't available via SAP - it will be some kind of executable, written in C, .net or suchlike.

2 REPLIES 2
Read only

matt
Active Contributor
0 Likes
920

I used such a registered server program for an interface with an external system. The source code isn't available via SAP - it will be some kind of executable, written in C, .net or suchlike.

Read only

Former Member
0 Likes
919

Hello Tamas

In SM59 you are looking at the RFC destination (ZRFC_CONNECTION) and inside of that destination definition you see the registered server program (ZSERVER_PROGRAM). To my understanding this is only an ID which will be published in the SAP gateway, with this ID, other systems are able to call the RFCs in a given server.

Please refer to the SAP Help:

https://help.sap.com/saphelp_nwpi711/helpdata/en/48/a8e31751343079e10000000a42189b/content.htm?frame...

The one that does all the work will be the FM that was defined/configured to process the incoming/outgoing data.