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
1 answer

SAP VBA Popup Close

I am doing an extraction in SAP using Excel. But the files are to large, and constantly I get a popup message saying: "EP0:Maximum Hold Time Exceeed". I deal with popups inside SAP very easily, but I don't know how to handle with this type of popup…
0
votes
1 answer

automatically logging in to SAP as part of a VBscript

I am working in SAP (PR2) and I have a large report that usually takes a long time (2 or more hours) to run. I have to take the output of this report and drop it into Excel to be manipulated and cleansed before bringing it into Access. The ideal…
Paul TIKI
  • 59
  • 2
  • 17
0
votes
1 answer

How to download automatically specific files from SAP with powershell

I currently have a report which runs for local files (already downloaded from SAP) perfectly. The report is built by a written macro, which uses the path of the local files to run. For that reason I have to automatically download these files out…
F. Michal
  • 19
  • 2
  • 10
0
votes
4 answers

repeating script that goes from SAP GUI to Excel and back again

I am trying to build a script that takes the data out of a huge report in SAP application, runs some cleanup in Excel, and then load it into Access. At least, that is my eventual goal. The data in SAP is a bit polluted, which is why we are…
Paul TIKI
  • 59
  • 2
  • 17
0
votes
3 answers

vba code to copy a column from sap window and paste the values in excel sheet

I have a VBA code that scripts some SAP transactions then select a whole column from a grid on SAP GUI. I am successful till here but I want to copy the column and paste it in an Excel sheet, but I can't do that. I tried to open the context menu to…
yehia badr
  • 1
  • 1
  • 2
0
votes
0 answers

Can a VBA script read SAP GUI errors?

I'm not hopeful, but I'm wondering if there is a way to for a vba script to identify what error is being thrown by SAP GUI. For example, if a transaction is locked by another user. Currently, if this error pops up, the script thinks nothing of it,…
bbadgett
  • 70
  • 1
  • 7
0
votes
1 answer

SAP GUI VBScript scripting not running

Perhaps someone with experience in SAP GUI and VBScripts can help me. I am trying to run the following VBScript in SAP GUI If Not IsObject(application) Then Set SapGuiAuto = GetObject("SAPGUI") Set application =…
user3452550
  • 41
  • 1
  • 5
0
votes
1 answer

Combining SAP GUI scripts with Microsoft Excel Macros

I have a sneaking suspicion that this topic has been covered but I have not found an answer that fits, or more to the point, that I understand. I'm still learning a lot, and as a noob I have a long way to go. We have a customized report that takes…
Paul TIKI
  • 59
  • 2
  • 17
0
votes
1 answer

JavaFX error while accessing SAP GUI on centOS

I have installed SAP GUI 7.40 for linux on client computer including JRE 1.8.0.04 but when I try to access the GUI it gives error: The system requirement are not meet. Your Java Virtual machine does not support javafx required to run the SAP GUI…
0
votes
2 answers

Algorithm for finding end of a list (SAP GUI)

I'm writing a script that adds elements to a list in a SAP GUI screen. Now, it seems that when using SAP GUI, nothing "exists" unless it is actually on screen, so the first step involves finding the end of the list. I accomplished this by scrolling…
bbadgett
  • 70
  • 1
  • 7
0
votes
0 answers

Web browser component javascript behaves like IE8, but in user agent says IE10

We have a SPA application which should be shown in SAP HtmlViewer Component (http://help.sap.com/erp2005_ehp_04/helpdata/en/c9/147a36c70d2354e10000009b38f839/content.htm). According to docs the component should use the system browser, which is IE10…
Ondrej Peterka
  • 3,349
  • 4
  • 35
  • 49
0
votes
2 answers

How to pass variable row to session.findById?

I need to loop at this section and overwrite the x marked positions with my variable x value but if I use it as it is shown in the code below, nothing happens. If I enter any value like 1 or 2 instead of x it works. How can I use a variable instead…
Stephan Koob
  • 1
  • 1
  • 2
0
votes
1 answer

Using SAPGUI in excel/VBA, Why does changing the .VerticalScrollbar.Position of a GuiTableControl breaks the object "connection"?

First my test code Sub mytest2() If Not IsObject(MyApplication) Then Set SapGuiAuto = GetObject("SAPGUI") Set MyApplication = SapGuiAuto.GetScriptingEngine End If If Not IsObject(Connection) Then Set Connection =…
Shodan
  • 1,065
  • 2
  • 13
  • 35
0
votes
1 answer

SAP GUI script using Access without having to open SAP GUI

I want to control SAP GUI from Access to print a barcode label just by pressing a button in Access. Currently I have a script that only works if SAP GUI is open: session.findById("wnd[0]/tbar[0]/okcd").Text ="pickLabel"…
Ana
  • 1
  • 1
0
votes
0 answers

Skipping waiting for OLE action to complete

I am currently trying to run 6 transaction in SAP from a VBA code, but the waiting time is too long, because VBA starts the transactions one after another. I am therefore interested in starting all 6 transactions at the same time, to minimize the…