Running a VB script in SAP
Hi , I would like to know if it is possible to run a .VBS file through SAP. Currently I am using the GUI_EXEC function module to execute a .bat file located in my system. However I would like to make a...
View ArticleTurn off message "Script is trying to connect to SAPGui"
Hi again everyone.I have small simple question.When I connect through Excel VBA to sap: Dim App, Connection, session As ObjectSet sapguiauto = GetObject("SAPGUI")Set App =...
View ArticleSAP GUI Scripting uses wrong Theme
HiI'm using SAP GUI Scripting for automating SAP GUI 720 from another application. It's a c# application that uses Interop.SAPFEWSELib. A user marks one or many documents ids in one system, clicks a...
View ArticleReading out grid to excel
Hello, As I'm new to scripting in SAP (and programming in general) I'm trying to read out an sap grid to excel.Below is my code which is (partly) working, however it only fills 96 lines in excel.I...
View Articlehow to get data from SAP into the excel
Hi all, I need data from SAP to excel using VBA. till now I was able to log into SAP and run the desired transaction I need using excel and VBA now my second biggest Challenge is to export the data I...
View ArticleSAP RFC Can't find interface name IT_ZZTABLE
Hi, I have created a connection to call a web service from php using saprfc connector. But whenever I try to call FM (i.e. using web service) I am getting following error. Warning: CALDBG: Can't find...
View ArticleHow to use Freestyle BASIC Script Language (FBSL) inside ABAP
Hello community,in this forum we only discus how to connect SAP from different scripting languages. We never talk about the possibility how to use a scripting language from the SAP side. I published a...
View ArticleHow to find which users has used external scripting
I want to find out the users who used the scripting for doing any mass changes activity.
View ArticleCheck other Modus is aktually opend, and close Modus
Hello, does everyon know a possibility to check if an other Modus is aktually opend.And if an other Modus is open how can i close the Modus.I cant find any documentation. Regards,Emil
View ArticleHow can i check the right list
Hello, dear helpers, If the User has opend session.FindById("wnd[0]/usr/cntlCC_REP_****/shellcont/shell/shellcont[1]/shell") - This is the wrong list.and the User has marked lines in the wrong list...
View ArticleGuiXT Copytext or VBScript - not allowing to paste values to multiple selection
Hello Guru's of Scripting.We have a requirement to download inspection lot information for 4500+ plants using transaction QA33. We cannot use all plants at a time to get result output. I would like to...
View ArticleHow to populate internal table( varaible of ABAP table type) in Excel VBA?
Hi, I am trying to update a database table from excel using a VBA Macro.I am able to connect to SAP and able to read data from SAP using a RFC. Similarly after updating certain values, i want to update...
View ArticleVBS Script to enter data by scrolling the label.
Hi Experts, A newbie here. I am writing a script to enter multiple roles in the user's roles tab through script. I am able to achieve it partially but it stops when it comes to scroll to the next page...
View ArticleNew Scripting Option in SAP GUI for Windows 7.30 PL 8
Hello community, there is a new SAP GUI scripting option in the SAP GUI logon 7.30 PL8, called "Show native MS Windows dialogs". The help describes it as following:"Since Microsoft Windows' native...
View Articleautomate BOM creation with script
Hi allI'like to create an Excel macro that would upload a BOM for a specific equipment using SAP Script.where i'm struggling right now is on determining the first available position in the ib02 tab in...
View ArticleHow To Execute Any File With GuiXT
Hello community, everbody knows GuiXT - the comfortable library to individualize the SAP screens. It is standard part of the SAP GUI for Windows and you can use it without any problems. You can find...
View ArticleSave SAP report in Excel format into specified drive
Hi Team, I am new to SAP scripting and i have recorded below SAP Script to download a report from SAP in Excel format at specified format.Here issue is that i am not able to record the Save as dialogue...
View ArticleHow to execute one sap gui script in different SAP system component versions.
Hi Experts, I am having a task to write a script which can be executed in different SAP systems , explained as below. I have created a script to do password reset for mass users in one system (TC6)...
View ArticleTip: Write each table with SAP GUI Scripting to a CSV file
Hello community,here is a SAP GUI Script to write each table in a file in CSV (Comma Separated Value) format. Use only one sub callReadTableInFile "SFLIGHT", "C:\\Dummy\\SFlight.csv"in your SAP GUI...
View ArticleHow to make Excel VBA monitor SAP GUI Events?
Dear Community, Is it possible to make VBA monitor events raised by SAP GUI such as CreateSession or DestroySession event? From the SAP GUI Scripting API, we know that this is possible in VBS and the...
View Article