02-14-2005 2:39 PM
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
02-14-2005 2:40 PM
02-14-2005 2:40 PM
02-14-2005 2:47 PM
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
02-14-2005 3:09 PM