Skip to Content
author's profile photo Former Member
Former Member

Which version ?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Feb 14, 2005 at 02:40 PM

    Try sy-SAPRL!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 14, 2005 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 14, 2005 at 03:09 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.