Execute an Excel-file via SAP VBS
I am starting usind VBS with SAP. I have some experience with VBA for Excel.So I have written a Excel-Makro which I can run via a URL-Link in SAP. This works perfect for me, but how can I get it run...
View Articlesap script
Salve a tutti, ho la necessità di creare uno script per sap gui, ma quando immetto il seguente codice: If Not IsObject(application) Then Set SapGuiAuto = GetObject("SAPGUI") Set application =...
View ArticleSAP GUI Scripting: F-03 Multiple Doc's
Dear Experts, I need to clear thousands document in F-03. Because I can't change assignment, reference in FBL3N and I can't use document number.I only can serch them by text. But one time only can copy...
View ArticleCopying cell value from excel into SAP
Hello I am new to this so excuse me for any mistakes I make ahead of time. I was wondering if there was anyway I could take a value from a given cell in excel and input it into a field in SAP. Here is...
View ArticleDownload SAP Report in Spreadsheet Format with automatic Save As selection
Hi All, I'm using an Excel sheet that links up to SAP to grab some data off of QE03. Due to the nature of my data, I have to save the data into Excel/Spreadsheet format (aka this button ) BUT, when...
View ArticlePHP 5.2 and saprfc 1.4.1
Hey all, Has anyone tried hooking-up PHP 5.2 and saprfc 1.4.1?I tried but getting this error message when I restarted my apache 2.0.54 :<i>"<b>PHP Startup: saprfc: Unable to initialize...
View ArticleWhat is SAP actually?
Hi all, I am a newcomer in SAP field. I have a task which my boss asked me to find a way to copy and paste fields in Excel 2010 into SAP. The point is, I am zero-knowing in SAP and I have try to...
View ArticleInputbox is not active
Hello, in a vbs script I want the date to be entered:DatumAnfang = Inputbox("Datum der Abfrage (TT/MM/JJJJ)?")It works perfect with one little problem: even when the inputbos appears it's not active. I...
View ArticleCreating pdf and attaching to email
Hello, I am trying to write a script to help manual work and am stuck at below point: When click save in SAP I get pdf document generated (nhremote). What I would like to do is to somehow automatically...
View ArticleChecking an object exist in SAP
Hi All, I'm trying to check if a print box exists in VBA, so the code can continue executing.But I don't know how to check if the object exist and I get an error in VBA "control can't be found by id"...
View ArticleTransferring data from Excel to SAP
Hi Experts, My purpose is to update customer prices from Excel to SAP automatically with a script. My problem is: I dont know how to call a certain Excel-file? If I record a script that opens...
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 ArticleReferring to an Active Excel Workbook in VBS
I have a .vbs script which works great. When it runs it opens an Excel workbook in these lines: Set xcl = CreateObject ("Excel.Application")Set wbk =...
View ArticleUsing excel data as VBS output
Hi there, i've been looking over the net trying to find solutions on how I can use excel data variables copied to vbs script and launched, but couldnt manage to make it work, so I hope someone can help...
View ArticleLogon to SESSION MANAGER in SAP with VBA
Hi...I have Excel macro which extract data from SAP using transaction code via session manager , so when run this macro it's should manually log onto sap first then pop up session manager , the macro...
View ArticleIdentifying tables/popups in SAP
Hello, I would like to know how I can identify object that appears in SAP. Based on data entered I have different situations where tables popup. Currently as a work around I just write button clicks...
View ArticleHow to get a correct row count in SAP table?
Hello, I've been struggling to have a correct row count in my orders. Sometimes I can have from 1 to 50 items in it. I was only get row counts that includes all rows and only visible row count that can...
View ArticleProblem with SAP logon by VBA
Hi, I'm new in the community and I'm also new with SAP, so sorry for any errors.For my work I need to open SAP by excel (VBA); and I have found the code below but it don't work. Sub Work()Set app =...
View ArticleExcel VBA + SAP Scripting / How can I send an instruction to a background...
Hello guys, I need to send keys to a window in the background, but I don't want it to pop up when I do it as it may cause some errors if I'm typing something at that moment. Is this possible? The...
View ArticleThe control could not be found by id
Helloeveryone, Ineed helpinvbscodebelow, I am trying to runbutalways have problemsinbold lineand the messagein SAPis"The control could not be foundbyid", I count on your helpto solve thisproblem.Thank...
View Article