Skip to Content
0
Former Member
Mar 19, 2009 at 07:39 AM

How do i know which release of SAP i am working on at run time

891 Views

Hi all,

I want to know at run time on which version/ release of sap i am working on.

Example: I have created a program in ECC 6.0, lets say i am not sure the Function modules and Views that i used in this program are existing in old versions.

lets say i want to put a check in the program to see if the SAP release is SAP R/3 4.7 & above. Only then run the Program Else Quit executing.

We have system variable that returns release syst-saprl., but that returns only 700 , 620 like that.

GET_SAP_RELEASE also returns.

But how do i know if its 4.6c or 4.0 or 4.7 or ECC 5.0 or ECC 6.0 etc....

Please let me know how to put that into logic.

Regards,

Purshoth.