Application Development 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: 

How to find Version of the SAP system?

former_member182426
Active Contributor
0 Kudos

Hi Friends,

Is there any BAPI FM to get the R/3 Version of SAP system. i.e weather its R/3 4.6 / 4.7 / ECC 5 / ECC 6.

Plz Any helps will be appreciate...

Regards,

Shree.

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello

The (RFC-enabled) fm you are looking for is RFC_SYSTEM_INFO.

Regards

Uwe

13 REPLIES 13

GauthamV
Active Contributor
0 Kudos

Plz SEARCH in SCN before posting.

In any SAP screen menu , system - status ,you can find it.

Also you can Check in table CVERS_TXT

0 Kudos

Hi Gautham,

Thanks for your reply. I know we can find it in SAP GUI under system menu.

But here in my case is i have to get it through program. So, I am searching for, is any FM / BAPI is there to get it.

Regards,

Shree.

0 Kudos

check this fm

IW_C_GET_FRONTEND_VERSION

also see other fms in this function group SI66

babu_kilari4
Active Contributor
0 Kudos

Not sure about BAPI. But, the below table would give you the information,.

CVERS_TXT

Thanks,

Babu Kilari

Former Member
0 Kudos

Hi Shankar

Check this BDL_SYSTEM_INF, it gives you the system info.

Hope this will be helpful for u..

Regards

Karan Arya

0 Kudos

Hi Guys,

VERSION_GET , This will show the organization plan version not SAP version.

IW_C_GET_FRONTEND_VERSION, This is for getting front end service files information. i.e from your local system files.

BDL_SYSTEM_INFO., This function module will display the information about system. i.e which operating system, os version, Database etc.

Regards,

Shree.

Former Member
0 Kudos

Hi shankar,

try this FM VERSION_GET to get the version of SAP System

regards

fareed

Former Member
0 Kudos

Hi Shankar ,

Table cvers_txt stores the short text of the versions according to the language.

Check this code to get the version - -

DATA : w_version TYPE cvers_txt-stext.

SELECT stext UP TO 1 ROWS FROM cvers_txt INTO w_version .
ENDSELECT.

WRITE w_version.

If you want to get according to language , check the bellow code --

DATA : w_version TYPE cvers_txt-stext.
SELECT SINGLE stext  FROM cvers_txt INTO w_version WHERE langu = 'DE'.
 WRITE w_version.

Note : Here language DE .

Regards

Pinaki

uwe_schieferstein
Active Contributor
0 Kudos

Hello

The (RFC-enabled) fm you are looking for is RFC_SYSTEM_INFO.

Regards

Uwe

0 Kudos

Hi,

Thank you very much man. This is the FM module exactly what i need. But here i am not able to identify weather its 4.6 / ECC 5 / ECC 6. which field will contain this information in this.

in ECC 6, I saw on field RFCS . it contains value 700. And RFCMA contains 370

in ECC 5, field RFCS contains value 640. And RFCMA contains 560

in ECC 4.6, field RFCS contains value 4.6C. and RFCMA contains 370

Now my question is how we can tell based on RFCS values SAP version is 4.6 / ECC 5 / ECC 6.

Plz help me in this....

Regards,

Shree

0 Kudos

Hi,

The standARD VALUE FOR ECC5.0 IS 640 , for ECC6 700 amd for 4.6 it is 4.6c.

you will have to write an if condition after calling the function module... and based on the if condition you can recognize the version....

Regards

Pinaki

0 Kudos

Hi Uwe Schieferstein,

In each package level/patch level the filed values are same or it will change.

i.e

In ECC 6, RFCS and RFCMA field vlaues are same in each package level . i.e RFCS = 700 And RFCMA = 370

In same way in ECC 5, values of field RFCS = 640 And RFCMA = 560

In ECC 4.6, values of field RFCS = 4.6C AND RFCMA = 370

Suppose now in ECC 6, RFCS = 700 and RFCMA = 370, Patch level is 22.

in future you upgrade patch level to 30. Then at this level also the field values will be same or it will change.

Regards,

Shankar.

0 Kudos

Hi Shankar,

RFCS will be 700 for the all the paches of ECC 6 means RFCS will be 700 irrespective

of the paches.

Similarly for ECC 5, values of field RFCS will be 640 and for ECC 4.6, values of field RFCS = 4.6C .

So you need not to worry about the pache changes.

Regards

Pinaki