Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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



Guicomponent etc

Set SAPGUI = GetObject("SAPGUI")

Set applicationas = SAPGUI.GetScriptingEngine

If Not IsObject(Connection) Then

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


Your help will be very much appreciated

thanks in advance

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

Former Member
Not what you were looking for? View more on this topic or Ask a question