cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI scripting api dll files list for VB referencing

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

the indicated activex file path is" C:\Program Files\SAP\FrontEnd\SAPgui\"