cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the sap server version using RFC SDK

Former Member
0 Kudos

Hi All,

I am using RFC SDK Unicode (classic) library to communicate with Sap server. I have looked into the RfcGetAttributes(). It returns server information like codepage, system number. But I am not able to find the server version.

Is there exist any way I can get the version of the server(R/3 4.7, ECC 6.0 etc..) that I am connecting to?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Just call function module STFC_CONNECTION.

The RESPTEXT field will include the SAP system basis release.

For R/3 4.7 the answer is "SAP R/3 Rel. 620".

For ECC6 the answer is "SAP R/3 Rel. 700".

For CRM 2007, the answer is also "SAP R/3 Rel. 700".

Regards,

Olivier