Open and LOGON on SAP with Excel Macro
Hi, i am trying to start SAP from excel VBA and input my information, like Log in, user name, password, etc. To sum up, SAP is not open. I want to open it by clicking on the macro it will also input...
View ArticleMacro said I am log in SAP, but actually not the case...
Hi, I have this macro that work and tell me that i sucessfuly log on in SAP. Dim sapConn As Object 'Declare connection object 'added Set objshell = CreateObject("WScript.Shell") Set objapp =...
View ArticleUpload several documents SAP
Hello experts,I am devolping a code to automate the solped creation process (particulary in proyects) (me51n) however i have reached an impass, because acoording to the enterprice rulebook we must...
View ArticleSAP logON connection not found error.
I get SAP Logon connection not found error 1000 when i run this into excel. any help? Set SAPGUIApp = CreateObject("Sapgui.ScriptingCtrl.1") Set SapGuiConn = SAPGUIApp.OpenConnection(".vcm global...
View ArticleEXCEL VBA Vs SAP: Copy text from textbox to LongText in SAP- Hash sign #
After a year hello again.Im here to ask You for help. Today I hope it is quite simple, but Im stuck...: I have automation on sending data from excel - textbox- to orders LongTexts in -SAP. Im using...
View ArticleOrder Group import file
Dears, I try to import order group using import option.Could you provide how should look like flat file or something like this ?How can I do this?I use KOH1, KOH2, KOH3 transaction. Script Man Thanks,Luc
View ArticleMessage box if sap session is not open
Hi SAP Experts, I am new to SAP Vbscript. I have created a vbscript in SAP. My scripts extract the data from FBL1N and save it into a folder as .xls formate. Before run this VBscript I have to open SAP...
View ArticleScript to tell if document has an attachment in SAP
I would like to write a script to check if our MIRO and FB60 documents have an attachment. I would prefer a system report, but our IT group has not been able to provide this. I have reverted to...
View ArticleHow to return the window/screen name in GUI scripting
I'm starting out with SAP GUI scripting. I'm driving the scripts from Excel, which works well. I haven't found a reference book that explains the objects, methods and properties available in SAP GUI...
View ArticleStart recording directly from Excel
Hello! I was thinking of developing a script for developing scripts.. The idea is as follows; A button in a Excel spreadsheet that when you click it, it opens a logged in-session of SAP that already...
View ArticleSAP GUI Scripting trying to paste screenshot of SAP to excel...
Dear Experts, I have been trying to access the clipboard for screenshot of SAP copied through "session.findById("wnd[0]").HardcopyToMemory" and pasting the same in an Excel Sheet. I have been trying...
View ArticleMulti-threaded scripts for SAP?
We attach scans of invoices to our AP documents (MIRO and FB60s). We have to check these documents on payment and it is taking a long time because the script we are using pauses as SAP pulls up the...
View ArticleHow to create Excel Macro for user creation(su01)
hi All , Can you please share the the Macro code for modifying/create user account ?Is it a secured way ,please suggest?Please let me know the same for STAD log fetching also . Thanks,Anusha
View ArticleGet "Cannot create ActiveX Component" trying to use scripting from VB.Net
In the past, I wrote an application under WinXp using VB2005 to call the GUI scripting functions from VB.NET. This worked fine for many years. I now need to update it and am running Win7 x64 using...
View ArticleAttaching document via script
Related to my last question... We attach scanned images to many of our SAP documents via a script. We know the path name and the filename of the attachment, but we still have to manually find the...
View ArticleVBA \ VB.NET error capturing logon manager
I want to make the opening and starting of my SAP Script flawless if thats possible.. this will login for me all good, but I want to make sure ever option has a 'error check' so from the beginning,...
View ArticleChange ME22N confirmation key fail
Hi Dears,I want to change confirmation key, and input confirmation automatically, but when I tried to run SAP script it always failed on this line.This is to check if confirmation control is blank, if...
View ArticleSAP GUI scripting interference at the middle is possible ?
Hi SAP GUI scripting experts, When I use SAP GUI scripting for role editing, it sometimes stops with error because it cannot find the authorization object in the right location. It is understandable...
View ArticleHow to achieve a set of unix commands in SAP without writing code
Hi All, I want to achieve following set of commands of unix in SAP. I don't have UNIX access so have to achieve these in SAP. Cd /usr/sap/data/acd/xyz/Rm acd1000dApprove with Y./acd1000x First three...
View ArticleRecording SAP Script via Excel VBA
Hi, Just a question, if I wanted to record a SAP Script VB, without having to go into SAP and click on Alt+12 -> Script Recording and playback -> Record button, is it possible to do this via...
View Article