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

Which version ?

Former Member
0 Likes
751

Hi all,

how can i find out (with Abap) which system version (4.6 or 4.7) is on the machine ? Is there a function or a "sy-" Variable for this ? I didn't find anything.

rgds.

Henning

1 ACCEPTED SOLUTION
Read only

0 Likes
720

Try sy-SAPRL!

Yep..SY-SAPRL will do....

3 REPLIES 3
Read only

0 Likes
721

Try sy-SAPRL!

Read only

Lakshmant1
Active Contributor
0 Likes
720

Hi Henning,

Try this code,

REPORT ZVERSION.

DATA: BEGIN OF I_VER OCCURS 0,

KEY(21) TYPE C,

DATA(69) TYPE C,

END OF I_VER.

CALL 'SAPCORE' ID 'ID' FIELD 'VERSION'

ID 'TABLE' FIELD I_VER-SYS.

READ TABLE I_VER INDEX 1.

WRITE:/ I_VER-DATA.

Thanks

Lakshman

Read only

Former Member
0 Likes
720

Yep..SY-SAPRL will do....