sap

Creating Purchase Info Record in SAP

帅比萌擦擦* 提交于 2019-12-12 04:02:16
问题 I am trying to create a Purchase Info Record (ME11) in SAP using the below JCo code: It executes without fail and throws no error, but i am not able to get the newly created info record in SAP. In ME13 it says info record not found. Can i know what am i missing? IFunctionTemplate ft1 = mRepository.getFunctionTemplate("ZME_INITIALIZE_INFORECORD"); JCO.Function function1 = ft1.getFunction(); mConnection.execute(function1); IFunctionTemplate ft = mRepository.getFunctionTemplate("ZME_DIRECT_INPUT

Combining SAP scripts with Microsoft Excel Macros

有些话、适合烂在心里 提交于 2019-12-12 03:56:23
问题 I have a sneaking suspicion that this topic has been covered but I have not found an answer that fits, or more to the point, that I understand. I'm still learning a lot, and as a n00b I have a long way to go. We have a customized report that takes a very long time to run in SAP (2 or more hours). The recurring problem is that if I do not act on it just as soon as I can after it completes, the whole system times out on me and I lose everything. My goal is to create something that will run the

SAP HANA Cloud Platform for mobile apps

只谈情不闲聊 提交于 2019-12-12 03:24:25
问题 Can the SAP HANA Cloud Platform be used to deploy mobile apps on its own? Or do I require an on premise SMP Server etc. I followed this tutorial https://help.hana.ondemand.com/help/frameset.htm?e7c9982cbb571014a97a8a675cf28c15.html and created an HTML5 Hello World application. I don't see any options to deploy. 回答1: SAP HANA Cloud Platform allows you to deploy web and java applications. These are not mobile apps. If your requirement is to create a mobile app (hybrid or native) you have to

How to get the button ID of a button in SapToolbarControl?

一世执手 提交于 2019-12-12 02:58:16
问题 I have a SapToolbarControl (MicroFocus) and I want to press a button of that toolbar. However, any of the methods selectButton(), selectContextButton() or pressContextButton() require a parameter called id of type String . I was unable to find out where to get the ID from. I am using Silk4J 16 Hotfix 2 in Eclipse Luna. This also happens in Silk4J 15.5. 回答1: The SAP automation API provides a method called GetButtonId which is not implemented by Silk4J. The method takes the position of the

How to capture File explorer with LoadRunner?

心已入冬 提交于 2019-12-12 02:55:20
问题 my problem is that I have to upload a file using SAPGUI by opening the file explorer in certain moment and SAPGUI protocol isn't able to handle with the explorer. Anyone give me a clue? 回答1: Examine your script very, very carefully for file path which is returned from the file explorer. 回答2: After having talked with HP Support experts, the answer is really simple: is not possible to record any Windows File explorer window by using the SAPGUI protocol. It's not supported. 来源: https:/

SAP classical output report reassigning standard toolbar buttons/scrolling down a page

天涯浪子 提交于 2019-12-12 02:24:45
问题 I have an SAP classical output report that can have a variable number of pages and each page can have variable number of lines. I want to be able to scroll up or down a page at a time. The standard toolbar provides a button for this but this doesn't work as I'm not specifying how many lines to a page - it just scrolls down a few lines instead. Using SCROLL LIST FORWARD 1 PAGES INDEX 0. Achieves the required effect though. Is there any way to reassign the button on the standard toolbar to have

how to read text files from content repository in sap abap

不问归期 提交于 2019-12-12 02:16:33
问题 My requirement is read text files from content repository in sap abap.I used SCMS_DOC_READ FM to read image file and creating url DP_CREATE_URL for creating image url but SCMS_DOC_READ not working for text. Can any one suggest some code, FM or class . 回答1: There are two options based on your requirement: Option 1: Use READ DATASET to read file. DATA : FNAME(60) type c VALUE 'myfile.txt', TEXT2(5) type c. OPEN DATASET FNAME FOR INPUT IN TEXT MODE. DO. READ DATASET FNAME INTO TEXT2 LENGTH LENG.

How to set focus on an Input field in a sap.ui.table.Table

泪湿孤枕 提交于 2019-12-12 02:13:34
问题 I want to set the focus on a input field in a row in the table. How can I read the Id of this row and set the focus? for(var i = 0; i < rowCount; i++) { var oEntry = this.getView().getModel("items").getProperty( oTable.getContextByIndex(i).sPath); if (oEntry.Field1 === sField1){ //Here I will set the focus in an Input field } } Thanks Edit: <columns> <Column width="2rem" sortProperty="Field"> <m:Label text="{i18n>Field}" /> <template> <m:CheckBox selected="{ path: 'items>Field', type: 'sap.ui

Filtering on Nested Aggregation Binding

浪尽此生 提交于 2019-12-12 02:12:46
问题 I want to be able to apply a filter to a nested aggregation binding, but it doesn't seem to work. Here is the XML: <l:Grid id="test" defaultSpan="L6 M6 S6" content="{path : 'test>/', templateShareable:false}"> <l:content> <VBox width="100%"> <HBox height="100px" alignItems="Center" justifyContent="Start"> <VBox alignItems="Center" width="25%"> <core:Icon src="{test>icon}" width="100%" /> <Text text="{test>text}" width="100%"/> </VBox> <VBox id="test" height="80px" items="{path: 'test>data/',

Is it possible bulk insert in HANA?

回眸只為那壹抹淺笑 提交于 2019-12-12 01:23:39
问题 I want to insert into hana by bulk.Currently I am using Java to insert line by line from the result set.Is there a way to insert multiple rows at a time? Is it possible to do? (I do not want import only bulk insert) I searched all over and could not find any good answer.Any help is appreciated? 回答1: For JAVA/JDBC code, there exists the so-called batch interface. Here's an old example that I used for testing: myDBconn.setAutoCommit(false); PreparedStatement insStmt = myDBconn .prepareStatement