Skip to Content
author's profile photo Former Member
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



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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.