I am working in automation anywhere enterprise client where i have to extract SAP data with the help of BAPI files and dump it to the .csv file, when there is no parameter or filters for selected BAPI then its works fine, but the problem is if we have to pass any parameter or filters its not working and it always generate blank csv file,
How to extract SAP data through BAPI file when we have to pass the parameter values?
i am using Automation Anywhere community edition.
Related
Whenever I change my data provider (from Gherkin to Excel) my features go back to an older version.
Is that an expected behavior ?
How can I overcome this ?
When you use Excel data provider, each run (of robot) copy all data from your Excel file in your feature file.
If you want put all data directly in you feature file, you need choose Gherkin data provider and put all your data directly in you feature file.
I am trying to do a Performance test with Loadrunner on Excel based application which is redirect from SAP GUI.
Loadrunner able to record all the activity perform in SAP application but it's not recording anything for EXCEL.
My main target is to record the excel , For testing the performance of the application.
I also try with QTP and succeed but as I want to conduct performance test, so the script is no use for me.
Any suggestions what protocol to use Or any other scripting language for performance test on excel based application with SAP GUI.
And just what protocol is the excel spreadsheet using to communicate to what type of server? Only when you answer that can you then answer how to reproduce the server communication behavior of your excel application.
On the other hand, if you are simply downloading a spreadsheet, modifying it locally and then uploading the changes without any server communication then you had better dust off your programming skills, download the current excel file format and prepare to make the modifications to the file in code (or have another static one to upload)
I have a lightswitch project in visual studio 2013, using vb.net. I would like the user to be able to click a button and have lightswitch find an excel file, and upload that file to a sql table according to a pre-determined column mapping.
My preference was to use the Office Integration extension for visual studio, which I got working with VS 2013 by downloading it from this link: http://www.ge.tt/71iuRQv/v/0
However, the documentation and examples for office integration seem to be very heavy on getting an excel spreadsheet into a display in the lightswitch web client, rather than into the sql data table, which is where I need it. Here are the examples I've been following:
http://blogs.msdn.com/b/bethmassi/archive/2012/07/18/new-and-improved-office-integration-pack-extension-for-lightswitch.aspx
Alternatively, I have an existing stored procedure, and I can request that the server call this stored proc by sending a web API extension from the client to the server. I have this working already for other stored procs, according to examples from Beth Masi and Paul van Bladel. (Stackoverflow won't let me post the links...)
The undesirable part of this approach is that the stored proc is old, and messy.
I've searched and searched, but have yet to find anyone approach this problem for VS 2013 with lightswitch. Any useful advice?
I've used the method detailed by Matt Sampson to store word files and it works very well. Since it just stores the raw binary it should handle Excel files just as well.
If you're creating the table in LightSwitch, use the Binary Type. If you use SQL create scripts use varbinary(MAX).
You need to create a custom Silverlight dialog box to gain access to the OpenFileDialog object. Then open the file in as a FileStream.
Finally, you need to add a handler for the closed method of the control and then show the control to the user. Most likely done in a button. This needs to be done on the main dispatcher.
The code examples are in C# but I just used one of the many available translators out on the web and copy/pasted the VB.NET code.
Another option might be to consider shelling out to the DTSEXEC run-time to execute an SSIS package to perform the upload - especially if the target Excel spreadsheets have predefined layouts and content data types.
Even simpler, you might be able to use the SQL Server BULK INSERT command to get the job done - although that would require a SQL Client connection to your database.
HTH
I am making a small application that will read .csv files into a newly generated access table (generated with vb.net), I am filling this database with sql and now I would like to output that table as a .dbf file!
I can't find any info on this subject.
I know some of you will tell me to just make the script in vba in access, but there are some functions that require me to use vb.net and the client wants a single .exe file.
There is a forum post here that includes some VB.NET sample code to create a .dbf file and write some data into it. The code uses the Visual FoxPro OLEDB driver (VFPOLEDB) which is no longer distributed with Windows by default, but can be downloaded here.
I would like to know how to retrieve the source code of a SAP BPC package Dynamic Script.
I'll try to explain: in SAP BPC I can write a component called Dynamic Script, I can save the source using the Excel Addin.
The Dynamic Script is associated to a SAP BPC "Package", and is a piece of code that can call an ABAP BADI.
What I would like to know is how this piece of code is stored in BW, how it is linked to the relative package, and how programmatically retrieve it.
Thank you.
In the Microsoft version, there's a DTSX file associated with packages not sure for NW though