sap

SQL Server better way to iterate through millions of rows

女生的网名这么多〃 提交于 2021-01-27 23:16:49
问题 I am working with SAP Timesheet data, so there are millions of rows. What I am trying to do is select the data from the SAP table and insert it into a table on MS SQL Server. So I want to insert the original record, then if an update to the original record happens, which is in the form of a new SAP record with a refcounter , I want to find the original record in my table and update it, keeping the original counter value. So I have done this successfully with a cursor (I know not the best),

SQL Server better way to iterate through millions of rows

拈花ヽ惹草 提交于 2021-01-27 22:02:52
问题 I am working with SAP Timesheet data, so there are millions of rows. What I am trying to do is select the data from the SAP table and insert it into a table on MS SQL Server. So I want to insert the original record, then if an update to the original record happens, which is in the form of a new SAP record with a refcounter , I want to find the original record in my table and update it, keeping the original counter value. So I have done this successfully with a cursor (I know not the best),

Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies

放肆的年华 提交于 2021-01-27 12:51:31
问题 I am getting this error since last 2 days in my Server where i had hosted application. I had already tried most of the scenario mentioned here. but not getting anything. Here is my stack trace - [FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.] CrystalDecisions.Shared.SharedUtils..cctor() +0 [TypeInitializationException: The type

How to return SAP error message in excel cell through VBA?

泄露秘密 提交于 2021-01-07 02:30:57
问题 I wrote an automation script that uses the following SAP GUI: objSess.findById("wnd[0]").Maximize objSess.findById("wnd[0]/tbar[0]/okcd").Text = "flqaf" objSess.findById("wnd[0]").sendVKey 0 objSess.findById("wnd[0]").sendVKey 17 objSess.findById("wnd[1]/usr/cntlALV_CONTAINER_1/shellcont/shell").CurrentCellColumn = "TEXT" objSess.findById("wnd[1]/usr/cntlALV_CONTAINER_1/shellcont/shell").SelectedRows = "0" objSess.findById("wnd[1]/usr/cntlALV_CONTAINER_1/shellcont/shell")

How can I write SAP GUI SCRIPT for a SAP pop up window

痞子三分冷 提交于 2020-12-15 07:02:42
问题 I would like to have your help in order to find the solution for the following. I would like to extract SAP standard invoices to PDF files. The steps are VF03 - insert billing doc - Menu: Billing Document - Issue output - select the line - print preview - PDF! + and then I have the pop-up window below. In the pop up window I would like to press the 'SAVE button' and then save the file with specific filename, which I have already copied to clipboard. The code is the following SESSION.findById(

How to read row details of a GuiTree control using GUI Script

与世无争的帅哥 提交于 2020-12-12 07:53:27
问题 I need to read a specific column value of the last row of the below Variant table in SAP. When I record the script to navigate through the rows of the table, I get below lines. I need to extract specific cell value. Manually, I can copy and paste the content of the row to note pad. But, I am unable to figure out how to read the content of the specific column or entire row. I have been trying different ways: session.findById("wnd[0]/usr/subTABSTRIP:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB06/" _ &

How to read row details of a GuiTree control using GUI Script

一笑奈何 提交于 2020-12-12 07:53:22
问题 I need to read a specific column value of the last row of the below Variant table in SAP. When I record the script to navigate through the rows of the table, I get below lines. I need to extract specific cell value. Manually, I can copy and paste the content of the row to note pad. But, I am unable to figure out how to read the content of the specific column or entire row. I have been trying different ways: session.findById("wnd[0]/usr/subTABSTRIP:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB06/" _ &

Read ALV changes after user input?

谁都会走 提交于 2020-12-08 02:22:47
问题 I've got a report which outputs the data of my internal table via an ALV grid. The output itself consists of some information and two check boxes for each row. The user can check these boxes if necessary and now I need to read the table back in order to know what boxes were checked. The corresponding rows will be processed differently afterwards depending on which of the two boxes got checked. I already tried the method get_actual_view , which I don't know how to use correct and the method