Skip to Content
avatar image
Former Member

SAPGUI scripting api dll files list for VB referencing

Hello everybody

i'm working on some SAPGUI frontend automation solution user the SAPGUI scripting APIs

since i'm using in a tight legact windows environnement , i'm developping with visual basic for application VBA and i'm using the standard VBA IDE

However i'm having some trouble to reference the right SAPGUI Front end scripting librairies (DLL) into the VB project

so i can use the IDE intelli sense to developp the code in a more productive way since i'm not fully familiar with the SAPGUI object model yet

So can somebody tell me what is or what are the DLL files needed to be referenced in order to use the SAP Gui classes and objects

despite the fact i importe dall the dll and activex which are already registered with the SAPGUI installation

the SAP GUI Scripting API 7.10 types of classes are not referenced under my project

i can only use them in dynamic bind way without proper beforehand knowledge of each class

for example the standard classes i'm using are

GuiApplication , GuiSession, GuiConnection

GuiUserArea

GuiToolbar,

Guicomponent etc

Set SAPGUI = GetObject("SAPGUI")

Set applicationas = SAPGUI.GetScriptingEngine

If Not IsObject(Connection) Then

Set Connection = applicationas.openconnection("SystemName", True)

etc

Your help will be very much appreciated

thanks in advance

Edited by: sapguitweaker on May 10, 2011 5:36 PM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 11, 2011 at 02:44 PM

    Hopefully i found the answer

    i just referenced the activex file "SAPFEWINSE.OCX" which is part of the SAPGUI Scripting API project SAPFEWINSELIB

    feel free to comment if u have better ideas

    Add comment
    10|10000 characters needed characters exceeded