sap

How does jQuery.sap.require work?

陌路散爱 提交于 2019-12-01 11:49:17
Does SAPUI5 load the libraries each time I call jQuery.sap.require("someLibrary") ? For instance if I am calling the above statement in multiple modules in my application, is "someLibrary" loaded multiple times also? The lib is only loaded once. You can find this information in the SDK https://sapui5.hana.ondemand.com/sdk/#docs/guide/ModularizationConcept.html Module Loading As mentioned already, modules are loaded by calling function jQuery.sap.require with the name of a required module. The framework then checks whether the named module is loaded already. If so, the function simply returns.

pywin32 / pywinauto not working properly in remote desktop when it is minimized

蹲街弑〆低调 提交于 2019-12-01 11:30:24
I have a Jenkins pipeline that executes a program in a remote server that uses pywin to manipulate an application for functional tests. My application works great while I have the remote desktop oppened but when I close the remote desktop and run it from Jenkins, the app gets lost. What I do is to open the app and send an enter key. This is my app: os.startfile("C:\\Program Files (x86)\\SAP\\FrontEnd\\SAPgui\\saplogon.exe") time.sleep(5) handle = win32gui.FindWindow(0, "SAP Logon 740") keyboard = Controller() keyboard.press(Key.enter) So I tried to add focus to the app to force the focus

SAP .Net Connector 3.0 - How can I send an idoc from a non-SAP system?

自古美人都是妖i 提交于 2019-12-01 10:24:53
问题 I am trying to use the .Net connector to send data to an SAP system. I have been able to send calls to RFC function module quite easily but there doesn't seem to be any way to send a standard Idoc directly. This is quite weird because Idocs are supposed to be the standard communication tool to talk with SAP. Has anyone found if/how it's possible to do it? 回答1: As far as I know there is currently no development library offered by SAP for the .NET Connector (NCo) for dealing with IDocs. If you

SAPUI5 Set Focus on Input Field

耗尽温柔 提交于 2019-12-01 09:00:45
i have the following Problem: I have 2 XML Views with a few input fields and at navigation to the second view the focus should be on the 5th(ID = "RueckmeldeNr") field. I tried several things but nothing worked.. If i use the jQuery delayedCall the focus shortly flashes on the input field but is instantly set to the NavBack Button in the upper left corner. Do i use the method false or forget something? How can i solve this? onAfterRendering : function(oEvent) { oInputRueck = this.getView().byId("RueckmeldeNr"); // this.getView().byId("RueckmeldeNr").focus(); // this.getView().byId(

SAP JBOSS issues with jar

醉酒当歌 提交于 2019-12-01 08:27:33
问题 I am trying to connect my j2ee application with SAP using ABAP function calls. When I run it as a single class in eclipse with hot coded values , it works fine. When I try to run it in JBoss server , where I am getting some values from my front end and passing it to my java class which is the same class I referred before, it shows this following exception java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class

pywin32 / pywinauto not working properly in remote desktop when it is minimized

自作多情 提交于 2019-12-01 07:30:02
问题 I have a Jenkins pipeline that executes a program in a remote server that uses pywin to manipulate an application for functional tests. My application works great while I have the remote desktop oppened but when I close the remote desktop and run it from Jenkins, the app gets lost. What I do is to open the app and send an enter key. This is my app: os.startfile("C:\\Program Files (x86)\\SAP\\FrontEnd\\SAPgui\\saplogon.exe") time.sleep(5) handle = win32gui.FindWindow(0, "SAP Logon 740")

SAP 接口测试实战 Web Services , REST JSON, ODATA

穿精又带淫゛_ 提交于 2019-12-01 07:24:13
SAP 接口测试 Web Services , REST JSON, ODATA 实际项目中经常要调用其它系统的接口,常用的有Web Services , REST JSON, ODATA等。 如何简单直接的确定SAP系统是不是能成功调用呢? 辛苦把代码写出来,结果发现调不通,或者各种报错。 折腾多次还是没有成功,要不要双方互相扯皮,或者PK? 到底是对方接口有问题还是自己写的代码有问题,甚至是SAP根本不能调用? 调用失败到底是什么原因?各种猜测,找不到北... ... WebXml.com.cn 火车时刻表 WEB 服务提供:站站查询;车次查询;车站所有车次查询。本火车时刻表 WEB 服务提供的列车时刻表数据仅供参考,如有异议以当地铁路部门颁布为准。 使用本站 WEB 服务请注明或链接本站: http://www.webxml.com.cn/ 感谢大家的支持! 其实SAP有标准的测试工具,如下图 其它常用工具有, SoapUI , PostMan , XMLSpy 等 ~status_code 200 ~status_reason OK content-type text/xml; charset=utf-8 ~server_protocol HTTP/1.1 cache-control private, max-age=0 content-length 18217

新增SAP到OA接口,OA怎么更新WSDL给PI,怎么选择PI的IP地址(备忘)

限于喜欢 提交于 2019-12-01 05:47:38
1、首先定义个class。 弄完以后可以使用http://IP地址:8088/seeyon/services/sapService?wsdl 进行导出,部署在哪个服务器就用哪个服务器的IP地址 private java.lang.String HTTPS_Port_address = "https:// "+AppContext.getSystemProperty("kk.sapIp")+" :50001/XISOAPAdapter/MessageServlet?senderParty=&senderService=BC_OA&receiverParty=&receiverService=&interface=SI_OA2SAP_ASSET_RETIREMENT_OUT&interfaceNamespace=http%3A%2F%2Fhuacan.com%2FOA%2FS4HANA%2FAsset_retirement"; 来源: https://www.cnblogs.com/BruceKing/p/11661237.html

How to search for available functions and tables on a SAP system

余生长醉 提交于 2019-12-01 05:36:55
I've got to admit that I'm not an expert on SAP R/3 programming, so this is more of a basic question on that matter. Is there any way to get a list of accessible RFC modules and/or tables on a SAP system? On many examples on the internet I've found one RFC modul that seems to be available on every SAP system ("SD_RFC_CUSTOMER_GET") and I wonder if there are any more of these standard RFC modules that I can use. I can easily query the SAP system for all SAP-Queries that are available but I just cannot find a way to do this with RFC modules or tables. I cannot even find a list of these RFC

Parsing an IDoc in XML format using SAP Java IDoc Class Library

℡╲_俬逩灬. 提交于 2019-12-01 04:40:38
In a system not connected with SAP I am receiving an IDoc in XML format (if of any importance a Customer Master - DEBMAS07). 1. Is it possible to read this XML document using the Java IDoc Class Library (sapidoc3.jar) WITHOUT a connection to the SAP system? 2. Is it possible to generate an IDoc in XML format using Java IDoc Class Library (sapidoc3.jar) WITHOUT a connection to the SAP system? I haven't found any clear examples on how to do this, how to work this this clases, and the examples I've found are using classes that require a connection to SAP. Without the respective IDoc meta data you