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
54
votes
9 answers

How should I start learning about SAP?

I'm working as a MS developer working to provide bridging products between MS technology and SAP. I'm used to the MS space which seems to have an absolutely different philosophy than SAP. And this is starting to be an issue - I can't "get" SAP. So,…
Eli
  • 1,315
  • 1
  • 16
  • 29
25
votes
3 answers

How do I automate SAP GUI with c#

I would like to automate an SAP GUI window using the C# language. I am able to do it in VBScript but code reuse is horrible. Besides Id like to use threading instead of having 80 or more processes running. Where can I find any documentation and…
Luke101
  • 63,072
  • 85
  • 231
  • 359
10
votes
1 answer

VBA general way for pulling data out of SAP

Does anyone know how to use VBA to pull data from SAP Netweaver? I have a number of daily reports that require exporting data from SAP to Excel and formatting it into a report. I have already written working VBA macros that do the formatting. I have…
Kes Perron
  • 455
  • 5
  • 12
  • 24
8
votes
4 answers

Activating (bring to foreground) a specific window with vbscript

I'm not even sure where to start with my question, I tried a hundred things and googled for hours but didn't find anything useful. (I'm open to every dirty trick.) Here's my problem: I have a .hta-file with a listbox that looks like this: It lists…
Tom K.
  • 1,020
  • 1
  • 12
  • 28
8
votes
2 answers

SAPGUI Parse GuiUserArea

Problem! Currently at the place that I work We are trying to perform some kind of repetitive task via automatically with the usage of SAPGui, Excel & VBA. Usually, the most of the reports that We gather from SAP's TCodes are being displayed with a…
Eder
  • 1,874
  • 17
  • 34
8
votes
1 answer

How do I login through SAP GUI using command line

I am trying to login through SAP system through the command line using the SAP GUI command, is this possible? Is there a way to view all the arguments/parameters for the SAP GUI command?
rusty009
  • 836
  • 7
  • 16
  • 30
7
votes
3 answers

win32com and SAP-GUI

My SAP-GUI has Scripting installed and Scripting is enabled. Like in this screenshot: In this Introduction to SAP GUI Scripting in "Step 2: Setup your SAP System" you need to call RZ11. I don't have permissions to call RZ11. Is there a way to…
guettli
  • 25,042
  • 81
  • 346
  • 663
7
votes
2 answers

What type of object is returned by GetObject("SAPGUI")?

TL;DR --------------- If I properly declare the variables in the initialisation script, I can't attach to the "connection" objects of a SAPFEWSELib.GuiApplication . The collection MyApplication.Children(0), is empty but if I comment out the…
Shodan
  • 1,065
  • 2
  • 13
  • 35
7
votes
5 answers

get GuiApplication of running Sap logon vb6 to c#

I have to migrate a vb6 program to C# .net 3.5 the user starts SAP logon and authenticates, then he can use the tool to fetch and insert the data using the tool. The problem: I can create a new GuiApplication object with reflection, but I can't…
Goran Štuc
  • 581
  • 4
  • 15
6
votes
1 answer

UiPath -Error {"message":"Click Text 'SAPTreeList': Cannot find the UI element corresponding to this selector:

I am following the video SAP Automation with UiPath to automate login as a user with valid credentials within a SAP Server. SAP Information: IDES ECC 6.0 incl. EhP7 System Information: I am not using a VM. I use a Intel Core i3 CPU with 64 bit -…
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
6
votes
2 answers

How to select multiple ranges for a parameter WITHOUT first filling all other required parameters?

I'd want to be able to have multiple range selections for "Sales order no." Problem is: when i press the button marked with green, i get the error "Fill in all required entry fields". I put my main processing block at the START-OF-SELECTION…
vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124
5
votes
2 answers

Can Excel Sort Differently Than Its Default U.S. Character Set?

My question is basically the opposite of THIS ONE (which had a database-based solution I can't use here). I use SAP, which sorts characters this way: 0-9, A-Z, _ but I'm downloading data into Excel and manipulating ranges dependent on correct SAP…
wiigame
  • 153
  • 7
5
votes
1 answer

SAP GUI Scripting with SNC/SSO

I'm trying to log in to SAP with SNC connection and with username and password (not automatically) using SAP GUI Scripting. On my connections list there is my destination server with auto logon set to true. I know that it is possible to add the…
Piotr Wojsa
  • 938
  • 8
  • 22
5
votes
1 answer

Extracting Long text Data from SAP into Excel

I am working on a project to pull some data for a process and need to pull the text from an SAP task that is designated as long text. I need to click a button which opens a document that contains the long text as a paragraph. This data is contained…
Jordan
  • 363
  • 4
  • 23
5
votes
3 answers

How to run SAP GUI script from Excel Macro

I am trying to create a Excel macro which executes the SAP GUI Script. I already created the script but I didn't understand how to use that in VBA macro. This is my SAP GUI Script : If Not IsObject(application) Then Set SapGuiAuto =…
Ashique Sheikh
  • 155
  • 2
  • 4
  • 13
1
2 3
47 48