Skip to Content
avatar image
Former Member

SAP Release details

HI,

Can anybody tel me in which table we can find the SAP release details.

Thank You.

Regards,

Soumya

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 20, 2010 at 10:45 AM

    Navigate deeply through fm STATUS_ANZEIGEN you will get all the below details

    Check system variable sy-dbsys for DB name

    fm SLIC_GET_LICENCE_DATE for license date

    fm SLIC_GET_LICENCE_NUMBER for license number

    fm UPG_GET_COMPONENT_RELEASES will get your component releases and the texts from table cvers_txt"<---

    DATA: BEGIN OF status_info,
            machinetype(10)    TYPE c,
            system_id(10)      TYPE c,
            database_host      LIKE sy-host, 
            database_owner(10) TYPE c,
            database_text(20)  TYPE c,
            database_name(10)  type c,
            database_release(10),
          END OF status_info.
    
    DATA: BEGIN OF VERSION_INFO OCCURS 0,
              LINE(80),
            END OF VERSION_INFO.
    
    CALL 'SAPCORE' ID 'ID' FIELD 'VERSION'
                    ID 'TABLE' FIELD VERSION_INFO-*SYS*.
    
    READ TABLE VERSION_INFO INDEX  3.
    STATUS_INFO-MACHINETYPE = VERSION_INFO-LINE+21(10).
    READ TABLE VERSION_INFO INDEX  5.
    STATUS_INFO-SYSTEM_ID = VERSION_INFO-LINE+21(10).
    
    call function 'DB_DBNAME'
     importing dbname = status_info-database_name.
    call function 'DB_DBHOST'
      importing dbhost = status_info-database_host.
    call function 'DB_DBSCHEMA'
      importing dbschema = status_info-database_owner.
    CALL FUNCTION 'DB_GET_RELEASE'
      IMPORTING RELEASE = STATUS_INFO-DATABASE_RELEASE.
    
    *--Server name
     call 'C_SAPGPARAM'
        id 'NAME'  field 'rdisp/myname'
        id 'VALUE' field servername.
    

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 17, 2010 at 12:59 PM

    What details exactly are you looking for?

    CVERS for ABAP systems,

    BC_COMPVERS for Java systems.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you Joe for reply.

      I am looking at a table which stores the details about the SAP release like the date of SAP 4.7 release, ECC6 etc. Is there any table which stores such information?

      Thank you.

      Regards,

      Soumya