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

Obtaining the SDK version

Are there any methods inside the UI or DI SDK's which return the version of the SDK? I would like to impose restrictions on any add-ons I develop so they would only run if the SDK was a minimum version number or higher.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2004 at 12:03 PM

    Hi,

    There is no such function for UI or DI.

    yet there is a way to get this info from the DLL / EXE files

    Look for the files:

    SAPbouiCOM.exe - UI API

    SAPbobsCOM65.dll - for version 6.5 MR

    SAPbobsCOM.dll - for version 6.2 MR

    Using the Microsoft fileysytemobject query the version of these files

    you can also look in the files properties for this info.

    Since both DI & UI are backwards compatible I'm not sure why you need this info.

    in order to assure that the minimum version is XXX - just say so in the release notes.

    Best regards,

    Yaniv G.

    SDK Consultant,

    SAP Manage Israel.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2004 at 05:35 AM

    Hi Lita

    If you are setting up your AddOn with a .NET Setup Project, this .NET Setup Project can test whether the client environment contains the files and file versions (.exe, .dll, ...) needed by your AddOn.

    Add comment
    10|10000 characters needed characters exceeded