Excel VBA (SAP.Functions) Not working with SAP GUI 7.40
have a Excel VBA which connects to SAP, pulls some data and does some processing on it. It was working fine with SAP GUI 7.20. But it stopped working when I installed SAP GUI 7.40. My code is as below...
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 ArticleCarriage Return on SAP Security Audit Log
Hi, Would like to ask if anyone can help me write a Unix script that will break the Security Audit log into one security entry per line or insert a carriage return per entry which will be written to a...
View ArticleVBA code to get client and system of current SAP window
Hi Gurus, I am creating a tool to automate sap process but i have access to various sap system. Now, i need to know if i am working with a correct SAP system.Can you help me figure out the code to...
View ArticleAdding a variable in the sap script code
Hi All, Below is a part of my excel macro: For i = 0 To 6session.findById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA/ssubSCREEN_HEADER:SAPLALDB:3010/tblSAPLALDBSINGLE/ctxtRSCSEL_255-SLOW_I[1,i]").Text =...
View Articlesapnwrfc a PHP extension for the NW RFC SDK
Hello all - I am looking for help with testing and improving a new PHP RFC extension, sapnwrfc. This is designed to take advantage of the NetWeaver RFC SDK, and hopefully will help deal with unicode...
View ArticleSAPGUI Script in C# not working
Hey guys, I'm coding C# to automate some SAPGUI scripting, and I have this wired problem... Below is the code piece GuiApplication guiApp =...
View ArticleBAPI connection & citrix
Hi All, I have a macro which works fine when I run it from my local computer. Unfortunately, it fails to connect to SAP when I try to run it from SAP as a citrix application. What I mean by "Citrix...
View ArticleIssues running a macro
Hi everyone. Sometimes, when I run a macro on determinated computers, It will throw an error message saying that vba can't find an object.If I logout and login again into SAP, the macro will run...
View Articlescript for attaching file/doc automatically
Hi I am new to scripting and I would like to if there is a script for attaching file/doc automatically to the master article in mm43 or mm03Please share as it would be very useful
View ArticleFB03 Exporting of attachment
Hi guys! I am currently developing a macro tool wherein I can export the attachment of a document using FB03 and saving it in a specific folder. I was able to create one but I have the following...
View ArticleMass composite role assignment to users.
Hi Team, I am trying to write a vb script for assignment of composite roles to users but facing issues for selecting a particular absolute row.Can any one suggest a script for this. We are going to...
View ArticleVBA Code to get the text value of an icon
Good day everyone. I'm currently doing a macro to get the status of hundreds of purchase requisition thru tcode ME53N. My problem now is i can't get the text the valueof an icon if the PR is released...
View ArticleVB coding req for GUITableControl
HIi, I want to run a VB scrift in sap screen, with GUItablecontol field. Below is code of the tabel...
View Article(VB.net) how to press a pressToolbarButton ??
Hello, I access to sap with scripting routine, but, i can't press a "pressToolbarButton", example: session.findById("wnd[0]/usr/cntlPEDI_HDR_CONTAINER/shellcont/shell").pressToolbarButton...
View ArticleNeed help with Excel macro - Exporting SAP data to Excel - Can't control Save...
I want to create an Excel macro that exports columns of data from SAP, exports it to Excel, and then manipulates the data into a pivot table. I have successfully created this macro, except I had to...
View ArticleSave SAP-generated pdf to filesystem
Hello, I am accesing sap from excel-vba and, at some place, a pdf-document is generated and opened in Adobe-Reader. Now, I need to access Adobe Reader and save the pdf-doc. Has anyone already solved...
View ArticleList/Export/Spreadsheet on Script Recording Not saving file name
Hi everyone.I need help .I'm trying to run a complet list from SAP automatically.But I'm stuck in the optionList/Export/Spreadsheet. I need the code for write in the windows popup Save As (from VBS...
View Article[VBA] Reading data in non-editable fields
Hi everyone, I'm looking for a way for my VBA script to read the content of greyed out fields in VA01.Example: Normally I am able to find the path by recording myself editing the cell content in SAP:...
View ArticleScripts to save a PDF copy of a doc from SAP screen to our desktop.
Hi All, I am trying to save PDF copy of invoice from VF03 screen in SAP to my desktop.When i record the scripts for the navigation which i do...it records the script till the print preview screen as...
View Article