not able to record script to upload a file into sap.
Hello All, Below is my script to upload a file into SAP. But i am not able to get the script for selecting a file. can one please help me to finish this code. Sub Rectangle1_Click()If Not...
View ArticleTip: How to Add a Button to a Toolbar
Hello community, with the knowledge from here it is not very difficult to manipulate the UI object of the SAP GUI for Windows. In this case I want to demonstrate how to add a button to the first...
View ArticleTip: How to get Handles of Objects from SAP GUI for Windows
Hello community, to locate an object of the SAP GUI for Windows, e.g. like one of the toolbars or the statusbar, you can't use their titles, because none exists. So it is necessary to locate these...
View ArticleAverage of Values from SAP Find Tab to Fill in Excel Sheet
Hi there, I'm trying to search a material name in material master using find page in SAP.Then if no. of hits(occurrences) is >= 3 then whatever values are there for particular material in find tab,...
View ArticleTip: How To Convert a CSV File via a Scripting Language
Hello community, I presented here the possibility how to upload CSV files direct to an SAP table. But after you download the content of a table e.g. via SE16 from one system, it could be necessary to...
View ArticleTip: How To Change the Format of a CSV File To JSON or XML via a Scripting...
Hello community, yesterday I wrote about the possibility to convert a CSV file here. I wrote here about the possibility how to upload CSV files via ABAP direct into SAP tables. Also I wrote here about...
View ArticleTip: How To Concatenate Data Files and Transform It To CSV Files
Hello community, I presented here the possibility how to convert CSV files and here how to change the format to JSON or XML. Last but not least here two scripts how to create CSV files from data files....
View Articleexporting table field to excel using sap gui scripting
Hi All, I am trying to export a table field value from sap to excel i used the the below script as a test for logonthis was working initially but now i am facing an error "Runtime error 429 Activex...
View ArticleHow to define filter and layout for MB56 result
Hi Gurus, I just started to work with scripts, so please do not judge me.Could you please help me to define filter for SAP T_code MB56 result in order to filter result for only specific materials,...
View ArticleOpen SAP in Excel
Dear all, I am new at this forum. I am a general ledger employee at a leaflet distribution organisation in the Netherlands.We work with SAP fico I have a question about script recording in SAP. My...
View Articleupdate sap table using a function module call by php code
Hello,I m trying to update the table VBAP using a function module ZZ_SET_DISTANCE call by a php code.But I have this problem: the saprfc seems to work well but when I look to the table VBAP the...
View ArticleScript for the SAP report - download to excel - problem
Hi allI know that similar problem had already been discussed but going through the solution presented inany of that topic I was not able to be successful (I am beginner in terms of VBA and SAP...
View ArticleSimple Copy/Paste Macro from SAP to Excel
I'm newer to VBA and SAP. Basically I'm using a transaction in SAP that pulls an income statement for multiple business segments so it has multiple income statements. Currently I'm copying and pasting...
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 ArticleHow to detect if the "DB profile" window poped-up or not?
Hello, I'm writing a script for "CJI3" - this is similar to other Tcodes as well-. 1- If the code is not used in this session and the DB profile is not selected I'll have a pop-up asking to choose the...
View ArticleHow to save as "XLSX" file?
Hello, I viewed a couple of old posts regarding this matterhttp://scn.sap.com/thread/3277944http://scn.sap.com/message/15919600#15919600 But i'm not able to resolve the issue.In one of the posts the...
View ArticleLooping script
Good Day! Hope you can guide me on how to do below. I have the VB line and I would like to run the script multiple times - changing the value inside the quotation marks ("")....
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 ArticleScript recording doesn't record save of file
Hi All, I'm new with script recording. I made a recording of the generation of an HTML file of an SQ02 info set. I want to save the HTML file automatically. At the moment the last step is the opening...
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 Article