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

How to display WebDynpro ABAP in ABAP report?

I've just started coding ABAP for a few days and I have a task to call the report from transaction SE38 and have the report's result shown on the screen of the WebDynPro application SE80. The report take the user input ( e.g: Material Number,…
pandaDev
  • 41
  • 2
  • 8
0
votes
1 answer

Access SAP GUI for a linux

I have SAP installed on linux and SAP GUI is on Windows. For the SAP setups that are installed on windows, I had installed Webdynpro and I am able to access them with the GUI. But for linux, I am not sure what configuration has to be done for SAP…
Nida Sahar
  • 698
  • 4
  • 13
  • 29
0
votes
1 answer

How to get the button ID of a button in SapToolbarControl?

I have a SapToolbarControl (MicroFocus) and I want to press a button of that toolbar. However, any of the methods selectButton(), selectContextButton() or pressContextButton() require a parameter called id of type String. I was unable to find out…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
0
votes
2 answers

VBS to export data out of SAP transaction code FBL5N

I have recorded an script which makes the Save As dialog pops up, in transaction code FBL5N. However I cannot use any command such as sendkey. I need a code to provide a file path and file name. so far I have the below code: (coming from SAP script…
0
votes
1 answer

How to start transaction with /dsd/ code in SAP easy access?

How can I start transaction in SAP easy access using jScript with code which contains /dsd/, like /DSD/DE_ENTRY? In other cases it seems like session.StartTransaction("VT01N"); But it won't work with /dsd/ tCodes.
Rundom
  • 87
  • 1
  • 7
0
votes
1 answer

SAP GUI Script: Set focus on Input Field in order to SendKeys

In my SAP GUI VBS Script, I want to paste the Clipboard to an Input Field. I use WshShell.SendKeys "^V", but it does not do anything and I suspect this because the Input Field has no focus. So far my best guess was to "write" empty text into the…
A BC
  • 3
  • 2
  • 5
0
votes
2 answers

How to capture File explorer with LoadRunner?

my problem is that I have to upload a file using SAP GUI by opening the file explorer in certain moment and SAP GUI protocol isn't able to handle with the explorer. Anyone give me a clue?
AJL
  • 11
  • 3
0
votes
1 answer

In SAP how can I get the real IP address of a user connecting via VPN

Here is the scenario. a User accesses enterprise SAP system on the intranet by logging onto the intranet via VPN. The SAP needs to know the real user IP (not the one that VPN assigned to him). How can we find the real IP address? Does the VPN pass…
0
votes
0 answers

SAP data access through .NET application

I need a targeted set of data out of SAP ERP system (SAP GUI TCode MB51). I know there are better paths to get at the data, but my rights are very limited. I can't call BAPI transaction to interrogate the BAPI calls. I've been able to automate…
crosbb
  • 1
0
votes
4 answers

How to send a request from JavaScript without base URL? (SAP GUI)

EDIT taken from OP comment: "we're using the classic SAPGui [ed: not the SAPGui for HTML]" I'd like to send a request to a simple URL from my JavaScript, so that the base URL will NOT be added to the request URL. For example, the request should be…
krm
  • 2,074
  • 2
  • 18
  • 21
0
votes
1 answer

Unable to record Excel sheet in Loadrunner

I am trying to do a Performance test with Loadrunner on Excel based application which is redirect from SAP GUI. Loadrunner is able to record all the activity perform in SAP application but it's not recording anything for Excel. My main target is to…
0
votes
1 answer

if setfocus or if activecontrol

I need help. What is the correct way? Is the syntax correct? If Not session.findById("wnd[0]/usr/tabsTABSPR1/tabpSP20/ssubTABFRA1:SAPLMGMM:2000/subSUB2:SAPLMGD1:2701/txtMARD-LGPBE").ActiveControl Then Cells(x, 5) = "" End If or If Not…
0
votes
1 answer

AppActivate window focus

I've been searching the web for solution on how to have window focus in AppActive, but was not able to find what I need, or at least understand. In short, my code does changes in SAP system and then saves, which then later generates pdf via default…
Trm
  • 479
  • 2
  • 9
  • 22
0
votes
0 answers

Open SAP screen from ASP.NET aplication in IIS

I have an ASP.NET application which deals with the SAP server to exchange information. There is a need of opening the relevant SAP screens in several occasions. I have managed to do it in IIS express (in VS 2012) but when I hosted in the IIS, an…
Anjana
  • 25
  • 6
0
votes
1 answer

How to automatically click on open file button running VBA procedure

I am looking for a way to click on a button 'open file'. I wrote an Excel VBA macro that connects with SAP module. What it should do is to add a file as an attachment in SAP. As a result I get pop-up window, just a standard Windows "open file"…