Questions tagged [sap-gui]

Questions about SAP GUI, SAP GUI Scripting, using SAP GUI (Calling transactions, setting up in the environment, customizing, etc.)

"SAP Graphical User Interface" (SAP GUI) is a legacy SAP front end tool available for various desktop environments (Windows, Mac, Java) and as an HTML web application.

It also comes with SAP GUI Scripting, an API that allows users to automate repetitive tasks by recording and running macro-like scripts (VBS and others for Windows, JavaScript for Java).

720 questions
0
votes
2 answers

Remove all SAP GUI versions

I'm working on a script to remove all versions of SAP GUI here is what I have $uninstall=Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object displayname -like "*SAP*" | select…
user770022
  • 2,899
  • 19
  • 52
  • 79
0
votes
0 answers

eCATT Error when Starting Replay Session CX_ECATT_APL_CAPTURE CX_APL_ECATT_LINE_INTERPRETER SAPGUI RFC

When I want to replay my script in à RFC target I have this error : Error in eCATT command SAPGUI Error when Starting Replay Session ExceptionClass:CX_ECATT_APL_CAPTURE RaisingClass:CL_APL_ECATT_LINE_INTERPRETER Can you help me ? Best regards.
P. Immo
  • 11
  • 2
0
votes
1 answer

SAP GUI VBA loop through cells of report variant

Maybe someone can give me a hint, I need to loop through the text cells of a GuiTableControl object in a report variant (RSEOUT00) until I find the next empty text cell, and there I need to fill in the content from an Excel…
JonSnow
  • 9
  • 1
  • 5
0
votes
2 answers

VBA Excel SSO to SAP GUI / runtime error 70 "access denied"

I want to start the SAP LogonPad with the .ini file, that works fine. Then after binding to the scripting object I want to open the connection to a specific System with connection = SapGui.OpenConnection("SID", True) but I always get this…
JonSnow
  • 9
  • 1
  • 5
0
votes
3 answers

Recursively get all children of SAP Gui Session in c#

I am looking to loop through all SAP GuiComponents in C# but am struggling to get all the children of children of a GUI session. This is what I have so far (initially passing session.ActiveWindow.Children to nodes): private void…
Danhol86
  • 1,352
  • 1
  • 11
  • 20
0
votes
1 answer

Movilizer for SAP - How to call the same movelet screen repeatedly?

I need to call the same screen (question) repeatedly in a Movelet for filling and send its fields to SAP GUI. The number of calls to the screen will be set dynamically depending on a variable value. Is it possible to do that? How can I do it? Thanks…
David
  • 86
  • 7
0
votes
2 answers

SAPgui script with variables values from Excel

I need to populate dates on fields in SAP which if manually entered is properly captured by the script recorder. Is it possible to update the script dates using a cell link in Excel? session.findById("wnd[0]/usr/ctxtLKO74-PERIO").Text =…
Kevz R
  • 11
  • 1
0
votes
1 answer

Excel VBA pulling data from SAP GUI

How do you pull data from SAP GUI into Excel using a VBA macro? I have data in an SAP system accessible in a few different transactions through the SAP GUI. I need to extract this data on a daily basis, then format it into Excel spreadsheets and…
AndASM
  • 9,458
  • 1
  • 21
  • 33
0
votes
4 answers

Assign Item-ID with loop variable

I'm trying to do a little .vbs-scripting to ease my SAP-workload. I'm starting easy and so first I want to see how many sessions are opened on a specific connection. This is my code: Set SapGuiAuto = GetObject("SAPGUI") Set application =…
Tom K.
  • 1,020
  • 1
  • 12
  • 28
0
votes
1 answer

how to record workflow in SAP using SHDB?

I am currently working front end of SAP application now i am going develop automation process using Excel VBA with BDC, But in my work place most of developing transaction access denied (SHDB, SE38). Is there any online or free sap application for…
Kathir vtv
  • 305
  • 2
  • 7
  • 19
0
votes
0 answers

Critical error in execution LoadRunner Controller with SAP GUI

I am experimenting a rare error when executing an script recorded with LoadRunner Vugen in LoadRunner Controller. Specifically, I am working with Controller SAP and SAP GUI load generators. The error comes suddenly, in the middle of execution,…
T. Sop
  • 1
  • 1
0
votes
1 answer

Can I disable the unhandled exception handler for a process?

I am performing system tests on a SAP system. From time to time, SAP crashes and I'd like to recover from those crashes by resetting the virtual machine to a previously saved state. My problem is that I cannot detect such crashes reliably. I have…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
0
votes
1 answer

SAP GUI for Java 7.30 rev 2 - OS-X - Any way to send a spacebar keypress to a combobox using Javascript

Using JavaScript (Mozilla Rhino JavaScript engine) to script SAPGUI (for Java 7.30 rev 2 on OS X 10.10.5). One thing I'm stuck on is figuring out how to send a spacebar keypress after focusing on a combobox element (with .setFocus() ). I need the…
Masopmac
  • 1
  • 3
0
votes
1 answer

How to find desired field at SAP GUI using VBA

I've recently found out the way below to select the desired TAB (when within a sales order, for instance). For T = 0 To 15 If Len(T) = 1 Then T = "0" & T If SapSession.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_HEAD/tabpT\" & T).Text = "Sales"…
AndroidDev
  • 831
  • 5
  • 17
  • 36
0
votes
2 answers

SAP GUI VBA Reference

I have the following error in a VBA function. It says this is an invalid syntax here: Set SapGuiAuto = GetObject("SAPGUI") Do I need any reference for this? I have SAP GUI 7.30.
bucurvlad
  • 119
  • 3
  • 15