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

Print button didn't save the PDF file at a shared path, and no error logged

I have an Excel macro that uses SAP for printing data in pdf format. Steps: it access the SAP transaction which provides a table with the necessary information it press Print button (from the Menu Bar of SAP) then Print window appears (from here…
Madalina
  • 101
  • 6
0
votes
1 answer

VBScript for terminating SAP generated Workbook Spreadsheet

Can somebody help with this script I am using for closing/terminating SAP Workbook? This worked for a long time until the time that the company updated our MS Office to a new version (MS Office 365 ProPlus). The intention of this code is to force…
0
votes
0 answers

SAP GUI Script & VBA: Get System Name / ID

I have already created a gui scripting to automate some task. Now, there is a part where I needed to get the SAP system ID / Name. I need get the system ID / Name where the user is currently logged on. Currently I am using Q4N. So far below is my…
Sevpoint
  • 213
  • 1
  • 8
  • 26
0
votes
1 answer

Access Denied Error when connecting to SAP Logon through Blue Prism

Created SAP Logon object using Win32 spying. Elements were identified correctly but when I try to run the bot, I get an access denied error shown below. Any idea what's going on and how I can fix this?
CarbonD1225
  • 851
  • 6
  • 24
  • 39
0
votes
2 answers

C# SAP automation using "SAPFEWSELib". How do I press a button from a drop down list?

I use SAPFEWSELib to automate SAP. I have a problem to press a button from a drop down menu "as I guess :) ". This code is auto generated by a SAP GUI script record. I need to reproduce this in…
Emad Ali
  • 447
  • 1
  • 6
  • 11
0
votes
2 answers

Find each cell value of a range in SAP table (gridview)

I'm trying to look for a specific text from my excel file to a SAP table. I have tried below code but it gives me error "Invalid Next Control variable reference" So far below is my code: set rLastRow = rSheet.Cells(rSheet.rows.Count,…
Sevpoint
  • 213
  • 1
  • 8
  • 26
0
votes
0 answers

Why does my for loop not respect the conditional?

To run a SAP GUI data extraction script, I am comparing the modification time of a file with the current time with the for loop, to find out if the file is update. But the loop is infinite, and is not respecting the conditional of the for loop. I…
0
votes
1 answer

Error while saving PDF file in SAP GUI Loadrunner

I need to record a SAP GUI Loadrunner script to save a PDF file. It's working fine until I preview the file. But when I use the tcode PDF! To do a save as in my system it's displaying Acrobat reader failed. Close the program.
Raj
  • 57
  • 7
0
votes
2 answers

SAP GUI script: search text in ALV List (ABAP List)

I'm currently creating an automation script where data from Excel will be searched in SAP GUI ALV List. I will be looping to the rows that, if it will match anything in the columns "Assignment", "DocumentNo" and "Quantity" to the "textToFind" in…
Sevpoint
  • 213
  • 1
  • 8
  • 26
0
votes
0 answers

VBScript loop in Excel to enter in SAP GUI

I need to get values from an existing Excel sheet and transfer them t SAP GUI. This is done by an vbscript and works. But I need to get a loop this is where I am struggeling. The loop should start from the second line. The code below is not…
Marek
  • 1
  • 1
0
votes
0 answers

VBA macro across the Excel instances

Good Afternoon, I have a problem with VBA macro. I am trying to download data automatically (with macro) from some SAP software. All is going well to situation when downloaded data are exported to Excel file. I cannot "reach" this workbook with…
0
votes
1 answer

opening sap and then proceeding to login screen through c# Automation

I am trying to open SAP GUI and connect to the SAP system using the following code. I had to remove the earlier post due to some mistakes in post. I want to open SAP Logon 7.30 screen and then proceed to logon screen where I want to login using some…
0
votes
1 answer

SAP - Autologoff ignores scripting action

I automated our SAP system using SAP Gui Scripting. After 30 minutes where the script works, our SAP system logs off (auto-logoff) because it doesn't recognize the activities of the script. Is there a parameter to change this? Don't missunterstand…
Jan021981
  • 521
  • 3
  • 28
0
votes
1 answer

Spying in Blue prism

I am using SAP mode for spying the elements in SAP GUI. I want to click on a label in which label will be the input parameter. For instance, if I pass "Customer", then Customer label should be clicked. But label text field comes under Informational…
Prabhakaran
  • 23
  • 1
  • 6
0
votes
1 answer

Import data from transaction CKIS

Does anybody have any knowledge of how to extract data from SAP system through VBA? I would like to extract data from eg. CKIS (product costing). It would be helpful with any kind of code, that would connect me to SAP system.